Remove code to support browsers that don't have MessageChannel

Jasmine hasn't actually run in any such browsers since 2.x.
This commit is contained in:
Steve Gravrock
2025-11-12 21:53:29 -08:00
parent 9c2ffae2f9
commit bdf63f2402
5 changed files with 53 additions and 219 deletions

View File

@@ -1118,6 +1118,13 @@ describe('Env integration', function() {
removeEventListener() {},
queueMicrotask: function(fn) {
queueMicrotask(fn);
},
// Enough Node globals to make getStackClearer() return the microtask
// implementation, which is the easiest to mock
process: {
versions: {
node: ''
}
}
}
});
@@ -1194,6 +1201,13 @@ describe('Env integration', function() {
removeEventListener() {},
queueMicrotask: function(fn) {
queueMicrotask(fn);
},
// Enough Node globals to make getStackClearer() return the microtask
// implementation, which is the easiest to mock
process: {
versions: {
node: ''
}
}
}
});
@@ -2807,6 +2821,13 @@ describe('Env integration', function() {
},
queueMicrotask: function(fn) {
queueMicrotask(fn);
},
// Enough Node globals to make getStackClearer() return the microtask
// implementation, which is the easiest to mock
process: {
versions: {
node: ''
}
}
};