- From: Marijn Kruisselbrink <notifications@github.com>
- Date: Tue, 12 Dec 2017 05:51:14 -0800
- To: w3c/FileAPI <FileAPI@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 12 December 2017 13:51:57 UTC
mkruisselbrink commented on this pull request. > - Since <code>window1</code> and <code>window2</code> are in the <a>same origin</a> - and share the same <a>Blob URL Store</a>, - the <code>URL.{{revokeObjectURL()}}</code> call - ensures that subsequent dereferencing of <code>myurl</code> - results in a the user agent acting as if a <a>network error</a> has occurred. - </div> -</dl> +1. Let |url| be the result of [=adding an entry to the Blob URL Store=] for |blob|. +4. Return |url|. + +</div> + +<div algorithm="revokeObjectURL"> +The <dfn method for=URL id="dfn-revokeObjectURL">revokeObjectURL(|url|)</dfn> static method must run these steps: + +1. [=Remove an entry from the Blob URL Store=] for |url|. Actually after testing I decided to do keep the same-origin check, as at least chrome and firefox already seem to do that (well, Firefox seems to have a same-origin check, Chrome only lets you revoke URLs from the context that created them entirely). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/FileAPI/pull/92#discussion_r156370015
Received on Tuesday, 12 December 2017 13:51:57 UTC