Expected : 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(); threw exception TypeError: Not enough arguments. PASS navigator.vibrate([1], [2]); threw exception TypeError: Type error. PASS successfullyParsed is true Actual : 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(); threw exception TypeError: Not enough arguments. FAIL navigator.vibrate([1], [2]); should threw exception: Was true. PASS successfullyParsed is true navigator.vibrate([1], [2]); should threw typeError exception. But it didn't threw the exception after r186265.
The new behavior is correct. We need to update the test and expected result.
Created attachment 256455 [details] Update layout test
Comment on attachment 256455 [details] Update layout test Clearing flags on attachment: 256455 Committed r186582: <http://trac.webkit.org/changeset/186582>
All reviewed patches have been landed. Closing bug.