mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Use Heap in DOM object reflector implementation to ensure GC barriers are used.
This commit is contained in:
parent
be3f35878a
commit
e5eaab3523
4 changed files with 19 additions and 26 deletions
|
@ -58,6 +58,7 @@
|
|||
var p = new Promise(function() {});
|
||||
var start = Date.now();
|
||||
t.resolvePromiseDelayed(p, 'success', 100);
|
||||
test.step_timeout(function() { window.gc() }, 0);
|
||||
return p.then(function(v) {
|
||||
var end = Date.now();
|
||||
assert_greater_than_equal(end - start, 100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue