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

Unified Diff: LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt
diff --git a/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt b/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt
index aeff6999b8aba5abff4be85c54b593a3107c4c6c..be64bc2cbc618dbad6196bb130e8ea9b2387f81c 100644
--- a/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt
+++ b/LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt
@@ -14,14 +14,14 @@ navigator.platform is OK
navigator.plugins is OK
navigator.product is OK
navigator.productSub is OK
-navigator.registerController() threw err TypeError: Not enough arguments
-navigator.registerProtocolHandler() threw err TypeError: Not enough arguments
+navigator.registerController() threw err TypeError: Failed to execute 'registerController' on 'Navigator': 2 arguments required, but only 0 present.
+navigator.registerProtocolHandler() threw err TypeError: Failed to execute 'registerProtocolHandler' on 'Navigator': 3 arguments required, but only 0 present.
navigator.requestMIDIAccess() is OK
-navigator.unregisterController() threw err TypeError: Not enough arguments
+navigator.unregisterController() threw err TypeError: Failed to execute 'unregisterController' on 'Navigator': 1 argument required, but only 0 present.
navigator.userAgent is OK
navigator.vendor is OK
navigator.vendorSub is OK
-navigator.vibrate() threw err TypeError: Not enough arguments
+navigator.vibrate() threw err TypeError: Failed to execute 'vibrate' on 'Navigator': 1 argument required, but only 0 present.
navigator.webkitGetGamepads() is OK
navigator.webkitPersistentStorage is OK
navigator.webkitTemporaryStorage is OK
@@ -39,14 +39,14 @@ navigator.platform is OK
navigator.plugins is OK
navigator.product is OK
navigator.productSub is OK
-navigator.registerController() threw err TypeError: Not enough arguments
-navigator.registerProtocolHandler() threw err TypeError: Not enough arguments
+navigator.registerController() threw err TypeError: Failed to execute 'registerController' on 'Navigator': 2 arguments required, but only 0 present.
+navigator.registerProtocolHandler() threw err TypeError: Failed to execute 'registerProtocolHandler' on 'Navigator': 3 arguments required, but only 0 present.
navigator.requestMIDIAccess() is OK
-navigator.unregisterController() threw err TypeError: Not enough arguments
+navigator.unregisterController() threw err TypeError: Failed to execute 'unregisterController' on 'Navigator': 1 argument required, but only 0 present.
navigator.userAgent is OK
navigator.vendor is OK
navigator.vendorSub is OK
-navigator.vibrate() threw err TypeError: Not enough arguments
+navigator.vibrate() threw err TypeError: Failed to execute 'vibrate' on 'Navigator': 1 argument required, but only 0 present.
navigator.webkitGetGamepads() is OK
navigator.webkitPersistentStorage is OK
navigator.webkitTemporaryStorage is OK
« no previous file with comments | « LayoutTests/fast/dom/implementation-api-args-expected.txt ('k') | LayoutTests/fast/dom/navigator-vibration-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698