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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/local/serviceworker/fetch-request-body-file.html

Issue 1898703003: Remove testharness.js and friends in LayoutTests/http/tests/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 <script src="../../resources/testharness.js"></script> 2 <script src="../../../../resources/testharness.js"></script>
jsbell 2016/04/18 16:28:20 Same here
3 <script src="../../resources/testharnessreport.js"></script> 3 <script src="../../../../resources/testharnessreport.js"></script>
4 <script src="../../serviceworker/resources/test-helpers.js"></script> 4 <script src="../../serviceworker/resources/test-helpers.js"></script>
5 <script src="../../resources/get-host-info.js"></script> 5 <script src="../../resources/get-host-info.js"></script>
6 <body> 6 <body>
7 <script> 7 <script>
8 var ORIGIN = get_host_info()['HTTP_ORIGIN']; 8 var ORIGIN = get_host_info()['HTTP_ORIGIN'];
9 var IFRAME_BASE_URL = ORIGIN + '/local/serviceworker/resources/fetch-request-bod y-file-iframe.html'; 9 var IFRAME_BASE_URL = ORIGIN + '/local/serviceworker/resources/fetch-request-bod y-file-iframe.html';
10 var SCOPE = ORIGIN + '/local/serviceworker/resources/fetch-request-body-file-tes t'; 10 var SCOPE = ORIGIN + '/local/serviceworker/resources/fetch-request-body-file-tes t';
11 11
12 function register() { 12 function register() {
13 return new Promise(function(resolve, reject) { 13 return new Promise(function(resolve, reject) {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 register() 138 register()
139 .then(function() { return send_post_frame_promise('asText'); }) 139 .then(function() { return send_post_frame_promise('asText'); })
140 .then(as_text_test_frame_check) 140 .then(as_text_test_frame_check)
141 .then(function() { return send_post_frame_promise('asBlob'); }) 141 .then(function() { return send_post_frame_promise('asBlob'); })
142 .then(as_blob_test_frame_check) 142 .then(as_blob_test_frame_check)
143 .then(function() { return unregister_and_done(t); }) 143 .then(function() { return unregister_and_done(t); })
144 .catch(unreached_rejection(t)); 144 .catch(unreached_rejection(t));
145 }, 'Service Worker fetch request body with file.'); 145 }, 'Service Worker fetch request body with file.');
146 </script> 146 </script>
147 </body> 147 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698