HomePhabricator

Ignore exceptions from document.querySelector()

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

Details

Provenance
CatropeAuthored on
oriCommitted on Sep 15 2015, 4:01 PM
Parents
rMW56f708070aac: Merge "resourceloader: Jobs created in request() should wait for executing…
Branches
Unknown
Tags
Unknown
ChangeId
I9a1bd5eb6ff5ea11eb70ff5bda994b4e51d2431e