Closed Bug 745147 Opened 13 years ago Closed 9 years ago

Allow passing platform objects to Blob constructor

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Ms2ger, Unassigned)

References

(Depends on 1 open bug)

Details

Per <http://dev.w3.org/2006/webapi/WebIDL/#es-sequence>, new Blob(window) should work, and append ToString(window[0]), ..., ToString(window[n]) (including Typed Arrays). Probably best to do this in the binding code...
Window isn't iterable per latest spec updates, so new Blob(window) should not work. But any iterable platform object will, as of bug 1047483 being fixed.
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 1047483
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.