Closed Bug 963321 Opened 10 years ago Closed 10 years ago

Support returning cached dictionaries from JS-implemented WebIDL

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: mrbkap, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

In the wifi API, we want to be able to return an object that can update itself, but is otherwise readonly to DOM content. We want to be able to use a dictionary to do this and bz informs me that this will be possible with a small change to codegen.
Flags: needinfo?(bzbarsky)
We don't know at handleExtendedAttribute time what the identifier will
map to, so have to do the check that [Frozen] is not being misused
later.
Attachment #8364806 - Flags: review?(khuey)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
I filed bug 963382 on clearing the cached values from JS, since we don't have a way of doing that for readonly properties yet.  That part isn't really dictionary-specific.
Flags: needinfo?(bzbarsky)
Whiteboard: [need review]
I assume we will have something testing this from JS.
Once bug 886110 is fixed, presumably.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.