chromium/third_party/blink/web_tests/fast/forms/resources/popup-close-after-navigation.html

<!DOCTYPE html>
<html>
<div id="content">FAIL</div>
<script>

if (window.chrome && chrome.gpuBenchmarking) {
    let pointerActions =
        [{source: "mouse",
          actions: [
            { name: "pointerMove", x: 50, y: 50 },
            { name: "pointerDown", x: 50, y: 50, button: 0},
            { name: "pointerUp", button: 0 }]}];

    chrome.gpuBenchmarking.pointerActionSequence(pointerActions, () => {
        content.innerHTML = "PASS - The popup isn't present.";
        testRunner.notifyDone();
    });
}
else {
    testRunner.notifyDone();
}
</script>
</html>