Closed Bug 1940426 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 49965 - [text-box-trim] Rewind the stream when `ConsumeTextBoxEdge` fails

Categories

(Core :: Layout: Block and Inline, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[text-box-trim] Rewind the stream when ConsumeTextBoxEdge fails

This patch fixes ConsumeTextBoxEdge to rewind the input
stream if the parsing fails in the middle of the consumption.

Bug: 385160696
Change-Id: Ib8ffbf6ab9731dd4443536ef13abefe5c354b63c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6151521
Reviewed-by: Kent Tamura \<tkent@chromium.org>
Auto-Submit: Koji Ishii \<kojii@chromium.org>
Commit-Queue: Kent Tamura \<tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1403286}

Component: web-platform-tests → Layout: Block and Inline
Product: Testing → Core

CI Results

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

Total 1 tests and 21 subtests

Status Summary

Firefox

OK : 1
PASS: 21

Chrome

OK : 1
PASS: 20
FAIL: 1

Safari

OK : 1
PASS: 18
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c025066b4e23 [wpt PR 49965] - [text-box-trim] Rewind the stream when `ConsumeTextBoxEdge` fails, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.