DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (5f4bdea13693)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<html>
<body>

<div id='name'></div>

<script>
if (location.search == "?1") {
  open("http://example.com/tests/dom/browser-element/mochitest/file_browserElement_OpenWindowDifferentOrigin.html?2");
} else if (location.search == "?2") {
  alert("finish");
}

// eslint-disable-next-line no-unsanitized/property
document.getElementById("name").innerHTML = location.search;
</script>

</body>
</html>