https://github.com/web-platform-tests/wpt
Revision 168e0e121c233c19292757f66fd949a444efffc1 authored by Philip Jägenstedt on 04 April 2018, 15:24:36 UTC, committed by Blink WPT Bot on 04 April 2018, 15:45:44 UTC
This was discovered in
https://chromium-review.googlesource.com/c/chromium/src/+/980757 by
letting assert_throws also check that the message matches. That change
itself isn't a good idea, but it's still just as well to use plain
TypeErrors here to not make it seems like more is being tested than in
fact is.

Change-Id: I8f964e9b25cc94942cb86f3ee0017530f230e04a
Reviewed-on: https://chromium-review.googlesource.com/995192
Reviewed-by: Adam Rice <ricea@chromium.org>
Reviewed-by: Mounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548060}
1 parent e502344
History
Tip revision: 168e0e121c233c19292757f66fd949a444efffc1 authored by Philip Jägenstedt on 04 April 2018, 15:24:36 UTC
Simplify assert_throws in two places where error messages were passed
Tip revision: 168e0e1

back to top