Skip to content

Commit 2d23975

Browse files
Fix/redirect some links in “File and Directory Entries API” intro (mdn#7572)
Fixes mdn#7569
1 parent c09780e commit 2d23975

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

files/en-us/_redirects.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8917,6 +8917,7 @@
89178917
/en-US/docs/Web/API/Window/onvrdisplayconnected /en-US/docs/Web/API/Window/onvrdisplayconnect
89188918
/en-US/docs/Web/API/Window/onvrdisplaydisconnected /en-US/docs/Web/API/Window/onvrdisplaydisconnect
89198919
/en-US/docs/Web/API/Window/removeEventListener /en-US/docs/Web/API/EventTarget/removeEventListener
8920+
/en-US/docs/Web/API/Window/resolveLocalFileSystemURL /en-US/docs/Web/API/LocalFileSystem#resolvelocalfilesystemurl()
89208921
/en-US/docs/Web/API/Window/restore /en-US/docs/Web/API/Window/moveTo
89218922
/en-US/docs/Web/API/Window/setInterval /en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval
89228923
/en-US/docs/Web/API/Window/setTimeout /en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout
@@ -8982,6 +8983,7 @@
89828983
/en-US/docs/Web/API/WorkerGlobalScope/fetch /en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch
89838984
/en-US/docs/Web/API/WorkerGlobalScope/indexedDB /en-US/docs/Web/API/WindowOrWorkerGlobalScope/indexedDB
89848985
/en-US/docs/Web/API/WorkerGlobalScope/onclose /en-US/docs/Web/API/DedicatedWorkerGlobalScope/close
8986+
/en-US/docs/Web/API/WorkerGlobalScope/requestFileSystemSync /en-US/docs/Web/API/LocalFileSystemSync/requestFileSystemSync
89858987
/en-US/docs/Web/API/WorkerGlobalScope/setInterval /en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval
89868988
/en-US/docs/Web/API/WorkerGlobalScope/setTimeout /en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout
89878989
/en-US/docs/Web/API/WorkerLocation.hash /en-US/docs/Web/API/WorkerLocation/hash

files/en-us/web/api/file_and_directory_entries_api/introduction/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h2 id="About_this_document">About this document</h2>
2727

2828
<h2 id="Overview">Overview</h2>
2929

30-
<p>The File and Directory Entries API includes both <a href="/en-US/docs/Web/API/File_and_Directory_Entries_API/Introduction#asynchronous_apis">asynchronous</a> and <a href="/en-US/docs/Web/API/File_and_Directory_Entries_API/Introduction#synchronous_apis">synchronous</a> versions of the interfaces. The asynchronous API can be used in cases where you don't want an outstanding operation to block the UI. The synchronous API, on the other hand, allows for simpler programming model, but it must be used with <a href="/en-US/docs/Web/API/Web_Workers_API/Using_web_workers">WebWorkers</a></p>
30+
<p>The File and Directory Entries API includes both <a href="#asynchronous_apis">asynchronous</a> and <a href="#synchronous_apis">synchronous</a> versions of the interfaces. The asynchronous API can be used in cases where you don't want an outstanding operation to block the UI. The synchronous API, on the other hand, allows for simpler programming model, but it must be used with <a href="/en-US/docs/Web/API/Web_Workers_API/Using_web_workers">WebWorkers</a></p>
3131

3232
<h3 id="Usefulness_of_the_API">Usefulness of the API</h3>
3333

@@ -49,7 +49,7 @@ <h3 id="The_File_and_Directory_Entries_API_and_other_storage_APIs">The File and
4949
<ul>
5050
<li>The File and Directory Entries API offers client-side storage for use cases that are not addressed by databases. If you want to have large mutable chunks of data, the File and Directory Entries API is a much more efficient storage solution than a database.</li>
5151
<li>While Firefox supports blob storage for IndexedDB, Chrome currently does not (Chrome is still implementing support for blob storage in IndexedDB). If you are targeting Chrome for your app and you want to store blobs, the File and Directory Entries API and App Cache are your only choices. However, AppCache storage isn't locally mutable, and doesn't allow for fine-grained client-side management.</li>
52-
<li>In Chrome, you can use the File and Directory Entries API with the <a href="http://code.google.com/chrome/whitepapers/storage.html">Quota Management API</a>, which lets you ask for more storage and manage your storage quota. </li>
52+
<li>In Chrome, you can use the File and Directory Entries API with the <a href="https://code.google.com/chrome/whitepapers/storage.html">Quota Management API</a>, which lets you ask for more storage and manage your storage quota. </li>
5353
</ul>
5454

5555
<h3 id="sample">Sample use cases</h3>
@@ -118,7 +118,7 @@ <h3 id="quota">Browsers impose storage quotas</h3>
118118

119119
<p>To prevent a web app from using up the entire disk, browsers might impose a quota for each app and allocate storage among web apps.</p>
120120

121-
<p>How storage space is granted or allocated and how you can manage storage are idiosyncratic to the browser, so you need to check the respective documentation of the browser. Google Chrome, for example, allows temporary storage beyond the 5 MB required in the specifications and supports the Quota Management API. To learn more about the Chrome-specific implementation, see <a href="http://code.google.com/chrome/whitepapers/storage.html">Managing HTML5 Offline Storage</a>.</p>
121+
<p>How storage space is granted or allocated and how you can manage storage are idiosyncratic to the browser, so you need to check the respective documentation of the browser. Google Chrome, for example, allows temporary storage beyond the 5 MB required in the specifications and supports the Quota Management API. To learn more about the Chrome-specific implementation, see <a href="https://code.google.com/chrome/whitepapers/storage.html">Managing HTML5 Offline Storage</a>.</p>
122122

123123
<h3 id="version">The File and Directory Entries API has asynchronous and synchronous versions</h3>
124124

@@ -166,7 +166,7 @@ <h3 id="origin">The File and Directory Entries API adheres to the same-origin po
166166

167167
<p>An origin is the domain, application layer protocol, and port of a URL of the document where the script is being executed. Each origin has its own associated set of file systems.</p>
168168

169-
<p>The security boundary imposed on file system prevents applications from accessing data with a different origin. This protects private data by preventing access and deletion. For example, while an app or a page in <a href="http://www.example.com/app/" rel="external">http://www.example.com/app/</a> can access files from <a href="http://www.example.com/dir/" rel="external">http://www.example.com/dir/</a>, because they have the same origin, it cannot retrieve files from <a href="http://www.example.com:8080/dir/" rel="external">http://www.example.com:8080/dir/</a> (different port) or <a href="https://www.example.com/dir/" rel="external">https://www.example.com/dir/</a> (different protocol).</p>
169+
<p>The security boundary imposed on file system prevents applications from accessing data with a different origin. This protects private data by preventing access and deletion. For example, while an app or a page in <a href="https://www.example.com/app/" rel="external">http://www.example.com/app/</a> can access files from <a href="https://www.example.com/dir/" rel="external">http://www.example.com/dir/</a>, because they have the same origin, it cannot retrieve files from <a href="https://www.example.com:8080/dir/" rel="external">http://www.example.com:8080/dir/</a> (different port) or <a href="https://www.example.com/dir/" rel="external">https://www.example.com/dir/</a> (different protocol).</p>
170170

171171
<h3 id="execute">The File and Directory Entries API does not let you create and rename executable files</h3>
172172

@@ -232,5 +232,5 @@ <h2 id="See_also">See also</h2>
232232

233233
<ul>
234234
<li><a href="/en-US/docs/Web/API/File_and_Directory_Entries_API">File and Directory Entries API</a></li>
235-
<li><a href="http://www.html5rocks.com/en/tutorials/file/filesystem/">Exploring the FileSystem APIs</a> (HTML5 Rocks)</li>
235+
<li><a href="https://www.html5rocks.com/en/tutorials/file/filesystem/">Exploring the FileSystem APIs</a> (HTML5 Rocks)</li>
236236
</ul>

0 commit comments

Comments
 (0)