Closed
Bug 1257037
Opened 8 years ago
Closed 8 years ago
Eliminate worker descriptors
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: khuey, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
(Whiteboard: btpp-meta)
Attachments
(15 files)
2.33 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
8.67 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
5.85 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
2.73 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
5.43 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
1.05 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
2.78 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
10.18 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
20.87 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
8.95 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
20.60 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
4.64 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
18.22 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
11.28 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
2.58 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
I think we should just aim to remove these. For the handful of cases where we do have separate implementations we can introduce an abstract interface of some sort for the bindings to latch onto.
Updated•8 years ago
|
Whiteboard: btpp-meta
Reporter | ||
Comment 1•8 years ago
|
||
They're all gone now! Boris, do you want to remove the cruft in Codegen.py? (ni?me to ni?you later, sigh)
Flags: needinfo?(khuey)
Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(khuey) → needinfo?(bzbarsky)
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8768911 -
Flags: review?(khuey)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8768912 -
Flags: review?(khuey)
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8768913 -
Flags: review?(khuey)
Assignee | ||
Comment 5•8 years ago
|
||
Attachment #8768914 -
Flags: review?(khuey)
Assignee | ||
Comment 6•8 years ago
|
||
Attachment #8768915 -
Flags: review?(khuey)
Assignee | ||
Comment 7•8 years ago
|
||
Attachment #8768916 -
Flags: review?(khuey)
Assignee | ||
Comment 8•8 years ago
|
||
Attachment #8768917 -
Flags: review?(khuey)
Assignee | ||
Comment 9•8 years ago
|
||
Attachment #8768920 -
Flags: review?(khuey)
Assignee | ||
Comment 10•8 years ago
|
||
Attachment #8768921 -
Flags: review?(khuey)
Assignee | ||
Comment 11•8 years ago
|
||
Attachment #8768922 -
Flags: review?(khuey)
Assignee | ||
Comment 12•8 years ago
|
||
Attachment #8768923 -
Flags: review?(khuey)
Assignee | ||
Comment 13•8 years ago
|
||
Attachment #8768924 -
Flags: review?(khuey)
Assignee | ||
Comment 14•8 years ago
|
||
Attachment #8768925 -
Flags: review?(khuey)
Assignee | ||
Comment 15•8 years ago
|
||
Attachment #8768926 -
Flags: review?(khuey)
Assignee | ||
Comment 16•8 years ago
|
||
Attachment #8768927 -
Flags: review?(khuey)
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(bzbarsky)
Reporter | ||
Updated•8 years ago
|
Attachment #8768911 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768912 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768913 -
Flags: review?(khuey) → review+
Reporter | ||
Comment 17•8 years ago
|
||
Comment on attachment 8768914 [details] [diff] [review] part 4. Remove the worker-only XXX comments from CGWrapGlobalMethod, since we never have worker descriptors for globals anyway Review of attachment 8768914 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bindings/Codegen.py @@ -3805,5 @@ > - fireOnNewGlobal = """// XXXkhuey can't do this yet until workers can lazy resolve. > -// JS_FireOnNewGlobalObject(aCx, aReflector); > -""" > - else: > - fireOnNewGlobal = "" Hmm, I guess this moved somewhere else at some point.
Attachment #8768914 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768915 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768916 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768917 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768920 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768921 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768922 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768923 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768924 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768925 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768926 -
Flags: review?(khuey) → review+
Reporter | ||
Updated•8 years ago
|
Attachment #8768927 -
Flags: review?(khuey) → review+
Reporter | ||
Comment 18•8 years ago
|
||
r+++ would review again
Comment 19•8 years ago
|
||
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/f2e423fbd09c part 1. Remove the worker-descriptor-related complexity in getControllingCondition, since workerDesc.workers never tests true anymore. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/0383f585a64f part 2. Remove isMaybeExposedIn, since it always returns true now. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/1d6e808cafc5 part 3. Remove filteredSignatures, since it's a no-op unless we're dealing with a worker descriptor. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/5efc76268adf part 4. Remove the worker-only XXX comments from CGWrapGlobalMethod, since we never have worker descriptors for globals anyway. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/bd7880a96636 part 5. Remove remaining checks for worker descriptors from Codegen.py. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/64424f160c3a part 6. Simplify the toBindingNamespace function now that there are no worker bindings. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/2de33eb0bb32 part 7. Make the binding Configuration a non-workers DescriptorProvider. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/4c5ea0b7a3d1 part 8. Remove Configuration.getDescriptorProvider. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/4565bfc8b866 part 9. Get rid of the concept of mainthread callbacks or worker callbacks; just codegen all the callbacks. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/dfa4d5a42b52 part 10. Store only one descriptor per interface name in the configuration. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/7b7cf5270426 part 11. Get rid of getRelevantProviders, since all the places that use it have a Configuration. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/5014c7d22f2f part 12. Simplify CGRegisterWorkerBindings now that there are no more worker descriptors. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/762c289ada58 part 13. Get rid of the concept of worker vs non-worker descriptors. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/4082fdfd16fb part 14. Remove the now-unused skipGen bits from binding code. r=khuey https://hg.mozilla.org/integration/mozilla-inbound/rev/a92d0eec5c91 part 15. Get rid of the wantsXrays configuration annotation. Just set bindings to want Xrays if they're exposed in Window. r=khuey
Comment 20•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f2e423fbd09c https://hg.mozilla.org/mozilla-central/rev/0383f585a64f https://hg.mozilla.org/mozilla-central/rev/1d6e808cafc5 https://hg.mozilla.org/mozilla-central/rev/5efc76268adf https://hg.mozilla.org/mozilla-central/rev/bd7880a96636 https://hg.mozilla.org/mozilla-central/rev/64424f160c3a https://hg.mozilla.org/mozilla-central/rev/2de33eb0bb32 https://hg.mozilla.org/mozilla-central/rev/4c5ea0b7a3d1 https://hg.mozilla.org/mozilla-central/rev/4565bfc8b866 https://hg.mozilla.org/mozilla-central/rev/dfa4d5a42b52 https://hg.mozilla.org/mozilla-central/rev/7b7cf5270426 https://hg.mozilla.org/mozilla-central/rev/5014c7d22f2f https://hg.mozilla.org/mozilla-central/rev/762c289ada58 https://hg.mozilla.org/mozilla-central/rev/4082fdfd16fb https://hg.mozilla.org/mozilla-central/rev/a92d0eec5c91
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Assignee | ||
Comment 21•8 years ago
|
||
Updated MDN to remove the one mention of worker descriptors on the webidl bindings page (for Throws/GetterThrows/SetterThrows).
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
•