Closed Bug 1892971 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 45848 - Limit buffering in BufferingBytesConsumer

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Adam Rice <ricea@chromium.org> wrote:

Limit buffering in BufferingBytesConsumer

blink::BufferingBytesConsumer would continue buffering data until it ran
out of memory and crashed. Make it buffer at most 55MB before applying
backpressure instead.

Add web platform test for fetching a huge cacheable file to a stream and
applying back-pressure.

BUG=40264318

Change-Id: I4fc43a0df6030ef404f06eabafac1bcb39b7e6b3
Reviewed-on: https://chromium-review.googlesource.com/5477147
WPT-Export-Revision: ee352382b4350f73e62f2a33aa54d692fab59e62

Component: web-platform-tests → DOM: Networking
Product: Testing → Core

CI Results

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

Total 4 tests and 1 subtests

Status Summary

Firefox

OK : 4
PASS : 4

Chrome

OK : 2
PASS : 2
TIMEOUT: 3

Safari

OK : 4
PASS : 4

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/016f7602b5e8 [wpt PR 45848] - Limit buffering in BufferingBytesConsumer, a=testonly https://hg.mozilla.org/integration/autoland/rev/9bcd1adcf3d1 [wpt PR 45848] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.