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
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
highlight-interfaces.html
highlight-map-and-group-expected.txt
highlight-map-and-group.html
highlight-pseudo-element-style-expected.txt
highlight-pseudo-element-style.html
highlight-world-leak-expected.txt
highlight-world-leak.html