HomePhabricator

Ignore exceptions from document.querySelector()

Authored by Catrope.

Description

Ignore exceptions from document.querySelector()

In Firefox and Safari, passing selectors with pseudo-elements
into querySelector() can cause it to throw an exception.
Ignore these exceptions rather than aborting the selector audit.

Bug: T112650
Change-Id: I9a1bd5eb6ff5ea11eb70ff5bda994b4e51d2431e