-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update audit.js and fix error catching logic in should().throw()
Fetch/update audit.js in non-WPT layout tests and also fix the error in the error catching logic in should().throw() assertion. The updated code checks if the |error| object passed by try/catch is "DOMException". This is unnecessarily specific, so this CL changes the check to look for the "Error" type, which is more generic. Bug: 865614 Test: All layout tests pass. Change-Id: I16acacb26c194a0ff950aca05e931195bf55167f
- Loading branch information
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters