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.
Over to sicking.
This would be an interface change, so should this go to b7?
Created attachment 491271 [details] [diff] [review] Patch to fix 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.
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).
7 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.