Closed
Bug 919705
Opened 11 years ago
Closed 11 years ago
JSImplemented WebIDL interface methods should not be subject to needThisHandling checks
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: qdot, Assigned: bzbarsky)
Details
Attachments
(1 file)
1.27 KB,
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
Methods on JSImplemented WebIDL interfaces will sometimes cause IDL compilation errors due to triggering the needThisHandling property usually reserved for callbacks.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #808785 -
Flags: review?(continuation)
Assignee | ||
Updated•11 years ago
|
Whiteboard: [need review]
Comment 2•11 years ago
|
||
Comment on attachment 808785 [details] [diff] [review] Don't ever claim that jsImplemented things are single-operation interfaces. Review of attachment 808785 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bindings/parser/WebIDL.py @@ +812,5 @@ > def isCallback(self): > return self._callback > > def isSingleOperationInterface(self): > assert self.isCallback() or self.isJSImplemented() Ah, so I guess JS implemented stuff calls this (because it is callback-y), but shouldn't ever return true. Makes sense.
Attachment #808785 -
Flags: review?(continuation) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/45cdb4bf98ec
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla27
https://hg.mozilla.org/mozilla-central/rev/45cdb4bf98ec
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
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
•