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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/fetch-request-with-gc-iframe.html

Issue 2025143003: [Fetch API] Request's JS wrapper should be kept alive in FetchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
(Empty)
1 <!doctype html>
2 <script src="../../resources/test-helpers.js"></script>
3 <script>
4 window.addEventListener('message', event => {
5 const port = event.ports[0];
6 const url = base_path();
7 fetch(url, {method: 'POST', body: 'hello'})
8 .then(() => port.postMessage({results: 'finish'}))
9 .catch(e => port.postMessage({results: 'failure:' + e}));
10 });
11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698