Closed Bug 1691054 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27507 - NativeIO: Add quota to async 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 27507 into mozilla-central (this bug is closed when the sync is complete).

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

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

NativeIO: Add quota to async Blink interface

This CL adds a quota management system to NativeIO’s Blink implementation.
Before writing to a file (write, setLength), the user must explicitly ask
for capacity. When deleting or shrinking files, the freed-up space is
given back to the user.

This CL implements the support for the asynchronous methods of NativeIO.

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: I9f528373b1e7f5bf45fa8070964cdc3f225d1657

Reviewed-on: https://chromium-review.googlesource.com/2675973
WPT-Export-Revision: fb305af5be8c2c630643fddd00eddc4c7ba8db6e

PR 27507 applied with additional changes from upstream: 81254b87afc3b526019317c2ea07dab1bca26623, d0ae73b829a5064cdba3ac4a9f7947dc3e6b73d8

CI Results

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

Total 64 tests and 1 subtests

Status Summary

Firefox

OK : 61
FAIL : 253
ERROR: 3

Chrome

OK : 61
FAIL : 253
ERROR: 3

Safari

OK : 46
FAIL : 191
ERROR: 18

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/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/capacity_allocation_async_basic.tentative.https.any.serviceworker.html
The starting capacity of a NativeIOFileManager is 0: FAIL (Chrome: FAIL, Safari: FAIL)
getRemainingCapacity() reports the capacity granted by requestCapacity(): FAIL (Chrome: FAIL, Safari: FAIL)
getRemainingCapacity() reports zero after a releaseCapacity() matching the capacity granted by a requestCapacity().: FAIL (Chrome: FAIL, Safari: FAIL)
requestCapacity() grants the requested capacity for small requests: 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.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_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.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.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.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_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_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.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.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_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_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_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.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.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/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/capacity_allocation_async_basic.tentative.https.any.sharedworker.html
The starting capacity of a NativeIOFileManager is 0: FAIL (Chrome: FAIL)
getRemainingCapacity() reports the capacity granted by requestCapacity(): FAIL (Chrome: FAIL)
getRemainingCapacity() reports zero after a releaseCapacity() matching the capacity granted by a requestCapacity().: FAIL (Chrome: FAIL)
requestCapacity() grants the requested capacity for small requests: FAIL (Chrome: FAIL)
/native-io/capacity_allocation_async_basic.tentative.https.any.worker.html
The starting capacity of a NativeIOFileManager is 0: FAIL (Chrome: FAIL, Safari: FAIL)
getRemainingCapacity() reports the capacity granted by requestCapacity(): FAIL (Chrome: FAIL, Safari: FAIL)
getRemainingCapacity() reports zero after a releaseCapacity() matching the capacity granted by a requestCapacity().: FAIL (Chrome: FAIL, Safari: FAIL)
requestCapacity() grants the requested capacity for small requests: FAIL (Chrome: FAIL, Safari: FAIL)
/native-io/capacity_allocation_async_basic.tentative.https.any.html
The starting capacity of a NativeIOFileManager is 0: FAIL (Chrome: FAIL, Safari: FAIL)
getRemainingCapacity() reports the capacity granted by requestCapacity(): FAIL (Chrome: FAIL, Safari: FAIL)
getRemainingCapacity() reports zero after a releaseCapacity() matching the capacity granted by a requestCapacity().: FAIL (Chrome: FAIL, Safari: FAIL)
requestCapacity() grants the requested capacity for small requests: FAIL (Chrome: FAIL, Safari: 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.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.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/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_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.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.sharedworker.html
NativeIOFile.read returns bytes written by NativeIOFile.write after NativeIOFile.flush: FAIL (Chrome: 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.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_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_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.serviceworker.html
NativeIOFile.read returns bytes written by NativeIOFile.write: 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.html
NativeIOFile.read returns bytes written by NativeIOFile.write: 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.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.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.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_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.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.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_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_async.tentative.https.any.serviceworker.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/setLength_capacity_allocation_async.tentative.https.any.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/setLength_capacity_allocation_async.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/setLength_capacity_allocation_async.tentative.https.any.sharedworker.html
setLength() fails without any capacity request.: FAIL (Chrome: FAIL)
setLength() succeeds when given the granted capacity - 1: FAIL (Chrome: FAIL)
setLength() succeeds when given the granted capacity: FAIL (Chrome: FAIL)
setLength() fails when given the granted capacity + 1: FAIL (Chrome: FAIL)
/native-io/write_capacity_allocation_async.tentative.https.any.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_capacity_allocation_async.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_capacity_allocation_async.tentative.https.any.sharedworker.html
write() fails without any capacity request.: FAIL (Chrome: FAIL)
write() succeeds when given a buffer of length granted capacity - 1: FAIL (Chrome: FAIL)
write() succeeds when given the granted capacity: FAIL (Chrome: FAIL)
write() fails when given the granted capacity + 1: FAIL (Chrome: FAIL)
/native-io/write_capacity_allocation_async.tentative.https.any.serviceworker.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.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.sharedworker.html
NativeIOFile.getLength returns number of bytes written byNativeIOFile.write: FAIL (Chrome: 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_async_basic.tentative.https.any.html
NativeIOFile.getLength returns number of bytes written byNativeIOFile.write: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2fcf5a846a69
[wpt PR 27507] - NativeIO: Add quota to async Blink interface, a=testonly
https://hg.mozilla.org/integration/autoland/rev/f8cf09e52a46
[wpt PR 27507] - 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.