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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/workers/resources/worker-xhr-onerror.js

Issue 2665733002: [wrapper-tracing] For a worker, mark relative to its wrapper map. (Closed)
Patch Set: Address comments Created 3 years, 10 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 (function () {
2 var xhr = new XMLHttpRequest();
3 xhr.open('GET', 'does-not-exist.js');
4 xhr.onerror = () => { postMessage('done'); };
5 xhr.send();
6 })();
7 // |xhr| isn't in scope, but it will signal pending activity
8 // when the GC runs, hence will be kept alive and allowed to
9 // run to completion.
10 self.gc();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698