HomePhabricator Dev

rMOZILLARELEASE5ad9b4d98417

Bug 1613239 [wpt PR 21582] - Replace some "promise_rejects(t, new FooError, stuff)" calls with pro…, a=testonly

Automatic update from web-platform-tests
Replace some "promise_rejects(t, new FooError, stuff)" calls with promise_rejects_js.

This diff was generated by running:

find . -type f -print0 | xargs -0 perl -pi -e 'BEGIN { $/ = undef; } s/promise_rejects\(([ \n]*[a-zA-Z_]+[ \n]*,[ \n]*)(?:new )?([A-Z][A-Za-z]*Error) *(?:\(\))? *(, *.)/promise_rejects_js(\1\2\3/gs'

(which allows the optional…
Author: bzbarsky
Commit Date: Feb 12 2020