Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / navigatorcontentutils / is-protocol-handler-registered-expected.txt
1 This test makes sure that navigator.isProtocolHandlerRegistered throws the proper exceptions and returns the default state of handler.
2
3 PASS window.navigator.isProtocolHandlerRegistered is defined.
4 PASS Invalid url "%S" threw SyntaxError exception.
5 PASS Invalid scheme "mailto:" falied.
6 PASS Invalid scheme "ssh:/" falied.
7 PASS Invalid scheme "magnet:+" falied.
8 PASS Invalid scheme "tel:sip" falied.
9
10 Check if isProtocolHandlerRegistered() works correctly. If isProtocolHandlerRegistered() returns 'new' state, it works well.
11 'bitcoin' scheme will be registered, and then checks if the 'bitcoin' scheme is registered by isProtocolHandlerRegistered().
12
13 PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. isProtocolHandlerRegistered() works correctly.
14
15
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19