forked from mirrors/gecko-dev
Though the test funtion is called twice since the parent document reloads the iframe document, but the test will not run for the second call since it's prevented by `testRunning` flag in test_bug851485.html. Differential Revision: https://phabricator.services.mozilla.com/D122662
17 lines
372 B
HTML
17 lines
372 B
HTML
<!DOCTYPE HTML>
|
|
<html><head>
|
|
<meta charset="utf-8">
|
|
<title>Testcase for bug </title>
|
|
<link rel="stylesheet" href="file_bug842853.sjs">
|
|
</head>
|
|
<body>
|
|
|
|
<a href="#anchor">Click to scroll to anchor</a><div style="height:5000px"></div><a name="anchor">FAIL</a>
|
|
<script>
|
|
window.addEventListener("load", () => {
|
|
window.parent.runTest();
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|