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

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

Issue 335783003: Move navigatorcontentutils directory to top of LayoutTests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix wrong include path in tests Created 6 years, 6 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
« no previous file with comments | « LayoutTests/navigatorcontentutils/unregister-protocol-handler.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 t he protocol whitelist. Please prefix non-whitelisted schemes with the string 'we b+'.". 4 PASS Invalid protocol "http" threw SecurityError exception: "Failed to execute ' unregisterProtocolHandler' on 'Navigator': The scheme 'http' doesn't belong to t he protocol whitelist. Please prefix non-whitelisted schemes with the string 'we b+'.".
5 PASS Invalid protocol "https" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'https' doesn't belong to 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 to 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 t he protocol whitelist. Please prefix non-whitelisted schemes with the string 'we b+'.". 6 PASS Invalid protocol "file" threw SecurityError exception: "Failed to execute ' unregisterProtocolHandler' on 'Navigator': The scheme 'file' doesn't belong to t he protocol whitelist. Please prefix non-whitelisted schemes with the string 'we b+'.".
7 PASS Invalid protocol "web+" threw SecurityError exception: "Failed to execute ' unregisterProtocolHandler' on 'Navigator': The scheme 'web+' is less than five c haracters long.". 7 PASS Invalid protocol "web+" threw SecurityError exception: "Failed to execute ' unregisterProtocolHandler' on 'Navigator': The scheme 'web+' is less than five c haracters long.".
8 PASS Valid protocol "bitcoin" allowed. 8 PASS Valid protocol "bitcoin" allowed.
9 PASS Valid protocol "BitcoIn" allowed. 9 PASS Valid protocol "BitcoIn" allowed.
10 PASS Valid protocol "geo" allowed. 10 PASS Valid protocol "geo" allowed.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 'bitcoin' protocol will be registered and unregistered for testing. 42 'bitcoin' protocol will be registered and unregistered for testing.
43 43
44 PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. 'b itcoin' is registered successfully. 44 PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. 'b itcoin' is registered successfully.
45 PASS window.navigator.isProtocolHandlerRegistered returns 'new' state. 'bitcoin' is unregistered successfully. 45 PASS window.navigator.isProtocolHandlerRegistered returns 'new' state. 'bitcoin' is unregistered successfully.
46 46
47 47
48 PASS successfullyParsed is true 48 PASS successfullyParsed is true
49 49
50 TEST COMPLETE 50 TEST COMPLETE
51 51
OLDNEW
« no previous file with comments | « LayoutTests/navigatorcontentutils/unregister-protocol-handler.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698