Open
Bug 1354015
Opened 8 years ago
Updated 2 years ago
DOM wrapper collection is observable with proto mutation
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: jandem, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
I realized this when looking at bug 1353928.
The attached testcase sometimes prints (may require a few reloads to see the buggy behavior):
Proto: undefined
Proto: [object HTMLDivElementPrototype]
It should print:
Proto: undefined
Proto: undefined
Comment 1•8 years ago
|
||
Hmm, I thought we had special code to preserve wrappers when __proto__ was set.
But perhaps I'm thinking ancient pre-Paris-bindings world.
Comment 2•8 years ago
|
||
I thought we had a bug about this too, but I can't find it...
But yes, we don't really have a way to hook into proto mutation right now. :(
Comment 3•8 years ago
|
||
Please let me know if we need an owner for this sooner than "someday".
Priority: -- → P3
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•