fune/dom/base/test/file_bug907892.html
2019-09-02 11:22:27 +00:00

12 lines
252 B
HTML

<!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>