Closed
Bug 1286548
Opened 8 years ago
Closed 8 years ago
Add an optional argument to isExposedConditionally method for SecureContext
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: shawnjohnjr, Assigned: edgar)
References
Details
Attachments
(1 file)
Add an optional argument to isExposedConditionally method for SecureContext. Follow-up Bug 1267941, the current WebIDL.py raises error, when [SecureContext] and [NoInterfaceObject] exists at the same time. [SecureContext] does two jobs: conditional exposure of the interface _and_ conditional exposure of the interface members. The former job makes no sense for [NoInterfaceObject] things, but the latter does. We should add an optional to |isExposedConditionally| to return false. if (self.isExposedConditionally()and not self.hasInterfaceObject() and not self.isNavigatorProperty()): raise WebIDLError("Interface with no interface object is " "exposed conditionally", [self.location])
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → echen
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/64486/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/64486/
Attachment #8771229 -
Flags: review?(bzbarsky)
Comment 2•8 years ago
|
||
Comment on attachment 8771229 [details] Bug 1286548 - SecureContext makes sense for interface with NoInterfaceObject, since it is also propagated to interface members; https://reviewboard.mozilla.org/r/64486/#review61442 r=me. Thank you!
Attachment #8771229 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 3•8 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=39d7834b0ee4&group_state=expanded&filter-tier=1
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4cefce05d01d SecureContext makes sense for interface with NoInterfaceObject, since it is also propagated to interface members; r=bz
Comment 5•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4cefce05d01d
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
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
•