This test requires testRunner and window.internals.