[Webkit-unassigned] [Bug 72010] Add new API for Vibration API spec.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 27 04:22:50 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=72010
--- Comment #31 from Kihong Kwon <kihong.kwon at samsung.com> 2012-01-27 04:22:49 PST ---
(From update of attachment 124267)
View in context: https://bugs.webkit.org/attachment.cgi?id=124267&action=review
>> LayoutTests/ChangeLog:10
>> + * platform/chromium/test_expectations.txt:
>
> You need to add similar test_expectations.txt for AppleWebKit, AppleWin, GTK, QT, etc.
OK. I will add for other ports.
>> LayoutTests/fast/dom/navigator-vibration.html:22
>> +shouldBe("exceptionCodeForVibrate", "0");
>
> If you want, you can just write
>
> shouldBe("navigator.webkitVibrate(1000); navigator.webkitVibrate([1000, 300, 500]);", "undefined");
Thank you very much for your comments.
>> LayoutTests/fast/dom/navigator-vibration.html:32
>> +shouldBe("exceptionCodeForCancel", "0");
>
> If you want, you can just write
>
> shouldBe("navigator.webkitVibrate(0); navigator.webkitVibrate([]);", "undefined");
Ditto.
>> LayoutTests/fast/dom/navigator-vibration.html:41
>> +shouldBe("exceptionCodeForVibrateWithInvalidIntParam", "DOMException.INVALID_ACCESS_ERR");
>
> You can just write
>
> shouldThrow('navigator.webkitVibrate("1000");');
Ditto.
>> LayoutTests/fast/dom/navigator-vibration.html:50
>> +shouldBe("exceptionCodeForVibrateWithInvalidArrayParam", "DOMException.INVALID_ACCESS_ERR");
>
> You can just write
>
> shouldThrow('navigator.webkitVibrate([1000, "200", 500]);');
Ditto.
>> Tools/Scripts/build-webkit:325
>> + define => "ENABLE_VIBRATION", default => 0, value => \$vibrationSupport },
>
> "default => 0" is OK? Maybe it should be "default => isEfl()".
I want to enable this feature in the efl patch after landing this.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list