summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/browser/file_contentTitle.html
blob: 8d330aa0f25f0e1bcfc99c548bfa41c1d7a8db6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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>