Closed
Bug 1796204
Opened 2 years ago
Closed 2 years ago
Fix OPFS wpt test for WritableFileStream writing an invalid blob
Categories
(Core :: DOM: File, defect, P3)
Core
DOM: File
Tracking
()
RESOLVED
FIXED
108 Branch
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: jesup, Assigned: jesup)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
The WPT test for writing an invalid blob via WritableFileStream tests that the stream throws a TypeError when close()d after throwing for the invalid blob. There's nothing in the spec to support this behavior that I can find.
Assignee | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
I think at least for WritableStreams this behavior would be correct: https://streams.spec.whatwg.org/#writable-stream-close throws a TypeError when the stream is errored.
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P3
Pushed by rjesup@wgate.com:
https://hg.mozilla.org/integration/autoland/rev/b960d2da538d
fix OPFS WritableFileStream wpt test for invalid blob r=dom-storage-reviewers,jari
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/36822 for changes under testing/web-platform/tests
Comment 5•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox108:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•