Closed Bug 1830708 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 39773 - Fix crash with Request in detached realm

Categories

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

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Adam Rice <ricea@chromium.org> wrote:

Fix crash with Request in detached realm

Constructing a Request object from another Request object with a
non-empty body in a detached realm would crash.

Fix it by not attempting to enter a ScriptState Scope when the realm is
detached.

BUG=1427266

Change-Id: Ie453a1acb62c07007b4bd3a650bee22e76ac08df
Reviewed-on: https://chromium-review.googlesource.com/4496167
WPT-Export-Revision: 7cb9c729e3918fc1b6e1f1b7a7c4c4b97d16a886

Component: web-platform-tests → DOM: Networking
Product: Testing → Core
Try push failed: decision task HqtlqwnlRJefDMRCH8W1WA returned error
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Try push failed: decision task NFkbqzSOSwKJU9iaTKh2XA returned error

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/738c4f16701c [wpt PR 39773] - Fix crash with Request in detached realm, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.