Closed Bug 2063795 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 61961 - Fix chunked parser-blocking scripts in stream*HTMLUnsafe

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Noam Rosenthal <nrosenthal@chromium.org> wrote:

Fix chunked parser-blocking scripts in stream*HTMLUnsafe

The state machine had a DCHECK for parser-blocking in the middle of the
script, assuming we were not in the fragment parser.

The DCHECK should specifically allow the parser policy used for
streamHTMLUnsafe with runScripts.

Bug: 545823947
Change-Id: If4412d8e781db244349bb4d87184536bf025a85b
Reviewed-on: https://chromium-review.googlesource.com/8257431
WPT-Export-Revision: 8756bd3be036bc5a39141488a3a8b1232a66cad1

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
You need to log in before you can comment on or make changes to this bug.