Bug
1644897 [wpt PR 24100] - Reland "Remove Document::IsFeatureEnabled, use the ExecutionContext variants instead.", a=testonly
Automatic update from web-platform-tests
Reland "Remove Document::IsFeatureEnabled, use the ExecutionContext variants instead."
Was reverted because of callsites where GetDocument() was guaranteed
non-null, but GetExecutionContext() might be null if the Document is
detached. Fixed and added regression tests for the places where we got
crash reports.
Bug:
1029822
Change-Id: I2fb16bb8a90613b92a4603289bd7df20ffa992a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2238891
Commit-Queue: Nate Chapin <japhet@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#777449}
--
wpt-commits:
c3514a1ed476f5e2b9e0d55ddc1cc151f655acc8
wpt-pr: 24100