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

Side by Side Diff: LayoutTests/fast/dom/Window/invalid-protocol-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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
1 Test URL protocol setter. 1 Test URL protocol setter.
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 location.protocol = '' threw exception Error: SyntaxError: DOM Exception 12 . 6 PASS location.protocol = '' threw exception SyntaxError: An invalid or illegal s tring was specified..
7 PASS location.protocol = ':' threw exception Error: SyntaxError: DOM Exception 1 2. 7 PASS location.protocol = ':' threw exception SyntaxError: An invalid or illegal string was specified..
8 PASS location.protocol = 'é' threw exception Error: SyntaxError: DOM Exception 1 2. 8 PASS location.protocol = 'é' threw exception SyntaxError: An invalid or illegal string was specified..
9 PASS location.protocol = '[' threw exception Error: SyntaxError: DOM Exception 1 2. 9 PASS location.protocol = '[' threw exception SyntaxError: An invalid or illegal string was specified..
10 PASS location.protocol = '0' threw exception Error: SyntaxError: DOM Exception 1 2. 10 PASS location.protocol = '0' threw exception SyntaxError: An invalid or illegal string was specified..
11 PASS a.protocol is 'http:' 11 PASS a.protocol is 'http:'
12 PASS a.href is 'https://www.apple.com/' 12 PASS a.href is 'https://www.apple.com/'
13 PASS a.href is 'http://www.apple.com/' 13 PASS a.href is 'http://www.apple.com/'
14 PASS a.href is 'https://www.apple.com/' 14 PASS a.href is 'https://www.apple.com/'
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698