- From: Andrew Williams <notifications@github.com>
- Date: Thu, 28 Nov 2024 10:20:13 -0800
- To: w3c/FileAPI <FileAPI@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/FileAPI/pull/201/review/2468646419@github.com>
@recvfrom commented on this pull request. > [=map/Keys=] in the [=blob URL store=] (also known as <dfn lt="blob URL|object URL" export>blob URLs</dfn>) are [=valid URL strings=] that when [=URL parser|parsed=] result in a [=/URL=] with a [=url/scheme=] equal to "`blob`", an [=empty host=], and a [=url/path=] consisting of one element itself also a [=valid URL string=]. +A <dfn export>blob URL entry</dfn> is used to store an object of type {{Blob}} or {{MediaSource}}. Thanks for the feedback, I hadn't thought to just not export the field. I think I've implemented this as you suggested but let me know if you have any other thoughts on this. Thanks! > [=map/Keys=] in the [=blob URL store=] (also known as <dfn lt="blob URL|object URL" export>blob URLs</dfn>) are [=valid URL strings=] that when [=URL parser|parsed=] result in a [=/URL=] with a [=url/scheme=] equal to "`blob`", an [=empty host=], and a [=url/path=] consisting of one element itself also a [=valid URL string=]. +A <dfn export>blob URL entry</dfn> is used to store an object of type {{Blob}} or {{MediaSource}}. + +A [=blob URL entry=] has an <dfn export for="blob URL entry">environment</dfn> (an [=environment settings object=]). + +<div algorithm="obtainBlobObject"> +To <dfn export id=blob-url-obtain-object>obtain a blob object</dfn> given a [=blob URL entry=] |blobUrlEntry|, an [=environment=] |environment|, and an optional boolean |isNavigation| (default false): + +1. Let |isAuthorized| be true. +1. If |isNavigation| is false, let |isAuthorized| be the result of [=checking for same-partition blob URL usage=] with |blobUrlEntry| and |environment|. Good catch! Updated -- Reply to this email directly or view it on GitHub: https://github.com/w3c/FileAPI/pull/201#discussion_r1862575732 You are receiving this because you are subscribed to this thread. Message ID: <w3c/FileAPI/pull/201/review/2468646419@github.com>
Received on Thursday, 28 November 2024 18:20:17 UTC