blob: 7cafa0f5ca5cb1ab3108256457e11a7b3a0ce07a [file] [log] [blame]
This test makes sure that navigator.isProtocolHandlerRegistered throws the proper exceptions and returns the default state of handler.
PASS window.navigator.isProtocolHandlerRegistered is defined.
PASS Invalid url "%S" threw SyntaxError exception.
PASS Invalid scheme "mailto:" failed.
PASS Invalid scheme "ssh:/" failed.
PASS Invalid scheme "magnet:+" failed.
PASS Invalid scheme "tel:sip" failed.
PASS window.navigator.isProtocolHandlerRegistered returns "registered" state