Closed
Bug 1565629
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 17806 - [Native File System] Limit entire API surface to secure contexts.
Categories
(Testing :: web-platform-tests, task, P4)
Testing
web-platform-tests
Tracking
(firefox70 fixed)
RESOLVED
FIXED
mozilla70
| Tracking | Status | |
|---|---|---|
| firefox70 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 17806 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/17806
Details from upstream follow.
Marijn Kruisselbrink <mek@chromium.org> wrote:
[Native File System] Limit entire API surface to secure contexts.
Also verify in browser process that all access is from potentially
trustworthy origins.Bug: 971408
Change-Id: Iab770c831be67603a728e8aa55229b4048a410f3
Reviewed-on: https://chromium-review.googlesource.com/1699442
WPT-Export-Revision: eb3c82c763a6a197eb6e99f0c05b27c551adb03c
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=d3c5e5baee8ae64bc5d15fb15b68f8b437c3b842
Updated•6 years ago
|
Type: -- → task
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
Ran 5 tests and 54 subtests
OK : 5
FAIL : 54
New tests that have failures or other problems:
/native-file-system/FileSystemBaseHandle-remove.tentative.https.window.html
Cleanup to setup test environment: FAIL
remove() on a non-empty directory should fail: FAIL
remove() on an already removed file should fail: FAIL
remove() to remove a file: FAIL
remove() to remove an empty directory: FAIL
/native-file-system/FileSystemDirectoryHandle-getDirectory.tentative.https.window.html
Cleanup to setup test environment: FAIL
getDirectory() when a file already exists with the same name: FAIL
getDirectory() with "." name: FAIL
getDirectory() with ".." name: FAIL
getDirectory() with empty name: FAIL
getDirectory(create=false) rejects for non-existing directories: FAIL
getDirectory(create=false) returns existing directories: FAIL
getDirectory(create=false) with a path separator when the directory exists: FAIL
getDirectory(create=true) creates an empty directory: FAIL
getDirectory(create=true) returns existing directories without erasing: FAIL
getDirectory(create=true) with a path separator: FAIL
/native-file-system/FileSystemDirectoryHandle-getFile.tentative.https.window.html
Cleanup to setup test environment: FAIL
getFile() with "." name: FAIL
getFile() with ".." name: FAIL
getFile() with empty name: FAIL
getFile(create=false) rejects for non-existing files: FAIL
getFile(create=false) returns existing files: FAIL
getFile(create=false) when a directory already exists with the same name: FAIL
getFile(create=false) with a path separator when the file exists.: FAIL
getFile(create=true) creates an empty file for non-existing files: FAIL
getFile(create=true) returns existing files without erasing: FAIL
getFile(create=true) when a directory already exists with the same name: FAIL
getFile(create=true) with a path separator: FAIL
/native-file-system/FileSystemWriter.tentative.https.window.html
Cleanup to setup test environment: FAIL
truncate() to grow a file: FAIL
truncate() to shrink a file: FAIL
write() a blob to an empty file: FAIL
write() called with a blob and a valid offset: FAIL
write() called with an invalid offset: FAIL
write() with a string with unix line ending preserved: FAIL
write() with a string with windows line ending preserved: FAIL
write() with a valid typed array buffer: FAIL
write() with a valid utf-8 string: FAIL
write() with an empty array buffer to an empty file: FAIL
write() with an empty blob to an empty file: FAIL
write() with an empty string to an empty file: FAIL
/native-file-system/NativeFileSystemWritableFileStream.tentative.https.window.html
Cleanup to setup test environment: FAIL
truncate() to grow a file: FAIL
truncate() to shrink a file: FAIL
write() a blob to an empty file: FAIL
write() called with a blob and a valid offset: FAIL
write() called with an invalid offset: FAIL
write() with a string with unix line ending preserved: FAIL
write() with a string with windows line ending preserved: FAIL
write() with a valid typed array buffer: FAIL
write() with a valid utf-8 string: FAIL
write() with an empty array buffer to an empty file: FAIL
write() with an empty blob to an empty file: FAIL
write() with an empty string to an empty file: FAIL
| Assignee | ||
Comment 6•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4a822e91264e7a2d233440b3d149b6a6693d70b8
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/008133999dc1
[wpt PR 17806] - [Native File System] Limit entire API surface to secure contexts., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/c34d9886e11a
[wpt PR 17806] - Update wpt metadata, a=testonly
Comment 8•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/008133999dc1
https://hg.mozilla.org/mozilla-central/rev/c34d9886e11a
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in
before you can comment on or make changes to this bug.
Description
•