@@ -128,14 +128,14 @@ A <dfn export id=file>file entry</dfn> additionally consists of
128128<dfn for="file entry" export>binary data</dfn> (a [=byte sequence=] ), a
129129<dfn for="file entry">modification timestamp</dfn> (a number representing the number of milliseconds since the <a spec=FileAPI>Unix Epoch</a> ),
130130a <dfn for="file entry">lock</dfn> (a string that may exclusively be "`open`", "`taken-exclusive`" or "`taken-shared`")
131- and a <dfn for="file entry">shared lock count</dfn> (a number representing the number shared locks that are taken at a given point in time).
131+ and a <dfn for="file entry">shared lock count</dfn> (a number representing the number of shared locks that are taken at a given point in time).
132132
133133A user agent has an associated <dfn>file system queue</dfn> which is the
134134result of [=starting a new parallel queue=] . This queue is to be used for all
135135file system operations.
136136
137137<div algorithm>
138- To <dfn for="file entry/lock"> take</dfn> a [=file entry/ lock=] with a |value| of
138+ To <dfn for="file entry" id=file-entry-lock- take>take a lock</dfn> with a |value| of
139139"`exclusive`" or "`shared`" on a given [=file entry=] |file|:
140140
1411411. Let |lock| be the |file|'s [=file entry/lock=] .
@@ -538,7 +538,7 @@ The <dfn method for=FileSystemFileHandle>getFile()</dfn> method steps are:
538538 the temporary file starts out empty,
539539 otherwise the existing file is first copied to this temporary file.
540540
541- Creating a {{FileSystemWritableFileStream}} [=file entry/lock/ take|takes a shared lock=] on the
541+ Creating a {{FileSystemWritableFileStream}} [=file entry/take a lock |takes a shared lock=] on the
542542 [=file entry=] [=locate an entry|locatable=] with |fileHandle|'s [=FileSystemHandle/locator=] .
543543 This prevents the creation of {{FileSystemSyncAccessHandle|FileSystemSyncAccessHandles}}
544544 for the entry, until the stream is closed.
@@ -575,7 +575,7 @@ The <dfn method for=FileSystemFileHandle>createWritable(|options|)</dfn> method
575575 |result| with a "{{NotFoundError}} " {{DOMException}} and abort these steps.
576576 1. [=Assert=] : |entry| is a [=file entry=] .
577577
578- 1. Let |lockResult| be the result of [=file entry/lock/ take|taking a lock=]
578+ 1. Let |lockResult| be the result of [=file entry/take a lock |taking a lock=]
579579 with "`shared`" on |entry|.
580580
581581 1. [=Queue a storage task=] with |global| to run these steps:
@@ -603,7 +603,7 @@ The <dfn method for=FileSystemFileHandle>createWritable(|options|)</dfn> method
603603 [=file entry=] [=locate an entry|locatable=] by |fileHandle|'s [=FileSystemHandle/locator=] .
604604 To ensure the changes are reflected in this file, the handle can be flushed.
605605
606- Creating a {{FileSystemSyncAccessHandle}} [=file entry/lock/ take|takes an exclusive lock=] on the
606+ Creating a {{FileSystemSyncAccessHandle}} [=file entry/take a lock |takes an exclusive lock=] on the
607607 [=file entry=] [=locate an entry|locatable=] with |fileHandle|'s [=FileSystemHandle/locator=] .
608608 This prevents the creation of further {{FileSystemSyncAccessHandle|FileSystemSyncAccessHandles}}
609609 or {{FileSystemWritableFileStream|FileSystemWritableFileStreams}}
@@ -645,7 +645,7 @@ The <dfn method for=FileSystemFileHandle>createSyncAccessHandle()</dfn> method s
645645 |result| with a "{{NotFoundError}} " {{DOMException}} and abort these steps.
646646 1. [=Assert=] : |entry| is a [=file entry=] .
647647
648- 1. Let |lockResult| be the result of [=file entry/lock/ take|taking a lock=]
648+ 1. Let |lockResult| be the result of [=file entry/take a lock |taking a lock=]
649649 with "`exclusive`" on |entry|.
650650
651651 1. [=Queue a storage task=] with |global| to run these steps:
0 commit comments