<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
async_test(function(t) {
var observer = new PerformanceObserver(function() {
t.done();
});
gc();
observer.observe({entryTypes: ['mark', 'measure']});
window.performance.measure('measure_1');
}, 'Callback should be invoked after gc');
</script>