FileAPI

edit

WPT coverage of the tests of FileAPI at the revision c8fa86fb13d4. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features), the reftests and the crash tests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable7273099%
Tentative000–
Reftests110100%
Crash tests220100%
All7576099%

Failure reasons

The tests that do not pass (failing or disabled), by kind of reason. A test with several reasons counts once per kind.

  • TEST BUG: 1

Stable tests

TestResultSubtestsKindDescription
Blob-methods-from-detached-frame.htmlPass5 / 5
BlobURL/cross-partition-navigation.https.htmlPass5 / 5
BlobURL/cross-partition-self-fetch.https.htmlPass1 / 1
BlobURL/cross-partition-worker-creation.https.htmlPass2 / 2
BlobURL/cross-partition.https.htmlPass8 / 8
BlobURL/opaque-origin.htmlPass2 / 2
FileReader/progress_event_bubbles_cancelable.htmlPass1 / 1
FileReader/workers.htmlPass1 / 1
FileReaderSync.worker.jsPass10 / 10
blob/Blob-array-buffer-data-isolation.htmlPass5 / 5
blob/Blob-array-buffer.any.jsPass10 / 10
blob/Blob-bytes.any.jsPass10 / 10
blob/Blob-constructor-detached-buffer.any.jsPass8 / 8
blob/Blob-constructor-dom.window.jsPass4 / 4
blob/Blob-constructor-endings.any.jsPass22 / 22
blob/Blob-constructor-endings.htmlPass34 / 34
blob/Blob-constructor.any.jsPass146 / 146
blob/Blob-in-worker.worker.jsPass1 / 1
blob/Blob-newobject.any.jsPass12 / 12
blob/Blob-slice-overflow.any.jsPass8 / 8
blob/Blob-slice.any.jsPass300 / 300
blob/Blob-stream.any.jsPass12 / 12
blob/Blob-text.any.jsPass32 / 32
blob/Blob-textStream.any.jsPass24 / 24
file/File-constructor-endings.any.jsPass22 / 22
file/File-constructor-endings.htmlPass34 / 34
file/File-constructor.any.jsPass100 / 100
file/File-lastModified.htmlPass1 / 1
file/Worker-read-file-constructor.worker.jsPass1 / 1
file/send-file-form-controls.htmlPass12 / 12
file/send-file-form-iso-2022-jp.htmlPass6 / 6
file/send-file-form-punctuation.htmlPass27 / 27
file/send-file-form-utf-8.htmlPass6 / 6
file/send-file-form-windows-1252.htmlPass6 / 6
file/send-file-form-x-user-defined.htmlPass6 / 6
file/send-file-form.htmlPass1 / 1
file/send-file-formdata-controls.any.jsPass24 / 24
file/send-file-formdata-punctuation.any.jsPass54 / 54
file/send-file-formdata-utf-8.any.jsPass12 / 12
file/send-file-formdata.any.jsPass2 / 2
fileReader.any.jsPass8 / 8
filelist-section/filelist.htmlPass7 / 7
historical.https.htmlPass13 / 13
idlharness.any.jsPass231 / 231
idlharness.htmlPass69 / 69
idlharness.worker.jsPass83 / 83
reading-data-section/Determining-Encoding.any.jsPass12 / 12
reading-data-section/FileReader-event-handler-attributes.any.jsPass12 / 12
reading-data-section/FileReader-multiple-reads.any.jsPass18 / 18
reading-data-section/filereader_abort.any.jsPass6 / 6
reading-data-section/filereader_error.any.jsPass2 / 2
reading-data-section/filereader_events.any.jsPass4 / 4
reading-data-section/filereader_readAsArrayBuffer.any.jsPass2 / 2
reading-data-section/filereader_readAsBinaryString.any.jsPass2 / 2
reading-data-section/filereader_readAsDataURL.any.jsPass8 / 8
reading-data-section/filereader_readAsDataURL.htmlPass1 / 1
reading-data-section/filereader_readAsText.any.jsPass4 / 4
reading-data-section/filereader_readAsText_blob_type_charset.any.jsPass6 / 6
reading-data-section/filereader_readystate.any.jsPass2 / 2
reading-data-section/filereader_result.any.jsPass24 / 24
unicode.any.jsPass8 / 8
url/cross-global-revoke.sub.htmlPass3 / 3
url/multi-global-origin-serialization.sub.htmlPass1 / 1
url/sandboxed-iframe.htmlFail37 / 40TEST BUGthe iframes created by the sandboxed document inherit its sandboxing flags, so the document loaded from the blob URL gets a new opaque origin (https://html.spec.whatwg.org/multipage/browsers.html#determining-the-origin, step 1) and is cross-origin with its creator; the two iframe subtests fail the same way in Chrome, Firefox and Safari; the page of the sandboxed iframe loads url-with-fetch.any.js without its META: script=/common/gc.js, so its call to garbageCollect() throws a ReferenceError (in every browser)
url/unicode-origin.sub.htmlPass1 / 1
url/url-charset.window.jsPass2 / 2
url/url-format.any.jsPass12 / 12
url/url-in-tags-revoke.window.jsPass7 / 7
url/url-in-tags.window.jsPass4 / 4
url/url-lifetime.htmlPass2 / 2
url/url-reload.window.jsPass2 / 2
url/url-with-fetch.any.jsPass32 / 32
url/url-with-xhr.any.jsPass28 / 28

Reftests

TestResultVariantsKindDescription
url/url_xmlhttprequest_img.htmlPass1 / 1

Crash tests

TestResultVariantsKindDescription
blob/Blob-stream-byob-crash.htmlPass1 / 1
blob/Blob-stream-sync-xhr-crash.htmlPass1 / 1