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

Side by Side Diff: LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-crossorigin.js

Issue 19605005: Add 'self.onerror' to Worker tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: yay. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-redirect-to-crossorigin.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 self.onerror = function (message, filename, lineno, column) {
2 postMessage({ 'message': message, 'filename': filename, 'lineno': lineno, 'c olumn': column });
3 };
4
1 importScripts('http://localhost:8000/workers/resources/worker-importScripts-thro w.js'); 5 importScripts('http://localhost:8000/workers/resources/worker-importScripts-thro w.js');
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/workers/resources/worker-importscripts-onerror-redirect-to-crossorigin.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698