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)

defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: jesup, Assigned: jesup)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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.

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.

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
Status: NEW → RESOLVED
Closed: 2 years ago
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.

Attachment

General

Created:
Updated:
Size: