Files
jasmine/lib/jasmine-core
Bjarki dc80a282ba Make j$.isError_ compatible with Trusted Types
The isError_ check uses a heuristic that calls the Function constructor
to determine if the given value is an Error object. This results in a
runtime violation in test suites that enforce Trusted Types.

Since Trusted Types are only supported in modern browsers (currently,
Chromium-based browsers), we can use a more straightforward heuristic in
environments where Trusted Types are supported.

Fixes #1910. See that thread for more details.
2021-07-01 20:21:44 +00:00
..
2019-11-22 17:47:20 -05:00
2014-03-11 13:40:28 -07:00
2021-03-13 13:52:10 -08:00
2021-05-08 12:06:49 -07:00
2021-05-13 17:18:57 -07:00
2014-06-27 10:51:02 +01:00
2021-03-13 13:52:10 -08:00
2021-03-18 17:28:04 -07:00