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

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

Issue 14531004: Add bitcoin: URI scheme to whitelist for registerProtocolHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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.registerProtocolHandler throws the proper ex ceptions and has no-op default implementation. 1 This test makes sure that navigator.registerProtocolHandler throws the proper ex ceptions and has no-op default implementation.
2 2
3 Pass: window.navigator.registerProtocolHandler is defined. 3 Pass: window.navigator.registerProtocolHandler is defined.
4 Pass: Invalid protocol "http" threw SecurityError exception. 4 Pass: Invalid protocol "http" threw SecurityError exception.
5 Pass: Invalid protocol "https" threw SecurityError exception. 5 Pass: Invalid protocol "https" threw SecurityError exception.
6 Pass: Invalid protocol "file" threw SecurityError exception. 6 Pass: Invalid protocol "file" threw SecurityError exception.
7 Pass: Valid protocol "bitcoin" allowed.
7 Pass: Valid protocol "irc" allowed. 8 Pass: Valid protocol "irc" allowed.
8 Pass: Valid protocol "mailto" allowed. 9 Pass: Valid protocol "mailto" allowed.
9 Pass: Valid protocol "mms" allowed. 10 Pass: Valid protocol "mms" allowed.
10 Pass: Valid protocol "news" allowed. 11 Pass: Valid protocol "news" allowed.
11 Pass: Valid protocol "nntp" allowed. 12 Pass: Valid protocol "nntp" allowed.
12 Pass: Valid protocol "sms" allowed. 13 Pass: Valid protocol "sms" allowed.
13 Pass: Valid protocol "smsto" allowed. 14 Pass: Valid protocol "smsto" allowed.
14 Pass: Valid protocol "tel" allowed. 15 Pass: Valid protocol "tel" allowed.
15 Pass: Valid protocol "urn" allowed. 16 Pass: Valid protocol "urn" allowed.
16 Pass: Valid protocol "webcal" allowed. 17 Pass: Valid protocol "webcal" allowed.
17 Pass: Invalid url "" threw SyntaxError exception. 18 Pass: Invalid url "" threw SyntaxError exception.
18 Pass: Invalid url "%S" threw SyntaxError exception. 19 Pass: Invalid url "%S" threw SyntaxError exception.
19 Pass: Valid call succeeded. 20 Pass: Valid call succeeded.
20 21
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/register-protocol-handler.html ('k') | LayoutTests/fast/dom/unregister-protocol-handler.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698