Closed Bug 609030 Opened 14 years ago Closed 14 years ago

Rename createBlobURL/revokeBlobURL

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- beta8+

People

(Reporter: sheppy, Assigned: sicking)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

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.
blocking2.0: --- → ?
Over to sicking.
Assignee: nobody → jonas
blocking2.0: ? → beta8+
This would be an interface change, so should this go to b7?
Attached patch Patch to fixSplinter Review
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 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+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Depends on: 617296
Depends on: 645336
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: