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

Side by Side Diff: LayoutTests/fast/dom/navigatorcontentutils/unregister-protocol-handler-expected.txt

Issue 144313006: Move test cases of the navigator content utils to own directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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.unregisterProtocolHandler throws the proper exceptions and has no-op default implementation. 1 This test makes sure that navigator.unregisterProtocolHandler throws the proper exceptions and has no-op default implementation.
2 2
3 Pass: window.navigator.unregisterProtocolHandler is defined. 3 Pass: window.navigator.unregisterProtocolHandler is defined.
4 Pass: Invalid protocol "http" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'http' doesn't belong to the protocol whitelist. Please prefix non-whitelisted schemes with the string 'w eb+'.". 4 Pass: Invalid protocol "http" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'http' doesn't belong to the protocol whitelist. Please prefix non-whitelisted schemes with the string 'w eb+'.".
5 Pass: Invalid protocol "https" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'https' doesn't belong t o the protocol whitelist. Please prefix non-whitelisted schemes with the string 'web+'.". 5 Pass: Invalid protocol "https" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'https' doesn't belong t o the protocol whitelist. Please prefix non-whitelisted schemes with the string 'web+'.".
6 Pass: Invalid protocol "file" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'file' doesn't belong to the protocol whitelist. Please prefix non-whitelisted schemes with the string 'w eb+'.". 6 Pass: Invalid protocol "file" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'file' doesn't belong to the protocol whitelist. Please prefix non-whitelisted schemes with the string 'w eb+'.".
7 Pass: Invalid protocol "web+" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'web+' is less than five characters long.". 7 Pass: Invalid protocol "web+" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'web+' is less than five characters long.".
8 Pass: Valid protocol "bitcoin" allowed. 8 Pass: Valid protocol "bitcoin" allowed.
9 Pass: Valid protocol "geo" allowed. 9 Pass: Valid protocol "geo" allowed.
10 Pass: Valid protocol "im" allowed. 10 Pass: Valid protocol "im" allowed.
(...skipping 10 matching lines...) Expand all
21 Pass: Valid protocol "ssh" allowed. 21 Pass: Valid protocol "ssh" allowed.
22 Pass: Valid protocol "tel" allowed. 22 Pass: Valid protocol "tel" allowed.
23 Pass: Valid protocol "urn" allowed. 23 Pass: Valid protocol "urn" allowed.
24 Pass: Valid protocol "webcal" allowed. 24 Pass: Valid protocol "webcal" allowed.
25 Pass: Valid protocol "wtai" allowed. 25 Pass: Valid protocol "wtai" allowed.
26 Pass: Valid protocol "xmpp" allowed. 26 Pass: Valid protocol "xmpp" allowed.
27 Pass: Invalid url "" threw SyntaxError exception.Failed to execute 'unregisterPr otocolHandler' on 'Navigator': The url provided ('') does not contain '%s'.". 27 Pass: Invalid url "" threw SyntaxError exception.Failed to execute 'unregisterPr otocolHandler' on 'Navigator': The url provided ('') does not contain '%s'.".
28 Pass: Invalid url "%S" threw SyntaxError exception.Failed to execute 'unregister ProtocolHandler' on 'Navigator': The url provided ('%S') does not contain '%s'." . 28 Pass: Invalid url "%S" threw SyntaxError exception.Failed to execute 'unregister ProtocolHandler' on 'Navigator': The url provided ('%S') does not contain '%s'." .
29 Pass: Valid call succeeded. 29 Pass: Valid call succeeded.
30 30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698