Closed Bug 868637 Opened 7 years ago Closed 6 years ago

Simplify DOM bindings JSON parsing

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(1 file)

This is more complicated that it needs to be, and relies on the default global.
At this point we could really just hoist the JSAPI call, but it's just
cumbersome enough with all the casts that I don't really want to stick
it in the codegen.
Attachment #745413 - Flags: review?(bzbarsky)
Comment on attachment 745413 [details] [diff] [review]
Simplify DOM Bindings JSON parsing. v2

This is declaring the Init() method unconditionally but only defining it if not workers.  I'm a little surprised that links.

r=me with that problem fixed.
Attachment #745413 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/e2c5a5d03c49
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.