Open Bug 1794128 Opened 2 years ago Updated 2 years ago

Respond to comments on WPT fixes for OPFS

Categories

(Core :: DOM: File, defect, P3)

defect

Tracking

()

ASSIGNED

People

(Reporter: jesup, Assigned: jesup)

References

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Assignee: nobody → rjesup
Assignee: nobody → rjesup
Status: NEW → ASSIGNED

Comment on attachment 9297598 [details]
Bug 1794128: Clean up WPT tests for OPFS move() when there's something in the destination r=#dom-storage-reviewers

Revision D158844 was moved to bug 1794129. Setting attachment 9297598 [details] to obsolete.

Attachment #9297598 - Attachment is obsolete: true
Severity: -- → S3
Priority: -- → P3
Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/38058a725401 Clean up WPT tests for OPFS move() when there's something in the destination r=dom-storage-reviewers,jari
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/36823 for changes under testing/web-platform/tests

Backed out for causing wpt failures on FileSystemFileHandle-move.https.any.worker.html

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | /fs/FileSystemFileHandle-move.https.any.worker.html | move(name) when there is a file at the destination fails - promise_test: Unhandled rejection with value: object "TypeError: navigator.storage.getDirectory is not a function"
Flags: needinfo?(rjesup)
Upstream PR was closed without merging

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jesup, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit auto_nag documentation.

Flags: needinfo?(rjesup)
Flags: needinfo?(jjalkanen)
Pushed by rjesup@wgate.com: https://hg.mozilla.org/integration/autoland/rev/c310f328188e Clean up WPT tests for OPFS move() when there's something in the destination r=dom-storage-reviewers,jari

Backed out for causing wpt failures on FileSystemFileHandle-move.https.any.worker.html

Backout link

Push with failures

Failure log

No longer blocks: OPFS
Depends on: 1792674
Flags: needinfo?(jjalkanen)

Hi Jari, once bug 1792674 will be fixed, is there anything left to do here? Reland Randell's patch?

Flags: needinfo?(rjesup)
Flags: needinfo?(jjalkanen)

The working group arrived at the conclusion that OPFS should overwrite without questions (see whatwg/fs/pull/10) to align with the posix convention. To avoid overwriting, applications can check for name conflicts before attempting a move.

The tests in the patch are for the old behavior (where an error was expected) and can probably be safely archived.

Flags: needinfo?(jjalkanen)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: