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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/support/ErrorEvent.js

Issue 2418853003: Worker: Import "imported/wpt/workers" tests (Retry) (Closed)
Patch Set: rebase Created 4 years, 2 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 onmessage = function(evt)
2 {
3 throw(new Error(evt.data));
4 }
5
6 onerror = function(message, location, line, col)
7 {
8 postMessage( {"message": message, "filename": location, "lineno": line, "col no": col} );
9 return false; // "not handled" so the error propagates up to the Worker obje ct
10 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698