[wpt-sync] Sync PR 56259 - Fix crash when two identical stylesheets don't produce RuleSets
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox147 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 56259 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/56259
Details from upstream follow.
Anders Hartvoll Ruud <andruud@chromium.org> wrote:
Fix crash when two identical stylesheets don't produce RuleSets
This is a regression from CL:7185810: I forgot that StyleEngine::
RuleSetForSheet can return nullptr if the associated "media" attribute
doesn't match.Fixed: 463405540
Change-Id: I836ad560038918d8aefb20c512ca535420ddf39c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7203284
Commit-Queue: Anders Hartvoll Ruud \<andruud@chromium.org>
Reviewed-by: Steinar H Gunderson \<sesse@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1549691}
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Comment 4•11 months ago
|
||
| bugherder | ||
Description
•