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

Side by Side Diff: LayoutTests/http/tests/serviceworker/chromium/load-flushed-script.html

Issue 650193003: [ServiceWorker] Add test for the hanging bug in loading ServiceWorker script. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: change timeout to 10000 Created 6 years, 2 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/chromium/resources/load-flushed-script.php » ('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 <title>Service Worker: Load flushed script</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script src="../resources/test-helpers.js"></script>
6 <script>
7 async_test(function(t) {
8 var scope = 'resources/load-flushed-script.html';
9 service_worker_unregister_and_register(
10 t, 'resources/load-flushed-script.php', scope)
11 .then(function(registration) {
12 return wait_for_update(t, registration);
13 })
14 .then(function(sw) {
15 service_worker_unregister_and_done(t, scope);
16 })
17 .catch(unreached_rejection(t));
18 },
19 'Don\'t hang while registering a flushed Service Worker script.',
20 {timeout: 10000});
21 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/chromium/resources/load-flushed-script.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698