Closed
Bug 1635582
Opened 5 years ago
Closed 5 years ago
Figure out what do with InterfaceObjectToString / DOMIfaceAndProtoJSClass::mToString
Categories
(Core :: DOM: Bindings (WebIDL), task, P2)
Core
DOM: Bindings (WebIDL)
Tracking
()
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: evilpie, Assigned: evilpie)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
InterfaceObjectToString is invoked by the JS engine when someone calls Function.prototype.toString on a DOM object with that hook. This will return DOMIfaceAndProtoJSClass::mToString
. InterfaceObjectToString
is defined in sInterfaceObjectClassObjectOps.
So I think this means mToString defined for sPrototypeClass
, not sInterfaceObjectClass
, is probably just never used and wasted memory?
I am not sure yet if we could change the interface case as well.
Updated•5 years ago
|
Severity: -- → N/A
Priority: -- → P2
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → evilpies
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/645982b2882a
Use DOMIfaceAndProtoJSClass::mToString only for interface objects. r=peterv
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in
before you can comment on or make changes to this bug.
Description
•