haikuwebkit/LayoutTests/highlight
Rob Buis 3100735bd8 Null check selector.argumentList()
https://bugs.webkit.org/show_bug.cgi?id=220392

Patch by Rob Buis <rbuis@igalia.com> on 2021-01-13
Reviewed by Wenson Hsieh.

Source/WebCore:

Null check selector.argumentList().

Test: highlight/highlight-crash.html

* css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne const):

LayoutTests:

Add test that triggers the relevant code path.

* highlight/highlight-crash-expected.txt: Added.
* highlight/highlight-crash.html: Added.

Canonical link: https://commits.webkit.org/233011@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-01-13 21:04:12 +00:00
..
resources Rename HighlightMap to HighlightRegister and HighlightRangeGroup to Highlight to match current spec 2020-10-20 23:58:03 +00:00
highlight-crash-expected.txt Null check selector.argumentList() 2021-01-13 21:04:12 +00:00
highlight-crash.html Null check selector.argumentList() 2021-01-13 21:04:12 +00:00
highlight-interfaces-expected.txt Rename HighlightMap to HighlightRegister and HighlightRangeGroup to Highlight to match current spec 2020-10-20 23:58:03 +00:00
highlight-interfaces.html Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
highlight-map-and-group-expected.txt Rename HighlightMap to HighlightRegister and HighlightRangeGroup to Highlight to match current spec 2020-10-20 23:58:03 +00:00
highlight-map-and-group.html Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
highlight-pseudo-element-style-expected.txt Support for resolving highlight pseudo element style 2019-12-06 19:18:16 +00:00
highlight-pseudo-element-style.html Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
highlight-world-leak-expected.txt Paint highlights specified in CSS Highlight API 2019-12-21 01:33:10 +00:00
highlight-world-leak.html Code pattern in GC tests in LayoutTests is broken 2020-05-08 17:14:15 +00:00