21 lines
427 B
HTML
21 lines
427 B
HTML
<!-- webkit-test-runner [ useEphemeralSession=true ] -->
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<script src="../../resources/js-test.js"></script>
|
|
<script>
|
|
description("Tests that window.open() is working in ephemeral sessions");
|
|
jsTestIsAsync = true;
|
|
|
|
if (window.testRunner)
|
|
testRunner.setCanOpenWindows(true);
|
|
|
|
onload = () => {
|
|
w = open("about:blank");
|
|
shouldBeTrue("!!w");
|
|
finishJSTest();
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|