Closed
Bug 609030
Opened 14 years ago
Closed 14 years ago
Rename createBlobURL/revokeBlobURL
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta8+ |
People
(Reporter: sheppy, Assigned: sicking)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
23.48 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
These were renamed to createObjectURL and revokeObjectURL in the most recent update to the spec. I know the File API guys know about this, but I wasn't able to find a bug so I'm filing it, if for no other reason than to track it for the purpose of making sure docs get updated when the change goes in.
Updated•14 years ago
|
blocking2.0: --- → ?
Comment 2•14 years ago
|
||
This would be an interface change, so should this go to b7?
Assignee | ||
Comment 3•14 years ago
|
||
This updates our implementation to latest spec. (actually, to latest agreement, so fresh that it hasn't even been put into spec yet). The new syntax is: URL.createObjectURL(...); URL.revokeObjectURL(...); It also fixes the security related bug we had where if a different, cross-origin, window was able to guess a generated URL, it could unregister it.
Attachment #491271 -
Flags: review?(jst)
Comment 4•14 years ago
|
||
Comment on attachment 491271 [details] [diff] [review] Patch to fix r=jst, but please send a note to the newsgroups about this API change (which should have been done before beta7, yes, but the spec wasn't finalized enough in time for beta7, so we're going to have to take this now instead).
Attachment #491271 -
Flags: review?(jst) → review+
Assignee | ||
Comment 5•14 years ago
|
||
Checked in: http://hg.mozilla.org/mozilla-central/rev/bd5273da5263
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•14 years ago
|
||
Documentation updated: https://developer.mozilla.org/en/DOM/window.URL.createObjectURL (moved, updated) https://developer.mozilla.org/en/DOM/window.URL.revokeObjectURL (moved, updated) https://developer.mozilla.org/en/DOM/window.URL (new) https://developer.mozilla.org/en/DOM/window (updated) How-to material also updated: https://developer.mozilla.org/en/Using_files_from_web_applications#Using_object_URLs https://developer.mozilla.org/en/Using_files_from_web_applications#Example.3a_Using_object_URLs_to_display_images Fx4 for developers also updated.
Keywords: dev-doc-needed → dev-doc-complete
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•