summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_bug907892.html
blob: bbd417a167336b7c4b4960079371d677db00cc47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<script>
  var threw;
  try {
    document.domain = "example.org";
    threw = false;
  } catch (e) {
    threw = true;
  }
  var sandboxed = (location.search == "?sandboxed");
  parent.postMessage({ threw: threw, sandboxed: sandboxed }, "*");
</script>