Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: LayoutTests/http/tests/serviceworker/fetch-event-client-attribute.html

Issue 1102363002: Add Client Attribute to FetchEvent- Blink Side. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/resources/fetch-event-client-attribute-test-worker.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script src="resources/test-helpers.js"></script>
5 <body>
6 <script>
7 var worker = 'resources/fetch-event-client-attribute-test-worker.js';
8
9 var scope = 'resources/simple.html';
10 promise_test(function(test) {
11 return service_worker_unregister_and_register(test, worker, scope)
12 .then(function(registration) {
13 return wait_for_state(test, registration.installing, 'activated');
14 })
15 .then(function() { return with_iframe(scope); })
16 .then(function(frame) {
17 assert_equals(frame.contentDocument.body.textContent, "top-level", "f rameType should be top-level");
falken 2015/05/08 22:20:25 ServiceWorker testing style is to single-quote Jav
Paritosh Kumar 2015/05/12 11:52:28 Thanks, Done in new cl.
18 frame.remove();
19 return service_worker_unregister_and_done(test, scope);
20 });
21 }, 'Service Worker responds to fetch event with client frameType');
22
23 </script>
24 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/resources/fetch-event-client-attribute-test-worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698