Closed
Bug 877501
Opened 11 years ago
Closed 11 years ago
Generate pref check code for interfaces with NoInterfaceObject, NavigatorProperty, and Pref/PrefEnabled
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: reuben, Assigned: reuben)
Details
Attachments
(1 file, 1 obsolete file)
2.20 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Right now we only generate the pref check code for interfaces with interface objects. This patch works, but is heavily cargo culted - I don't know if interfaces with a navigator property can be external or "workers". Should I move it the code into its own branch just for NavigatorProperty?
Attachment #755716 -
Flags: review?(bzbarsky)
Comment 1•11 years ago
|
||
Comment on attachment 755716 [details] [diff] [review] Generate pref check code for interfaces with [NoInterfaceObject, NavigatorProperty] > I don't know if interfaces with a navigator property can be external or "workers" So far, no. External never, workers we;ll see. This seems fine in general, but the parens are all wrong: we want parens around the (a or b) bit, not around the (c and d) bit.
Attachment #755716 -
Flags: review?(bzbarsky) → review-
Assignee | ||
Comment 2•11 years ago
|
||
Assignee: nobody → reuben.bmo
Attachment #755716 -
Attachment is obsolete: true
Attachment #755979 -
Flags: review?(bzbarsky)
Comment 3•11 years ago
|
||
Comment on attachment 755979 [details] [diff] [review] Generate pref check code for interfaces with [NoInterfaceObject, NavigatorProperty], v1.1 r=me. Thank you!
Attachment #755979 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/71bcb8b2a2da
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/71bcb8b2a2da
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•