Skip to content

Commit

Permalink
Update of TR report from new reffy run
Browse files Browse the repository at this point in the history
Using reffy commit 18.0.0.
  • Loading branch information
reffy-bot committed Dec 5, 2024
1 parent 4349777 commit c9b696d
Show file tree
Hide file tree
Showing 13 changed files with 1,818 additions and 2,284 deletions.
57 changes: 50 additions & 7 deletions tr/algorithms/FileAPI.json
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,26 @@
}
]
},
{
"name": "obtainBlobObject",
"href": "https://www.w3.org/TR/FileAPI/#blob-url-obtain-object",
"html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-export=\"\" id=\"blob-url-obtain-object\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">obtain a blob object</dfn> given a <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#blob-url-entry\" id=\"ref-for-blob-url-entry②\">blob URL entry</a> <var>blobUrlEntry</var> and an <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object\" id=\"ref-for-environment-settings-object①\">environment settings object</a> or the string \"<code>navigation</code>\" <var>environment</var>,\nperform the following steps. They return an <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#blob-url-entry-object\" id=\"ref-for-blob-url-entry-object①\">object</a>.",
"rationale": ".algorithm",
"steps": [
{
"html": "<p>Let <var>isAuthorized</var> be true.</p>"
},
{
"html": "<p>If <var>environment</var> is not the string \"<code>navigation</code>\", then set <var>isAuthorized</var> to the result of <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#check-for-same-partition-blob-url-usage\" id=\"ref-for-check-for-same-partition-blob-url-usage\">checking for same-partition blob URL usage</a> with <var>blobUrlEntry</var> and <var>environment</var>.</p>"
},
{
"html": "<p>If <var>isAuthorized</var> is false, then return failure.</p>"
},
{
"html": "<p>Return <var>blobUrlEntry</var>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#blob-url-entry-object\" id=\"ref-for-blob-url-entry-object②\">object</a>.</p>"
}
]
},
{
"name": "createBlobURL",
"href": "https://www.w3.org/TR/FileAPI/#unicodeBlobURL",
Expand Down Expand Up @@ -810,7 +830,7 @@
"html": "<p>Let <var>url</var> be the result of <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#unicodeBlobURL\" id=\"ref-for-unicodeBlobURL\">generating a new blob URL</a>.</p>"
},
{
"html": "<p>Let <var>entry</var> be a new <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#blob-url-entry\" id=\"ref-for-blob-url-entry\">blob URL entry</a> consisting of <var>object</var> and the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object\" id=\"ref-for-current-settings-object①\">current settings object</a>.</p>"
"html": "<p>Let <var>entry</var> be a new <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#blob-url-entry\" id=\"ref-for-blob-url-entry\">blob URL entry</a> consisting of <var>object</var> and the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object\" id=\"ref-for-current-settings-object①\">current settings object</a>.</p>"
},
{
"html": "<p><a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-set\" id=\"ref-for-map-set\">Set</a> <var>store</var>[<var>url</var>] to <var>entry</var>.</p>"
Expand Down Expand Up @@ -857,6 +877,26 @@
}
]
},
{
"name": "checkForSamePartitionBlobUrlUsage",
"href": "https://www.w3.org/TR/FileAPI/#check-for-same-partition-blob-url-usage",
"html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"check-for-same-partition-blob-url-usage\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">check for same-partition blob URL usage</dfn> given a <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#blob-url-entry\" id=\"ref-for-blob-url-entry④\">blob URL entry</a> <var>blobUrlEntry</var> and an <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object\" id=\"ref-for-environment-settings-object②\">environment settings object</a> <var>environment</var>, perform the following steps. They return a boolean.",
"rationale": ".algorithm",
"steps": [
{
"html": "<p>Let <var>blobStorageKey</var> be the result of <a data-link-type=\"dfn\" href=\"https://storage.spec.whatwg.org/#obtain-a-storage-key-for-non-storage-purposes\" id=\"ref-for-obtain-a-storage-key-for-non-storage-purposes\">obtaining a storage key for non-storage purposes</a> with <var>blobUrlEntry</var>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#blob-url-entry-environment\" id=\"ref-for-blob-url-entry-environment\">environment</a>.</p>"
},
{
"html": "<p>Let <var>environmentStorageKey</var> be the result of <a data-link-type=\"dfn\" href=\"https://storage.spec.whatwg.org/#obtain-a-storage-key-for-non-storage-purposes\" id=\"ref-for-obtain-a-storage-key-for-non-storage-purposes①\">obtaining a storage key for non-storage purposes</a> with <var>environment</var>.</p>"
},
{
"html": "<p>If <var>blobStorageKey</var> is not <a data-link-type=\"dfn\" href=\"https://storage.spec.whatwg.org/#storage-key-equal\" id=\"ref-for-storage-key-equal\">equal</a> to <var>environmentStorageKey</var>, then return false.</p>"
},
{
"html": "<p>Return true.</p>"
}
]
},
{
"html": "This specification extends the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/document-lifecycle.html#unloading-document-cleanup-steps\" id=\"ref-for-unloading-document-cleanup-steps\">unloading document cleanup steps</a> with the following steps:",
"rationale": "let",
Expand All @@ -868,7 +908,7 @@
"html": "<p>Let <var>store</var> be the user agent’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#BlobURLStore\" id=\"ref-for-BlobURLStore⑥\">blob URL store</a>;</p>"
},
{
"html": "<p>Remove from <var>store</var> any entries for which the <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-value\" id=\"ref-for-map-value\">value</a>'s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#blob-url-entry-environment\" id=\"ref-for-blob-url-entry-environment\">environment</a> is equal to <var>environment</var>.</p>"
"html": "<p>Remove from <var>store</var> any entries for which the <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-value\" id=\"ref-for-map-value\">value</a>'s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#blob-url-entry-environment\" id=\"ref-for-blob-url-entry-environment\">environment</a> is equal to <var>environment</var>.</p>"
}
]
},
Expand All @@ -879,19 +919,22 @@
"rationale": ".algorithm",
"steps": [
{
"html": "<p>Let <var>url record</var> be the result of <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-parser\" id=\"ref-for-concept-url-parser①\">parsing</a> <var>url</var>.</p>"
"html": "<p>Let <var>urlRecord</var> be the result of <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-parser\" id=\"ref-for-concept-url-parser①\">parsing</a> <var>url</var>.</p>"
},
{
"html": "<p>If <var>urlRecord</var>’s <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-scheme\" id=\"ref-for-concept-url-scheme③\">scheme</a> is not \"<code>blob</code>\", return.</p>"
},
{
"html": "<p>If <var>url record</var>’s <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-scheme\" id=\"ref-for-concept-url-scheme③\">scheme</a> is not \"<code>blob</code>\", return.</p>"
"html": "<p>Let <var>entry</var> be <var>urlRecord</var>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#blob-url-entry\" id=\"ref-for-blob-url-entry⑤\">blob URL entry</a>.</p>"
},
{
"html": "<p>Let <var>origin</var> be the <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-origin\" id=\"ref-for-concept-url-origin\">origin</a> of <var>url record</var>.</p>"
"html": "<p>If <var>entry</var> is null, then return.</p>"
},
{
"html": "<p>Let <var>settings</var> be the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object\" id=\"ref-for-current-settings-object②\">current settings object</a>.</p>"
"html": "<p>Let <var>isAuthorized</var> be the result of <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#check-for-same-partition-blob-url-usage\" id=\"ref-for-check-for-same-partition-blob-url-usage①\">checking for same-partition blob URL usage</a> with <var>entry</var> and the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object\" id=\"ref-for-current-settings-object②\">current settings object</a>.</p>"
},
{
"html": "<p>If <var>origin</var> is not <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/browsers.html#same-origin\" id=\"ref-for-same-origin\">same origin</a> with <var>settings</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-origin\" id=\"ref-for-concept-settings-object-origin①\">origin</a>, return.</p>"
"html": "<p>If <var>isAuthorized</var> is false, then return.</p>"
},
{
"html": "<p><a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/FileAPI/#removeTheEntry\" id=\"ref-for-removeTheEntry\">Remove an entry from the Blob URL Store</a> for <var>url</var>.</p>"
Expand Down
Loading

0 comments on commit c9b696d

Please sign in to comment.