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

Side by Side Diff: LayoutTests/http/tests/fetch/window/response-content.html

Issue 1211623005: Unify multiple sequential_promise_test definitions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update fetch templates and remove new duplicate of this method Created 5 years, 6 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <head> 2 <head>
3 <script src = "/resources/testharness.js"></script> 3 <script src = "/resources/testharness.js"></script>
4 <script src = "/resources/testharness-helpers.js"></script>
4 <script src = "/resources/testharnessreport.js"></script> 5 <script src = "/resources/testharnessreport.js"></script>
5 <script src = "/serviceworker/resources/test-helpers.js"></script> 6 <script src = "/serviceworker/resources/test-helpers.js"></script>
6 <script src = "../resources/fetch-test-options.js"></script> 7 <script src = "../resources/fetch-test-options.js"></script>
7 <script src = "../resources/fetch-test-helpers.js"></script> 8 <script src = "../resources/fetch-test-helpers.js"></script>
8 </head> 9 </head>
9 <body> 10 <body>
10 <script> 11 <script>
11 function start(t) { 12 function start(t) {
12 var script = document.createElement('script'); 13 var script = document.createElement('script');
13 script.src = '../script-tests/response-content.js?'; 14 script.src = '../script-tests/response-content.js?';
14 script.addEventListener( 15 script.addEventListener(
15 'error', 16 'error',
16 function() { unreached_rejection(t); }); 17 function() { unreached_rejection(t); });
17 script.addEventListener( 18 script.addEventListener(
18 'load', 19 'load',
19 function() { t.done(); }); 20 function() { t.done(); });
20 document.body.appendChild(script); 21 document.body.appendChild(script);
21 } 22 }
22 function init() { 23 function init() {
23 return Promise.resolve(); 24 return Promise.resolve();
24 } 25 }
25 </script> 26 </script>
26 <script src = "../resources/init.js"></script> 27 <script src = "../resources/init.js"></script>
27 </body> 28 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698