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

Side by Side Diff: LayoutTests/fast/workers/resources/worker-error-handler-workerglobalscope.js

Issue 607513002: Onerror return value handling in workers fixed as per HTML5 spec. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added new layout tests and rebaselined two of them. Created 6 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 self.onerror = function(e){
2 postMessage("workerGlobalScopeErrorHandlerInvoked");
3 postMessage("DONE");
4 // We have cancelled this error event, hence it should
5 // not be propagated to the worker.onerror error handler.
6 return true;
7 }
8
9 self.onmessage= function(e){
10 foo.bar = 0;
11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698