forked from mirrors/gecko-dev
This patch adds two tests, one for the mochitest and another for WPT. Both tests will test the case of loading the about:blank page. And mochitest tests the case of setting document.domain additionally. The WPT framework won't support testing the document.domain case, so there is no such test in the WPT. Differential Revision: https://phabricator.services.mozilla.com/D101360
12 lines
157 B
HTML
12 lines
157 B
HTML
<html>
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
window.onload = () => {
|
|
opener.location.href = "about:blank";
|
|
window.close();
|
|
};
|
|
</script>
|
|
</body>
|
|
</html>
|