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

Side by Side Diff: LayoutTests/navigatorcontentutils/is-protocol-handler-registered-expected.txt

Issue 335783003: Move navigatorcontentutils directory to top of LayoutTests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix wrong include path in tests Created 6 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
OLDNEW
1 This test makes sure that navigator.isProtocolHandlerRegistered throws the prope r exceptions and returns the default state of handler. 1 This test makes sure that navigator.isProtocolHandlerRegistered throws the prope r exceptions and returns the default state of handler.
2 2
3 PASS window.navigator.isProtocolHandlerRegistered is defined. 3 PASS window.navigator.isProtocolHandlerRegistered is defined.
4 PASS Invalid url "%S" threw SyntaxError exception. 4 PASS Invalid url "%S" threw SyntaxError exception.
5 PASS Invalid scheme "mailto:" falied. 5 PASS Invalid scheme "mailto:" falied.
6 PASS Invalid scheme "ssh:/" falied. 6 PASS Invalid scheme "ssh:/" falied.
7 PASS Invalid scheme "magnet:+" falied. 7 PASS Invalid scheme "magnet:+" falied.
8 PASS Invalid scheme "tel:sip" falied. 8 PASS Invalid scheme "tel:sip" falied.
9 9
10 Check if isProtocolHandlerRegistered() works correctly. If isProtocolHandlerRegi stered() returns 'new' state, it works well. 10 Check if isProtocolHandlerRegistered() works correctly. If isProtocolHandlerRegi stered() returns 'new' state, it works well.
11 'bitcoin' protocol will be registered, and then checks if the 'bitcoin' protocol is registered by isProtocolHandlerRegistered(). 11 'bitcoin' protocol will be registered, and then checks if the 'bitcoin' protocol is registered by isProtocolHandlerRegistered().
12 12
13 PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. is ProtocolHandlerRegistered() works correctly. 13 PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. is ProtocolHandlerRegistered() works correctly.
14 14
15 15
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698