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

Side by Side Diff: LayoutTests/fast/dom/Document/invalid-domain-change-throws-exception-expected.txt

Issue 23321002: Convert 'document.domain' exceptions to 'es.throwSecurityError()'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Document/script-tests/invalid-domain-change-throws-exception.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 This test checks that a SECURITY_ERR exception is raised if an attempt is made t o change document.domain to an invalid value. 1 This test checks that a SECURITY_ERR exception is raised if an attempt is made t o change document.domain to an invalid value.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS document.domain = "apple.com" threw exception SecurityError: 'document.doma in' assignment failed: 'apple.com' is not a suffix of ''.. 6 PASS document.domain = "apple.com" threw exception SecurityError: Failed to set the 'domain' property on 'Document': 'apple.com' is not a suffix of ''..
7 PASS successfullyParsed is true 7 PASS successfullyParsed is true
8 8
9 TEST COMPLETE 9 TEST COMPLETE
10 10
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Document/script-tests/invalid-domain-change-throws-exception.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698