Closed Bug 1613399 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21601 - Fix the SyntaxError expectations in filesystem tests

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 21601 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/21601
Details from upstream follow.

Boris Zbarsky <bzbarsky@mit.edu> wrote:

Fix the SyntaxError expectations in filesystem tests

SyntaxError is generally a DOM error, not a JS one. Though it's hard
to tell for sure, since the spec at
https://wicg.github.io/native-file-system/ never mentions SyntaxError

PR 21601 applied with additional changes from upstream: ab733fd9f53eefdc034a2b96d08f080b355b6b10

CI Results

Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 45 tests

Status Summary

Firefox

OK : 2
PASS: 43
FAIL: 56

Chrome

OK : 2
PASS: 56

Safari

OK : 2
FAIL: 56

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/native-file-system/sandboxed_FileSystemWritableFileStream-write.tentative.https.any.html
write() called with a blob and a valid offset: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: only one close() operation may succeed: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: close() fails when parent directory is removed: FAIL (Chrome: PASS, Safari: FAIL)
write() with a valid typed array buffer: FAIL (Chrome: PASS, Safari: FAIL)
write() with a valid utf-8 string: FAIL (Chrome: PASS, Safari: FAIL)
write() with an empty blob to an empty file: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: writable file streams make atomic changes on close: FAIL (Chrome: PASS, Safari: FAIL)
write() with an empty array buffer to an empty file: FAIL (Chrome: PASS, Safari: FAIL)
write() a blob to an empty file with zero offset: FAIL (Chrome: PASS, Safari: FAIL)
write() called consecutively appends: FAIL (Chrome: PASS, Safari: FAIL)
WriteParams: write missing data param: FAIL (Chrome: PASS, Safari: FAIL)
write() with WriteParams without position to an empty file: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: close() after close() fails: FAIL (Chrome: PASS, Safari: FAIL)
WriteParams: truncate missing size param: FAIL (Chrome: PASS, Safari: FAIL)
write() a blob to an empty file: FAIL (Chrome: PASS, Safari: FAIL)
write() called with a string and a valid offset: FAIL (Chrome: PASS, Safari: FAIL)
write() called with an invalid offset: FAIL (Chrome: PASS, Safari: FAIL)
write() WriteParams without position and string appends: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: truncate() after close() fails: FAIL (Chrome: PASS, Safari: FAIL)
getWriter() can be used: FAIL (Chrome: PASS, Safari: FAIL)
write() a string to an empty file with zero offset: FAIL (Chrome: PASS, Safari: FAIL)
write() with an empty string to an empty file: FAIL (Chrome: PASS, Safari: FAIL)
write() with a string with windows line ending preserved: FAIL (Chrome: PASS, Safari: FAIL)
WriteParams: seek missing position param: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: write() after close() fails: FAIL (Chrome: PASS, Safari: FAIL)
write() with a string with unix line ending preserved: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: writable file stream persists file on close, even if file is removed: FAIL (Chrome: PASS, Safari: FAIL)
write() WriteParams without position and blob appends: FAIL (Chrome: PASS, Safari: FAIL)
/native-file-system/sandboxed_FileSystemWritableFileStream-write.tentative.https.any.worker.html
write() called with a blob and a valid offset: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: only one close() operation may succeed: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: close() fails when parent directory is removed: FAIL (Chrome: PASS, Safari: FAIL)
write() with a valid typed array buffer: FAIL (Chrome: PASS, Safari: FAIL)
write() with a valid utf-8 string: FAIL (Chrome: PASS, Safari: FAIL)
write() with an empty blob to an empty file: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: writable file streams make atomic changes on close: FAIL (Chrome: PASS, Safari: FAIL)
write() with an empty array buffer to an empty file: FAIL (Chrome: PASS, Safari: FAIL)
write() a blob to an empty file with zero offset: FAIL (Chrome: PASS, Safari: FAIL)
write() called consecutively appends: FAIL (Chrome: PASS, Safari: FAIL)
WriteParams: write missing data param: FAIL (Chrome: PASS, Safari: FAIL)
write() with WriteParams without position to an empty file: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: close() after close() fails: FAIL (Chrome: PASS, Safari: FAIL)
WriteParams: truncate missing size param: FAIL (Chrome: PASS, Safari: FAIL)
write() a blob to an empty file: FAIL (Chrome: PASS, Safari: FAIL)
write() called with a string and a valid offset: FAIL (Chrome: PASS, Safari: FAIL)
write() called with an invalid offset: FAIL (Chrome: PASS, Safari: FAIL)
write() WriteParams without position and string appends: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: truncate() after close() fails: FAIL (Chrome: PASS, Safari: FAIL)
getWriter() can be used: FAIL (Chrome: PASS, Safari: FAIL)
write() a string to an empty file with zero offset: FAIL (Chrome: PASS, Safari: FAIL)
write() with an empty string to an empty file: FAIL (Chrome: PASS, Safari: FAIL)
write() with a string with windows line ending preserved: FAIL (Chrome: PASS, Safari: FAIL)
WriteParams: seek missing position param: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: write() after close() fails: FAIL (Chrome: PASS, Safari: FAIL)
write() with a string with unix line ending preserved: FAIL (Chrome: PASS, Safari: FAIL)
atomic writes: writable file stream persists file on close, even if file is removed: FAIL (Chrome: PASS, Safari: FAIL)
write() WriteParams without position and blob appends: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d80b0973b69a
[wpt PR 21601] - Fix the SyntaxError expectations in filesystem tests, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.