Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / navigatorcontentutils / is-protocol-handler-registered-expected.txt
blob73832f87a7be8d120b4440027c38dc89d15107b2
1 This test makes sure that navigator.isProtocolHandlerRegistered throws the proper exceptions and returns the default state of handler.
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 PASS URL with origin different than document origin threw SecurityError exception: "Failed to execute 'isProtocolHandlerRegistered' on 'Navigator': Can only register custom handler in the document's origin.".
11 Check if isProtocolHandlerRegistered() works correctly. If isProtocolHandlerRegistered() returns 'new' state, it works well.
12 'bitcoin' scheme will be registered, and then checks if the 'bitcoin' scheme is registered by isProtocolHandlerRegistered().
14 PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. isProtocolHandlerRegistered() works correctly.
17 PASS successfullyParsed is true
19 TEST COMPLETE