lib: modify DOMException
to pass WPT
#41517
+468
−4
Closed
DOMException
to pass WPT
#41517