mozilla

Revision 481491 of FileRequest

  • Revision slug: Web/API/FileRequest
  • Revision title: FileRequest
  • Revision id: 481491
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment

Revision Content

{{non-standard_header}}

Summary

The FileRequest interface extend the {{domxref("DOMRequest")}} interface to provide some extra properties necessary for the {{domxref("LockedFile")}} objects.

Properties

{{domxref("FileRequest.lockedFile")}} {{readonlyinline}}
The {{domxref("LockedFile")}} object from which the request was started.
{{domxref("FileRequest.onprogress")}} {{readonlyinline}}
A callback handler called repeatly while the operation represented by the FileRequest is in progress.

The FileRequest interface also inherit from the {{domxref("DOMRequest")}} interface.

{{page("/en-US/docs/Web/API/DOMRequest","Properties")}}

Methods

None.

Specifications

Specification Status Comment
{{SpecName('FileSystem')}} {{Spec2('FileSystem')}} Draft proposal.

See also

  • {{domxref("FileHandle")}}
  • {{domxref("LockedFile")}}

Revision Source

<p>{{non-standard_header}}</p>
<h2 id="Summary">Summary</h2>
<p>The <code>FileRequest</code> interface extend the {{domxref("DOMRequest")}} interface to provide some extra properties necessary for the {{domxref("LockedFile")}} objects.</p>
<h2 id="Properties" name="Properties">Properties</h2>
<dl>
  <dt>
    {{domxref("FileRequest.lockedFile")}} {{readonlyinline}}</dt>
  <dd>
    The {{domxref("LockedFile")}} object from which the request was started.</dd>
  <dt>
    {{domxref("FileRequest.onprogress")}} {{readonlyinline}}</dt>
  <dd>
    A callback handler called repeatly while the operation represented by the <code>FileRequest</code> is in progress.</dd>
</dl>
<p>The <code>FileRequest</code> interface also inherit from the {{domxref("DOMRequest")}} interface.</p>
<p>{{page("/en-US/docs/Web/API/DOMRequest","Properties")}}</p>
<h2 id="Method_overview" name="Method_overview">Methods</h2>
<p>None.</p>
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Specifications</h2>
<table class="standard-table">
  <tbody>
    <tr>
      <th scope="col">Specification</th>
      <th scope="col">Status</th>
      <th scope="col">Comment</th>
    </tr>
    <tr>
      <td>{{SpecName('FileSystem')}}</td>
      <td>{{Spec2('FileSystem')}}</td>
      <td>Draft proposal.</td>
    </tr>
  </tbody>
</table>
<h2 id="See_also" name="See_also">See also</h2>
<ul>
  <li>{{domxref("FileHandle")}}</li>
  <li>{{domxref("LockedFile")}}</li>
</ul>
Revert to this revision