зеркало из https://github.com/mozilla/gecko-dev.git
15 строки
378 B
HTML
15 строки
378 B
HTML
<html>
|
|
<head><title>Test Page</title></head>
|
|
<body>
|
|
<script type="text/javascript">
|
|
dump("Script!\n");
|
|
addEventListener("load", () => {
|
|
// Trigger an onLocationChange event. We want to make sure the title is still correct afterwards.
|
|
location.hash = "#x2";
|
|
var event = new Event("TestLocationChange");
|
|
document.dispatchEvent(event);
|
|
}, false);
|
|
</script>
|
|
</body>
|
|
</html>
|