Closed
Bug 1750442
Opened 2 years ago
Closed 2 years ago
Merge generated concatenated string tables for DOM bindings
Categories
(Core :: DOM: Bindings (WebIDL), enhancement)
Core
DOM: Bindings (WebIDL)
Tracking
()
RESOLVED
FIXED
99 Branch
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: peterv, Assigned: peterv)
Details
Attachments
(2 files)
Bug 1750442 - Merge the string table for WebIDL prototypes and the WebIDL global name hash. r?farre!
48 bytes,
text/x-phabricator-request
|
Details | Review | |
435.39 KB,
patch
|
Details | Diff | Splinter Review |
We currently generate two giant strings (table
in NamesOfInterfacesWithProtos(…)
, and WebIDLGlobalNameHash::sNames
). There's a lot of overlap in these tables, we should just merge them, to reduce binary size.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Comment 3•2 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:peterv, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(peterv)
Flags: needinfo?(afarre)
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(peterv)
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(afarre)
Pushed by pvanderbeken@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/04a4f1c3255d Merge the string table for WebIDL prototypes and the WebIDL global name hash. r=farre
Comment 5•2 years ago
•
|
||
Backed out changeset 04a4f1c3255d (bug 1750442) for causing build bustages in mozilla/dom/BindingNames.h
Backout link: https://hg.mozilla.org/integration/autoland/rev/e4dd0a7f4834d861bf80df36860510babd3114be
In file included from BindingNames.cpp:2:
[task 2022-02-13T10:49:21.875Z] 10:49:21 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/dom/BindingNames.h:1025:1: error: unknown type name 'MOZ_ALWAYS_INLINE'
[task 2022-02-13T10:49:21.875Z] 10:49:21 INFO - MOZ_ALWAYS_INLINE const char* BindingName(BindingNamesOffset aOffset) {
[task 2022-02-13T10:49:21.875Z] 10:49:21 INFO - ^
[task 2022-02-13T10:49:21.875Z] 10:49:21 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/dom/BindingNames.h:1026:10: error: cannot initialize return object of type 'const int *' with an rvalue of type 'const char *'
[task 2022-02-13T10:49:21.875Z] 10:49:21 INFO - return binding_detail::sBindingNames + static_cast<size_t>(aOffset);
Flags: needinfo?(peterv)
Pushed by pvanderbeken@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b4393b3efb09 Merge the string table for WebIDL prototypes and the WebIDL global name hash. r=farre
Comment 7•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox99:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Assignee | ||
Updated•9 months ago
|
Flags: needinfo?(peterv)
You need to log in
before you can comment on or make changes to this bug.
Description
•