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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium.fetch-canvas-tainting.html

Issue 2805313003: Upstream service worker `fetch` tests to WPT (Closed)
Patch Set: Move files up a directory Created 3 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- This test is prefixed with `chromium.` because the equivalent version
3 available in Web Platform Tests is known to cause timeout errors in the
4 Chromium automated build system. They should be maintained only to preserve
5 test converage until the corresponding versions in Web Platform Tests can be
6 made to pass consistently. See
7 https://codereview.chromium.org/2805313003/ -->
2 <title>Service Worker: canvas tainting of the fetched image</title> 8 <title>Service Worker: canvas tainting of the fetched image</title>
3 <script src="../resources/testharness.js"></script> 9 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script> 10 <script src="../resources/testharnessreport.js"></script>
5 <script src="../resources/get-host-info.js?pipe=sub"></script> 11 <script src="../resources/get-host-info.js?pipe=sub"></script>
6 <script src="resources/test-helpers.js"></script> 12 <script src="resources/test-helpers.js"></script>
7 <body> 13 <body>
8 <script> 14 <script>
9 async_test(function(t) { 15 async_test(function(t) {
10 var SCOPE = 'resources/fetch-canvas-tainting-iframe.html'; 16 var SCOPE = 'resources/fetch-canvas-tainting-iframe.html';
11 var SCRIPT = 'resources/fetch-rewrite-worker.js'; 17 var SCRIPT = 'resources/fetch-rewrite-worker.js';
(...skipping 17 matching lines...) Expand all
29 }); 35 });
30 frame.contentWindow.postMessage({}, 36 frame.contentWindow.postMessage({},
31 host_info['HTTP_ORIGIN'], 37 host_info['HTTP_ORIGIN'],
32 [channel.port2]); 38 [channel.port2]);
33 }); 39 });
34 }) 40 })
35 .catch(unreached_rejection(t)); 41 .catch(unreached_rejection(t));
36 }, 'Verify canvas tainting of fetched image in a Service Worker'); 42 }, 'Verify canvas tainting of fetched image in a Service Worker');
37 </script> 43 </script>
38 </body> 44 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698