HomePhabricator Dev

rMOZILLARELEASE9ea48d16df28

Bug 1611189 [wpt PR 21380] - Replace some more "assert_throws(new FooError(), stuff)" calls with a…, a=testonly

Automatic update from web-platform-tests
Replace some more "assert_throws(new FooError(), stuff)" calls with assert_throws_js or assert_throws_dom. (#21380)

This diff was generated by running:

find . -type f -print0 | xargs -0 perl -pi -e 'BEGIN { $/ = undef; } s/assert_throws\(([ \n]*)new ([A-Za-z]*Error) *\(\) *(, *.)/assert_throws_js(\1\2\3/gs'

on the relevant files and then:

1)…
Author: bzbarsky
Commit Date: Jan 23 2020