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

Side by Side Diff: LayoutTests/http/tests/security/script-onerror-crossorigin-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 unsanitized information about an except ion thrown in a script loaded with a 'crossorigin' attribute, and delivered with valid CORS headers.
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5
6
7 PASS /SomeError/.test(msg) is true
8 PASS url is "http://localhost:8000/security/resources/cors-script.php?fail=true& cors=true"
9 PASS line is 1
10 PASS column is 0
11 PASS window.errorObject is not null
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698