Closed
Bug 851542
Opened 12 years ago
Closed 12 years ago
WebIDL-ify Gamepad API
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: ted, Assigned: Ms2ger)
References
Details
Attachments
(1 file, 4 obsolete files)
19.53 KB,
patch
|
Details | Diff | Splinter Review |
Ms2ger started on this, but we decided to punt on it for initial landing.
Reporter | ||
Updated•12 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Assignee | ||
Comment 1•12 years ago
|
||
This still needs a parent object, but that seemed to be fairly easy from what I heard from Ted.
Assignee | ||
Comment 2•12 years ago
|
||
We still need to have the interface around until we move the events to webidl-only; not sure how much work that still needs from smaug.
Reporter | ||
Comment 3•12 years ago
|
||
I had to tweak a few things to make this work, but this runs and passes tests now. Notably we need the patch from bug 855700 so that the nsIVariant members can actually get exposed to content.
This also hooks up cycle collection of the nsGlobalWindow's mGamepads, since each gamepad now holds a ref back to its parent window. This depends on the patch in bug 855804.
Reporter | ||
Comment 4•12 years ago
|
||
Folded in part b. This works, so I think it's good enough.
Attachment #731145 -
Flags: review?(bugs)
Reporter | ||
Updated•12 years ago
|
Attachment #731121 -
Attachment is obsolete: true
Reporter | ||
Updated•12 years ago
|
Attachment #728933 -
Attachment is obsolete: true
Reporter | ||
Updated•12 years ago
|
Attachment #728935 -
Attachment is obsolete: true
Reporter | ||
Comment 5•12 years ago
|
||
I think this is "good enough" without bug 850159. The implementation isn't any worse than it already is. Once we get support for WebIDL arrays we can get rid of the variant goop.
No longer depends on: 850159
Updated•12 years ago
|
Attachment #731145 -
Flags: review?(bugs) → review+
Reporter | ||
Comment 6•12 years ago
|
||
Reporter | ||
Comment 7•12 years ago
|
||
...and backed out because it broke B2G where gamepad is disabled:
https://hg.mozilla.org/integration/mozilla-inbound/rev/90ae6736f95e
Reporter | ||
Comment 8•12 years ago
|
||
I neglected to ifdef the webidl, which is what caused the bustage that caused the backout. Here's a fixed patch that I'll reland when the tree is open.
Reporter | ||
Updated•12 years ago
|
Attachment #731145 -
Attachment is obsolete: true
Reporter | ||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•