summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_bug907892.html
blob: 9f5948661ceb3d194cedcdb04407f459bc272f69 (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, sandboxed }, "*");
</script>