Closed Bug 1691649 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27541 - NativeIO: Add quota to sync Blink interface

Categories

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

task

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Richard Stotz <rstz@chromium.org>' wrote:

NativeIO: Add quota to sync Blink interface

This CL adds a quota management system to NativeIO’s Blink
implementation for synchronous calls.

Blink requests capacity from the browser process. Implementing the
browser side will be done in a followup CL. For now, the browser grants
any request up to 8 GiB.

The design doc for NativeIO's quota system is here:
https://docs.google.com/document/d/1-9srvkB2AnP1nO0moFWM9CTkGzkwdRlCZpJe9fG60WU/edit?usp=sharing

Bug: 1137788
Change-Id: If306e77bdaa66e34c28a633601608de307875c67
Reviewed-on: https://chromium-review.googlesource.com/2678951
WPT-Export-Revision: 3eb4689c6e41482b23203f37a6920a6e8cbd1e7b

PR 27541 applied with additional changes from upstream: 81254b87afc3b526019317c2ea07dab1bca26623, d0ae73b829a5064cdba3ac4a9f7947dc3e6b73d8, 16e619733e016325afebd30d6cbb97f2caf01d5f

CI Results

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

Total 58 tests and 1 subtests

Status Summary

Firefox

OK : 55
FAIL : 225
ERROR: 3

Chrome

OK : 55
FAIL : 225
ERROR: 3

Safari

OK : 43
FAIL : 175
ERROR: 15

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/native-io/capacity_allocation_sync_basic.tentative.https.any.worker.html
The starting capacity of a NativeIOFileManager is 0: FAIL (Chrome: FAIL, Safari: FAIL)
getRemainingCapacitySync() reports the capacity granted by requestCapacitySync(): FAIL (Chrome: FAIL, Safari: FAIL)
getRemainingCapacitySync() reports zero after a releaseCapacitySync() matching the capacity granted by a requestCapacitySync().: FAIL (Chrome: FAIL, Safari: FAIL)
requestCapacitySync() grants the requested capacity for small requests: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_flush_async.tentative.https.any.html
read() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_flush_async.tentative.https.any.worker.html
read() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_flush_async.tentative.https.any.serviceworker.html
read() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while flush() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_flush_async.tentative.https.any.sharedworker.html
read() rejects while flush() is resolving.: FAIL (Chrome: FAIL)
write() rejects while flush() is resolving.: FAIL (Chrome: FAIL)
getLength() rejects while flush() is resolving.: FAIL (Chrome: FAIL)
flush() rejects while flush() is resolving.: FAIL (Chrome: FAIL)
setLength() rejects while flush() is resolving.: FAIL (Chrome: FAIL)
/native-io/concurrent_io/concurrent_io_getLength_async.tentative.https.any.serviceworker.html
read() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_getLength_async.tentative.https.any.sharedworker.html
read() rejects while getLength() is resolving.: FAIL (Chrome: FAIL)
write() rejects while getLength() is resolving.: FAIL (Chrome: FAIL)
getLength() rejects while getLength() is resolving.: FAIL (Chrome: FAIL)
flush() rejects while getLength() is resolving.: FAIL (Chrome: FAIL)
setLength() rejects while getLength() is resolving.: FAIL (Chrome: FAIL)
/native-io/concurrent_io/concurrent_io_getLength_async.tentative.https.any.worker.html
read() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_getLength_async.tentative.https.any.html
read() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while getLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_read_async.tentative.https.any.sharedworker.html
read() rejects while read() is resolving.: FAIL (Chrome: FAIL)
write() rejects while read() is resolving.: FAIL (Chrome: FAIL)
getLength() rejects while read() is resolving.: FAIL (Chrome: FAIL)
flush() rejects while read() is resolving.: FAIL (Chrome: FAIL)
setLength() rejects while read() is resolving.: FAIL (Chrome: FAIL)
/native-io/concurrent_io/concurrent_io_read_async.tentative.https.any.worker.html
read() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_read_async.tentative.https.any.html
read() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_read_async.tentative.https.any.serviceworker.html
read() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while read() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_setLength_async.tentative.https.any.worker.html
read() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_setLength_async.tentative.https.any.sharedworker.html
read() rejects while setLength() is resolving.: FAIL (Chrome: FAIL)
write() rejects while setLength() is resolving.: FAIL (Chrome: FAIL)
getLength() rejects while setLength() is resolving.: FAIL (Chrome: FAIL)
flush() rejects while setLength() is resolving.: FAIL (Chrome: FAIL)
setLength() rejects while setLength() is resolving.: FAIL (Chrome: FAIL)
/native-io/concurrent_io/concurrent_io_setLength_async.tentative.https.any.serviceworker.html
read() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_setLength_async.tentative.https.any.html
read() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while setLength() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_write_async.tentative.https.any.html
read() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_write_async.tentative.https.any.sharedworker.html
read() rejects while write() is resolving.: FAIL (Chrome: FAIL)
write() rejects while write() is resolving.: FAIL (Chrome: FAIL)
getLength() rejects while write() is resolving.: FAIL (Chrome: FAIL)
flush() rejects while write() is resolving.: FAIL (Chrome: FAIL)
setLength() rejects while write() is resolving.: FAIL (Chrome: FAIL)
/native-io/concurrent_io/concurrent_io_write_async.tentative.https.any.serviceworker.html
read() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/concurrent_io/concurrent_io_write_async.tentative.https.any.worker.html
read() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
write() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
getLength() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
flush() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() rejects while write() is resolving.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/close_async.tentative.https.any.sharedworker.html
NativeIOFile.close is idempotent: FAIL (Chrome: FAIL)
NativeIOFile.close is idempotent when called immediately: FAIL (Chrome: FAIL)
NativeIOFile.read fails after NativeIOFile.close settles: FAIL (Chrome: FAIL)
NativeIOFile.read fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL)
NativeIOFile.write fails after NativeIOFile.close settles: FAIL (Chrome: FAIL)
NativeIOFile.write fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL)
NativeIOFile.getLength fails after NativeIOFile.close settles: FAIL (Chrome: FAIL)
NativeIOFile.getLength fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL)
NativeIOFile.flush fails after NativeIOFile.close settles: FAIL (Chrome: FAIL)
NativeIOFile.flush fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL)
NativeIOFile.setLength fails after NativeIOFile.close settles: FAIL (Chrome: FAIL)
NativeIOFile.setLength fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL)
/native-io/close_async.tentative.https.any.html
NativeIOFile.close is idempotent: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.close is idempotent when called immediately: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.read fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.read fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.write fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.write fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.getLength fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.getLength fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.flush fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.flush fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/close_async.tentative.https.any.worker.html
NativeIOFile.close is idempotent: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.close is idempotent when called immediately: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.read fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.read fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.write fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.write fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.getLength fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.getLength fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.flush fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.flush fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/close_async.tentative.https.any.serviceworker.html
NativeIOFile.close is idempotent: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.close is idempotent when called immediately: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.read fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.read fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.write fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.write fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.getLength fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.getLength fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.flush fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.flush fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength fails after NativeIOFile.close settles: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength fails immediately after calling NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/close_sync.tentative.https.any.worker.html
NativeIOFileSync.close is idempotent: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFileSync.read fails after NativeIOFileSync.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.write fails after NativeIOFile.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFileSync.getLength fails after NativeIOFileSync.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFileSync.flush fails after NativeIOFileSync.close: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFileSync.setLength fails after NativeIOFileSync.close: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/flush_async_basic.tentative.https.any.sharedworker.html
NativeIOFile.read returns bytes written by NativeIOFile.write after NativeIOFile.flush: FAIL (Chrome: FAIL)
/native-io/flush_async_basic.tentative.https.any.serviceworker.html
NativeIOFile.read returns bytes written by NativeIOFile.write after NativeIOFile.flush: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/flush_async_basic.tentative.https.any.worker.html
NativeIOFile.read returns bytes written by NativeIOFile.write after NativeIOFile.flush: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/flush_async_basic.tentative.https.any.html
NativeIOFile.read returns bytes written by NativeIOFile.write after NativeIOFile.flush: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/flush_sync_basic.tentative.https.any.worker.html
NativeIOFileSync.read returns bytes written by NativeIOFileSync.write after NativeIOFileSync.flush: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/getLength_setLength_async_basic.tentative.https.any.html
NativeIOFile.setLength shrinks a file, NativeIOFile.getLength reports new length: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength appends zeros to a file, NativeIOFile.getLength reports new length: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/getLength_setLength_async_basic.tentative.https.any.serviceworker.html
NativeIOFile.setLength shrinks a file, NativeIOFile.getLength reports new length: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength appends zeros to a file, NativeIOFile.getLength reports new length: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/getLength_setLength_async_basic.tentative.https.any.sharedworker.html
NativeIOFile.setLength shrinks a file, NativeIOFile.getLength reports new length: FAIL (Chrome: FAIL)
NativeIOFile.setLength appends zeros to a file, NativeIOFile.getLength reports new length: FAIL (Chrome: FAIL)
/native-io/getLength_setLength_async_basic.tentative.https.any.worker.html
NativeIOFile.setLength shrinks a file, NativeIOFile.getLength reports new length: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength appends zeros to a file, NativeIOFile.getLength reports new length: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/getLength_setLength_sync_basic.tentative.https.any.worker.html
NativeIOFileSync.setLength shrinks a file and NativeIOFileSync.getLength reports its new length.: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFileSync.setLength appends zeros to a file and NativeIOFileSync.getLength reports its new length.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/read_write_async_basic.tentative.https.any.sharedworker.html
NativeIOFile.read returns bytes written by NativeIOFile.write: FAIL (Chrome: FAIL)
/native-io/read_write_async_basic.tentative.https.any.worker.html
NativeIOFile.read returns bytes written by NativeIOFile.write: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/read_write_async_basic.tentative.https.any.serviceworker.html
NativeIOFile.read returns bytes written by NativeIOFile.write: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/read_write_async_basic.tentative.https.any.html
NativeIOFile.read returns bytes written by NativeIOFile.write: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/read_write_sync_basic.tentative.https.any.worker.html
NativeIOFileSync.read returns bytes written by NativeIOFileSync.write: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/rename_async_failure_handling.tentative.https.any.sharedworker.html
storageFoundation.rename does not overwrite an existing file.: FAIL (Chrome: FAIL)
storageFoundation.rename does not allow renaming an open file.: FAIL (Chrome: FAIL)
storageFoundation.rename does not allow renaming from or to invalid names.: FAIL (Chrome: FAIL)
Failed storageFoundation.rename does not unlock the source.: FAIL (Chrome: FAIL)
Failed storageFoundation.rename does not unlock the destination.: FAIL (Chrome: FAIL)
Renaming a non-existing file fails with a NotFoundError.: FAIL (Chrome: FAIL)
/native-io/rename_async_failure_handling.tentative.https.any.html: ERROR (Chrome: ERROR, Safari: ERROR)
storageFoundation.rename does not overwrite an existing file.: FAIL (Chrome: FAIL, Safari: FAIL)
storageFoundation.rename does not allow renaming an open file.: FAIL (Chrome: FAIL, Safari: FAIL)
storageFoundation.rename does not allow renaming from or to invalid names.: FAIL (Chrome: FAIL, Safari: FAIL)
Failed storageFoundation.rename does not unlock the source.: FAIL (Chrome: FAIL, Safari: FAIL)
Failed storageFoundation.rename does not unlock the destination.: FAIL (Chrome: FAIL, Safari: FAIL)
Renaming a non-existing file fails with a NotFoundError.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/rename_async_failure_handling.tentative.https.any.serviceworker.html: ERROR (Chrome: ERROR, Safari: ERROR)
storageFoundation.rename does not overwrite an existing file.: FAIL (Chrome: FAIL, Safari: FAIL)
storageFoundation.rename does not allow renaming an open file.: FAIL (Chrome: FAIL, Safari: FAIL)
storageFoundation.rename does not allow renaming from or to invalid names.: FAIL (Chrome: FAIL, Safari: FAIL)
Failed storageFoundation.rename does not unlock the source.: FAIL (Chrome: FAIL, Safari: FAIL)
Failed storageFoundation.rename does not unlock the destination.: FAIL (Chrome: FAIL, Safari: FAIL)
Renaming a non-existing file fails with a NotFoundError.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/rename_async_failure_handling.tentative.https.any.worker.html
storageFoundation.rename does not overwrite an existing file.: FAIL (Chrome: FAIL, Safari: FAIL)
storageFoundation.rename does not allow renaming an open file.: FAIL (Chrome: FAIL, Safari: FAIL)
storageFoundation.rename does not allow renaming from or to invalid names.: FAIL (Chrome: FAIL, Safari: FAIL)
Failed storageFoundation.rename does not unlock the source.: FAIL (Chrome: FAIL, Safari: FAIL)
Failed storageFoundation.rename does not unlock the destination.: FAIL (Chrome: FAIL, Safari: FAIL)
Renaming a non-existing file fails with a NotFoundError.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/rename_sync_failure_handling.tentative.https.any.worker.html: ERROR (Chrome: ERROR, Safari: ERROR)
/native-io/setLength_bounds_async.tentative.https.any.serviceworker.html
NativeIOFile.setLength does not throw an error when descreasing the file length to 0.: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength() throws when setting negative lengths.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/setLength_bounds_async.tentative.https.any.html
NativeIOFile.setLength does not throw an error when descreasing the file length to 0.: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength() throws when setting negative lengths.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/setLength_bounds_async.tentative.https.any.sharedworker.html
NativeIOFile.setLength does not throw an error when descreasing the file length to 0.: FAIL (Chrome: FAIL)
NativeIOFile.setLength() throws when setting negative lengths.: FAIL (Chrome: FAIL)
/native-io/setLength_bounds_async.tentative.https.any.worker.html
NativeIOFile.setLength does not throw an error when descreasing the file length to 0.: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFile.setLength() throws when setting negative lengths.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/setLength_bounds_sync.tentative.https.any.worker.html
NativeIOFileSync.setLength() does not throw an error when descreasing the file length to 0.: FAIL (Chrome: FAIL, Safari: FAIL)
NativeIOFileSync.setLength() throws when setting negative lengths.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/setLength_capacity_allocation_sync.tentative.https.any.worker.html
setLength() fails without any capacity request.: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() succeeds when given the granted capacity - 1: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() succeeds when given the granted capacity: FAIL (Chrome: FAIL, Safari: FAIL)
setLength() fails when given the granted capacity + 1: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/write_capacity_allocation_sync.tentative.https.any.worker.html
write() fails without any capacity request.: FAIL (Chrome: FAIL, Safari: FAIL)
write() succeeds when given a buffer of length granted capacity - 1: FAIL (Chrome: FAIL, Safari: FAIL)
write() succeeds when given the granted capacity: FAIL (Chrome: FAIL, Safari: FAIL)
write() fails when given the granted capacity + 1: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/write_getLength_async_basic.tentative.https.any.sharedworker.html
NativeIOFile.getLength returns number of bytes written byNativeIOFile.write: FAIL (Chrome: FAIL)
/native-io/write_getLength_async_basic.tentative.https.any.html
NativeIOFile.getLength returns number of bytes written byNativeIOFile.write: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/write_getLength_async_basic.tentative.https.any.serviceworker.html
NativeIOFile.getLength returns number of bytes written byNativeIOFile.write: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/write_getLength_async_basic.tentative.https.any.worker.html
NativeIOFile.getLength returns number of bytes written byNativeIOFile.write: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/write_getLength_sync_basic.tentative.https.any.worker.html
NativeIOFileSync.getLength returns the number bytes written by NativeIOFileSync.write: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d2939b28c815
[wpt PR 27541] - NativeIO: Add quota to sync Blink interface, a=testonly
https://hg.mozilla.org/integration/autoland/rev/cc6c9d2deab4
[wpt PR 27541] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.