Closed Bug 1654380 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24688 - [NativeFS] Update permissions API following spec change.

Categories

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

task

Tracking

(firefox81 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Marijn Kruisselbrink <mek@chromium.org> wrote:

[NativeFS] Update permissions API following spec change.

This implements the changes from https://github.com/WICG/native-file-system/pull/201.

Change-Id: I9702f9888c4f0fff2084143ac6077b8484dfce16
Reviewed-on: https://chromium-review.googlesource.com/2298296
WPT-Export-Revision: 000cd1bcdc15067d3cd8f56abaff46aa80880a00

CI Results

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

Total 10 tests and 1 subtests

Status Summary

Firefox

OK : 10
FAIL: 41

Chrome

OK : 10
FAIL: 41

Safari

OK : 10
FAIL: 39

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-Error.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
Fail to send messages to a data URI iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Fail to send and receive messages using a cross origin window.: FAIL (Chrome: FAIL, Safari: FAIL)
Fail to send and receive messages using a cross origin message port in an iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Fail to send messages using a message port in a data URI iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Fail to send and receive messages using a cross origin message port in a window.: FAIL (Chrome: FAIL, Safari: FAIL)
Fail to send messages using a message port to a sandboxed iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Fail to send to a sandboxed iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Fail to send messages using a message port to a sandboxed window.: FAIL (Chrome: FAIL, Safari: FAIL)
Fail to send and receive messages using a cross origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Fail to send messages to a sandboxed window.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-MessagePort-windows.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
Send and receive messages using a message port in a blob window.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a message port in a sandboxed same origin window.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a message port in a same origin window.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-file-system/sandboxed_FileSystemBaseHandle-IndexedDB.https.any.worker.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
Store handle in IndexedDB and read using a cursor.: FAIL (Chrome: FAIL, Safari: FAIL)
Store handle in IndexedDB using inline keys.: FAIL (Chrome: FAIL, Safari: FAIL)
Store handles and blobs in IndexedDB.: FAIL (Chrome: FAIL, Safari: FAIL)
Store handle in IndexedDB and read from new transaction.: FAIL (Chrome: FAIL, Safari: FAIL)
Store handle in IndexedDB and read from pending transaction.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-file-system/sandboxed_FileSystemBaseHandle-IndexedDB.https.any.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
Store handle in IndexedDB and read using a cursor.: FAIL (Chrome: FAIL, Safari: FAIL)
Store handle in IndexedDB using inline keys.: FAIL (Chrome: FAIL, Safari: FAIL)
Store handles and blobs in IndexedDB.: FAIL (Chrome: FAIL, Safari: FAIL)
Store handle in IndexedDB and read from new transaction.: FAIL (Chrome: FAIL, Safari: FAIL)
Store handle in IndexedDB and read from pending transaction.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-MessagePort-workers.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
Send and receive messages using a message port in a shared worker.: FAIL (Chrome: FAIL)
Send and receive messages using a message port in a service worker.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a message port in a dedicated worker.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-MessagePort-frames.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
Send and receive messages using a message port in a same origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a message port in a sandboxed same origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a message port in a blob iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a message port in an iframe srcdoc.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-windows.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
Send and receive messages using a same origin window.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a blob window.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a sandboxed same origin window.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-workers.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
Send and receive messages using a dedicated worker.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a shared worker.: FAIL (Chrome: FAIL)
Send and receive messages using a service worker.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-frames.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
Send and receive messages using a sandboxed same origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using an iframe srcdoc.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a same origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
Send and receive messages using a blob iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-BroadcastChannel.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
Send and receive messages using a broadcast channel in an iframe, dedicated worker and service worker.: FAIL (Chrome: FAIL, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-Error.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-MessagePort-windows.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
/native-file-system/sandboxed_FileSystemBaseHandle-IndexedDB.https.any.worker.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
/native-file-system/sandboxed_FileSystemBaseHandle-IndexedDB.https.any.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-MessagePort-workers.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-MessagePort-frames.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-windows.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-workers.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-frames.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)
/native-file-system/sandboxed_FileSystemBaseHandle-postMessage-BroadcastChannel.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug] (Chrome: OK, Safari: OK)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e390caa95e1
[wpt PR 24688] - [NativeFS] Update permissions API following spec change., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.