Closed Bug 1794441 Opened 2 years ago Closed 1 year ago

Add WPT tests for full ASCII set and non-ASCII chars for OPFS filenames

Categories

(Core :: DOM: File, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: jesup, Assigned: jesup)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Must exclude '/' per the spec. Assumes that the "platform-specific file separators" bit will be removed from the spec (so we can use '' on all platforms). We don't include the non-printable characters from ASCII (values <32 except for LF/CR/FF/TAB/VT, and exclude DEL) since those won't convert to JS chars.

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/934279c489b2
Add wpt tests for every ASCII character and for non-ASCII characters r=dom-storage-reviewers,jari

Backed out for causing wpt failures on FileSystemDirectoryHandle-getFileHandle.https.any.html

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | /fs/FileSystemDirectoryHandle-getFileHandle.https.any.html | getFileHandle(create=true) creates an empty file with all valid ASCII characters in the name - promise_test: Unhandled rejection with value: object "TypeError: Invalid filename"
Pushed by rjesup@wgate.com:
https://hg.mozilla.org/integration/autoland/rev/196179e9bedf
Add wpt tests for every ASCII character and for non-ASCII characters r=dom-storage-reviewers,jari
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37384 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
Upstream PR merged by moz-wptsync-bot
Flags: needinfo?(rjesup)
Flags: needinfo?(jjalkanen)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: