Added Safari 16 to supported browsers

This commit is contained in:
Steve Gravrock
2022-10-22 11:43:03 -07:00
parent 87f9ab29df
commit 5e650953cd
4 changed files with 6 additions and 3 deletions

View File

@@ -80,7 +80,8 @@ getJasmineRequireObj().clearStack = function(j$) {
SAFARI ||
j$.util.isUndefined(global.MessageChannel) /* tests */
) {
// queueMicrotask is dramatically faster than MessageChannel in Safari.
// queueMicrotask is dramatically faster than MessageChannel in Safari,
// at least through version 16.
// Some of our own integration tests provide a mock queueMicrotask in all
// environments because it's simpler to mock than MessageChannel.
return browserQueueMicrotaskImpl(global);