blob: 12bf1116ddd8f41d43e98113478cb3b136a205ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// META: title=Scheduler: scheduler should be replaceable
// META: global=window,worker
'use strict';
test(() => {
class Scheduler {
constructor() {
scheduler = this;
}
}
new Scheduler();
}, 'Tests replacing window.scheduler with a different object');
|