Closed Bug 1769672 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34088 - [ImageDecoder] Ensure ReadableStream consumer is cancelled.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 34088 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/34088
Details from upstream follow.

Dale Curtis <dalecurtis@chromium.org> wrote:

[ImageDecoder] Ensure ReadableStream consumer is cancelled.

34dc1247e6267b54675f580862b909d927c5f124 mistakenly removed a call
to ReadableStreamBytesConsumer::Cancel() during some shutdown paths.

The consumer must be cancelled in all cases after activation or it
can issue calls back into the client we register after destruction.

R=japhet

Fixed: 1319714
Change-Id: I4495e470484ac66564d5ee271cd059bb7021117b
Reviewed-on: https://chromium-review.googlesource.com/3629902
WPT-Export-Revision: 4996a9da88b2544db9c976e34ce712a8a7b35106

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS : 1

Chrome

CRASH: 1

Safari

PASS : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7c7801abeb1f
[wpt PR 34088] - [ImageDecoder] Ensure ReadableStream consumer is cancelled., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.