blob: c641a24a1e7a3ba47e5b981ff2a5fa4987c3cf74 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/gc.js"></script>
<script>
if (window.internals)
internals.settings.setVisualViewportEnabled(true);
test(() => {
window.visualViewport.newValue = 23;
gc();
assert_equals(window.visualViewport.newValue, 23);
}, "window.visualViewport is SameObject");
</script>