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/vibration/vibration-exceptions.html

Issue 291563004: Overload resolution: ignore extra arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/vibration/vibration-exceptions.html
diff --git a/LayoutTests/vibration/vibration-exceptions.html b/LayoutTests/vibration/vibration-exceptions.html
index c955de1f576b59da08aed1f9b16d27b5af69e809..ee16c08ea9b7958fec472fb8b58f34fad2f61c15 100644
--- a/LayoutTests/vibration/vibration-exceptions.html
+++ b/LayoutTests/vibration/vibration-exceptions.html
@@ -7,9 +7,9 @@
<script>
description('Tests that bad input throws exceptions in the Vibration API.');
-shouldThrow("navigator.vibrate();");
-shouldThrow("navigator.vibrate(1, 2);");
-shouldThrow("navigator.vibrate([1], [2]);");
+shouldThrow("navigator.vibrate()");
+shouldBe("navigator.vibrate(1, 2)", "true");
+shouldBe("navigator.vibrate([1], [2])", "true");
</script>
</body>
« no previous file with comments | « LayoutTests/fast/js/select-options-remove-expected.txt ('k') | LayoutTests/vibration/vibration-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698