<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/gc.js"></script>
<script>
test(() => {
    window.visualViewport.newValue = 23;
    gc();
    assert_equals(window.visualViewport.newValue, 23);
}, "window.visualViewport is SameObject");
</script>
