Closed Bug 1945286 Opened 23 days ago Closed 21 days ago

[wpt-sync] Sync PR 50422 - Remove special boolean handling in ResolveToConfigResolved::React()

Categories

(Core :: DOM: Core & HTML, 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 50422 into mozilla-central (this bug is closed when the sync is complete).

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

Nate Chapin <japhet@chromium.org> wrote:

Remove special boolean handling in ResolveToConfigResolved::React()

Instead of following standard JS rules for coercing an aribtary value to
a boolean, it was treating non-booleans as false. A use counter shows
that this behavior isn't relied upon, so use the standard behavior.

Change-Id: I3b4424064f6728b8206166d3df86dd42b71af520
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6219805
Commit-Queue: Nate Chapin \<japhet@chromium.org>
Reviewed-by: Maks Orlovich \<morlovich@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1414449}

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

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
FAIL: 4

Chrome

OK : 1
FAIL: 4

Safari

OK : 1
FAIL: 4

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /fenced-frame/resolve-to-config-promise.https.html [wpt.fyi]
    • resolveToConfig set to a promise that resolves to true: FAIL (Chrome: FAIL, Safari: FAIL)
    • resolveToConfig set to a promise that resolves to false: FAIL (Chrome: FAIL, Safari: FAIL)
    • resolveToConfig set to a promise that immediately resolves: FAIL (Chrome: FAIL, Safari: FAIL)
    • resolveToConfig set to a promise that resolves to an non-boolean value: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7af7e7e18539 [wpt PR 50422] - Remove special boolean handling in ResolveToConfigResolved::React(), a=testonly
Status: NEW → RESOLVED
Closed: 21 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.