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

Side by Side Diff: LayoutTests/http/tests/serviceworker/resources/fetch-access-control-iframe.html

Issue 399543002: [ServiceWorker] Make fetch() method better conformance with the spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated falken's comment Created 6 years, 5 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
(Empty)
1 <script>
2 function onMessage(event) {
3 var script = document.createElement('script');
4 script.src = event.data.url;
5 script.addEventListener(
6 'error',
7 function() { report({jsonpResult:'error'}); });
8 document.body.appendChild(script);
9 }
10 function report(data) {
11 window.parent.postMessage(
12 data,
13 'http://127.0.0.1:8000');
14 }
15 function onload() {
16 window.addEventListener('message', onMessage, false);
17 }
18 window.addEventListener('load', onload);
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698