Closed
Bug 884935
Opened 12 years ago
Closed 11 years ago
Align navigator.vibrate with the spec
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla27
Tracking | Status | |
---|---|---|
relnote-firefox | --- | - |
People
(Reporter: bzbarsky, Assigned: drexler)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
6.30 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Per spec, we should return false when the list is too long or has too-large entries. We're throwing instead.
Comment 1•12 years ago
|
||
I think returning false is better than throwing, we should fix our implementation.
Justin, do you have cycles to take this?
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Comment 2•12 years ago
|
||
I'd hate to deprive someone of a valuable learning experience; do we have anyone new to take this? Otherwise sure, it's not a bug deal
Reporter | ||
Comment 3•12 years ago
|
||
Either way, please don't touch this code until I land bug 838146!
Depends on: 838146
Comment 4•12 years ago
|
||
(In reply to Justin Lebar [:jlebar] from comment #2)
> I'd hate to deprive someone of a valuable learning experience; do we have
> anyone new to take this? Otherwise sure, it's not a bug deal
CC'ing jdm
Comment 5•12 years ago
|
||
Maria, this one is a simple change that could interest you.
Updated•12 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Comment 6•11 years ago
|
||
Assignee: nobody → andrew.quartey
Attachment #809531 -
Flags: review?(justin.lebar+bug)
Comment 7•11 years ago
|
||
I'm not sure if Justin is still available for reviews...
Updated•11 years ago
|
Attachment #809531 -
Flags: review?(justin.lebar+bug) → review?(bugs)
Comment 8•11 years ago
|
||
Comment on attachment 809531 [details] [diff] [review]
Impl
https://tbpl.mozilla.org/?tree=Try&rev=7b2ca3c3e626
Attachment #809531 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Updated•11 years ago
|
relnote-firefox:
--- → ?
Comment 11•11 years ago
|
||
teoli,
Seems to impact firefox OS only ? Unclear why would release note it on desktop/android .
Comment 12•11 years ago
|
||
:bajaj, it impacts Firefox for Android too (but not Desktop as it has no vibrating device). Can anyone else comfirm/infirm? Andrew?
Flags: needinfo?(andrew.quartey)
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #12)
> :bajaj, it impacts Firefox for Android too (but not Desktop as it has no
> vibrating device). Can anyone else comfirm/infirm? Andrew?
Unless, i'm mistaken this should be for firefox OS and Android only, right Boris?
Flags: needinfo?(andrew.quartey)
Comment 15•11 years ago
|
||
We do expose vibrate() on desktop too and this affects the behavior there.
Flags: needinfo?(bzbarsky)
Reporter | ||
Comment 16•11 years ago
|
||
Indeed. There is no vibration on desktop, but the API is present, and the behavior is detectable by the web page: it gets an exception from a call that should not, per spec, throw one. Which is obviously less than ideal.
Comment 17•10 years ago
|
||
Doc updated: https://developer.mozilla.org/en-US/Firefox/Releases/27
and
https://developer.mozilla.org/en-US/docs/Web/API/Navigator.vibrate
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•