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

Side by Side Diff: LayoutTests/http/tests/security/script-onerror-no-crossorigin-no-cors-expected.txt

Issue 19596004: Allow sites to enable 'window.onerror' handlers for cross-domain scripts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 4 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
OLDNEW
(Empty)
1 CONSOLE MESSAGE: line 1: Uncaught SomeError
2 The test passes if 'window.onerror' gets sanitized information about an exceptio n thrown in a script loaded without a 'crossorigin' attribute, and delivered wit hout valid CORS headers.
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5
6
7 PASS msg is "Script error."
8 PASS url is ""
9 PASS line is 0
10 PASS column is 0
11 PASS window.errorObject is null
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/security/script-onerror-no-crossorigin-no-cors.html ('k') | Source/bindings/v8/ScriptController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698