Closed
Bug 874788
Opened 12 years ago
Closed 11 years ago
Allow WebIDL proxy objects to emulate undefined
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: Ms2ger, Assigned: bzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.76 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
This is going to need JS engine support.
This object needs to be a proxy _and_ emulate undefined, which we don't support right now in the JS engine.
Assignee: nobody → general
Component: DOM → JavaScript Engine
Summary: Allow WebIDL interfaces to emulate undefined → Allow WebIDL proxy objects to emulate undefined
Assignee | ||
Comment 2•12 years ago
|
||
It's conceivable that the right answer is a new proxy JSClass that sets the relevant bit, or something... Certainly seems like the path of least resistance. Ccing some people who know proxies.
Assignee | ||
Comment 3•12 years ago
|
||
I guess another option is to add a proxy trap for this and have EmulatesUndefined() call that as needed, since we always send proxies through the slow OOL path for this stuff anyway?
Comment 4•12 years ago
|
||
I think Waldo added the undefined emulation, so probably the right one to ask about this.
Reporter | ||
Updated•11 years ago
|
Assignee: general → bzbarsky
Assignee | ||
Comment 5•11 years ago
|
||
Eric made this possible in bug 924720.
Component: JavaScript Engine → DOM
Depends on: 924720
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #8371510 -
Flags: review?(peterv)
Assignee | ||
Updated•11 years ago
|
Whiteboard: [need review]
Updated•11 years ago
|
Attachment #8371510 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Flags: in-testsuite?
Whiteboard: [need review]
Comment 8•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
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
•