Closed
Bug 596385
Opened 14 years ago
Closed 14 years ago
Update File APIs to spec
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta7+ |
People
(Reporter: sicking, Assigned: sicking)
References
Details
(Keywords: dev-doc-complete)
Attachments
(3 files)
9.99 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
12.04 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
2.25 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
There has been a few File-API related spec changes to features that we've added since FF3.6. In particular:
myFormData = formelement.getFormData();
is now
myFormData = new FormData(formelement);
and
img.src = file.url
is now
img.src = window.createBlobURL(file);
and comes with a matching
window.revokeBlobURL(someurl);
Patches coming up
Assignee | ||
Comment 1•14 years ago
|
||
Assignee: nobody → jonas
Attachment #475245 -
Flags: review?(jst)
Assignee | ||
Comment 2•14 years ago
|
||
Attachment #475246 -
Flags: review?(jst)
Assignee | ||
Comment 3•14 years ago
|
||
Since this is new syntax, I suspect we should treat it as a beta7 blocker.
blocking2.0: --- → beta7+
Updated•14 years ago
|
Attachment #475245 -
Flags: review?(jst) → review+
Updated•14 years ago
|
Attachment #475246 -
Flags: review?(jst) → review+
Assignee | ||
Comment 4•14 years ago
|
||
Checked in
http://hg.mozilla.org/mozilla-central/rev/1cfb952b69be
http://hg.mozilla.org/mozilla-central/rev/7fff69efb85e
Thanks for the quick review
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Comment 6•14 years ago
|
||
Crap! I missed to remove the existing File.url property. Patch coming up to do that.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 7•14 years ago
|
||
Attachment #476401 -
Flags: review?(jst)
Updated•14 years ago
|
Attachment #476401 -
Flags: review?(jst) → review+
Assignee | ||
Comment 8•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/905b39a5523c
Checked in last patch
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Comment 9•14 years ago
|
||
So does this all work properly when we're reusing inner window for different documents?
Assignee | ||
Comment 10•14 years ago
|
||
Can you describe the situation you are concerned about?
Comment 11•14 years ago
|
||
The text for this has been updated here:
https://developer.mozilla.org/En/XMLHttpRequest/Using_XMLHttpRequest#Using_FormData_objects
And the url property has been removed from the File object reference:
https://developer.mozilla.org/en/DOM/File
That should cover this.
Keywords: dev-doc-needed → dev-doc-complete
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
•