Closed
Bug 1104955
Opened 10 years ago
Closed 9 years ago
Implement IDL [Unscopable]
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: annevk, Assigned: bzbarsky)
References
()
Details
(Keywords: dev-doc-needed)
Attachments
(3 files, 3 obsolete files)
(deleted),
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
If we implement @@unscopables and [Unscopable] we can implement some new features in DOM and improve existing features.
Assignee | ||
Updated•9 years ago
|
Blocks: dom-requests
Assignee | ||
Updated•9 years ago
|
No longer blocks: dom-requests
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8734853 -
Flags: review?(khuey)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•9 years ago
|
||
Note that this does not take into account the exposed/enabled state of the
relevant properties. This should be OK, I hope. Taking that state into account
would be rather annoying, unfortunately. We could make codegen fail if
something is conditionally exposed and unscopable, if desired...
Also note that I'm using the ES6 spelling of "unscopable", which seems more
correct to me in terms the way "able" is usually added to words than the IDL
"unscopeable".
Attachment #8734855 -
Flags: review?(khuey)
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8734856 -
Flags: review?(khuey)
Assignee | ||
Comment 5•9 years ago
|
||
Spec is changing in terms spelling (note comment 3 for comparison), so going to update the relevant bits of these patches.
Summary: Implement IDL [Unscopeable] → Implement IDL [Unscopable]
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8735146 -
Flags: review?(khuey)
Assignee | ||
Updated•9 years ago
|
Attachment #8734853 -
Attachment is obsolete: true
Attachment #8734853 -
Flags: review?(khuey)
Assignee | ||
Comment 7•9 years ago
|
||
Note that this does not take into account the exposed/enabled state of the
relevant properties. This should be OK, I hope. Taking that state into account
would be rather annoying, unfortunately. We could make codegen fail if
something is conditionally exposed and unscopable, if desired...
Attachment #8735147 -
Flags: review?(khuey)
Assignee | ||
Updated•9 years ago
|
Attachment #8734855 -
Attachment is obsolete: true
Attachment #8734855 -
Flags: review?(khuey)
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8735156 -
Flags: review?(khuey)
Assignee | ||
Updated•9 years ago
|
Attachment #8734856 -
Attachment is obsolete: true
Attachment #8734856 -
Flags: review?(khuey)
Comment on attachment 8735146 [details] [diff] [review]
part 1. Add parsing for [Unscopeable] in IDL
Review of attachment 8735146 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/bindings/parser/WebIDL.py
@@ +4110,5 @@
> [attr.location, self.location])
> + elif identifier == "Unscopable":
> + if not attr.noArguments():
> + raise WebIDLError("[Unscopable] must take no arguments",
> + [attr.location])
nit: whitespace at EOL
@@ +4818,5 @@
> [attr.location, self.location])
> + elif identifier == "Unscopable":
> + if not attr.noArguments():
> + raise WebIDLError("[Unscopable] must take no arguments",
> + [attr.location])
and here
Attachment #8735146 -
Flags: review?(khuey) → review+
Attachment #8735147 -
Flags: review?(khuey) → review+
Attachment #8735156 -
Flags: review?(khuey) → review+
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/483533fede8d
https://hg.mozilla.org/mozilla-central/rev/75898c3d4bb2
https://hg.mozilla.org/mozilla-central/rev/2fde05270e25
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Comment 12•9 years ago
|
||
Added ddn so that we update our guide on what info is available in the webidl of an interface, and how to translate it in the docs.
Keywords: dev-doc-needed
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•