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 ee41a35c7b6a98cdbd6f1b3641c75ad637748eb8..6d3a442b5274f162e2c28d53fd4e83c499296286 100644 |
--- a/LayoutTests/fast/dom/navigator-vibration-expected.txt |
+++ b/LayoutTests/fast/dom/navigator-vibration-expected.txt |
@@ -3,12 +3,18 @@ Test for the Vibration API. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-FAIL navigator.vibrate(0); should be undefined. Threw exception TypeError: Object #<Navigator> has no method 'vibrate' |
-FAIL navigator.vibrate([]); should be undefined. Threw exception TypeError: Object #<Navigator> has no method 'vibrate' |
-FAIL navigator.vibrate(1000); should be undefined. Threw exception TypeError: Object #<Navigator> has no method 'vibrate' |
-FAIL navigator.vibrate([1000, 300, 500]); should be undefined. Threw exception TypeError: Object #<Navigator> has no method 'vibrate' |
-FAIL navigator.vibrate(4294967295); should be undefined. Threw exception TypeError: Object #<Navigator> has no method 'vibrate' |
-PASS navigator.vibrate(); threw exception TypeError: Object #<Navigator> has no method 'vibrate'. |
+PASS navigator.vibrate(0); is true |
+PASS navigator.vibrate([]); is true |
+PASS navigator.vibrate(1); is true |
+PASS navigator.vibrate([1, 2]); is true |
+PASS navigator.vibrate([1, 2, 3]); is true |
+PASS navigator.vibrate(10000); is true |
+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([1], [2]); threw exception TypeError: Type error. |
PASS successfullyParsed is true |
TEST COMPLETE |