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

Unified Diff: LayoutTests/fast/dom/navigator-vibration-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-vibration-expected.txt
diff --git a/LayoutTests/fast/dom/navigator-vibration-expected.txt b/LayoutTests/fast/dom/navigator-vibration-expected.txt
index 6d3a442b5274f162e2c28d53fd4e83c499296286..40406627a4ea011917f87d06fd0b84cc732bddf8 100644
--- a/LayoutTests/fast/dom/navigator-vibration-expected.txt
+++ b/LayoutTests/fast/dom/navigator-vibration-expected.txt
@@ -13,7 +13,7 @@ PASS navigator.vibrate(10001); is false
PASS navigator.vibrate(-1); is false
PASS var p = []; for (var i = 0; i < 99; i++) p[i] = 1; navigator.vibrate(p); is true
PASS var p = []; for (var i = 0; i < 100; i++) p[i] = 1; navigator.vibrate(p); is false
-PASS navigator.vibrate(); threw exception TypeError: Not enough arguments.
+PASS navigator.vibrate(); threw exception TypeError: Failed to execute 'vibrate' on 'Navigator': 1 argument required, but only 0 present..
PASS navigator.vibrate([1], [2]); threw exception TypeError: Type error.
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt ('k') | LayoutTests/fast/dom/nodelist-item-parameter.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698