blob: 65e68f509d78011da0b76a797b3f681dd50cb543 [file] [log] [blame]
description("Ensures that window.internals.observegc works as expected");
var testObject = { testProperty : "testValue" };
var observer = internals.observeGC(testObject);
testObject = null;
gc();
shouldBe('observer.wasCollected', 'true');