chromium/third_party/blink/web_tests/http/tests/security/resources/iframe-invalid-domain-change.html

<body>
Some text here.
<script>
// Should not change the domain.
try {
  document.domain = 'apple.com';
} catch (e) {
}

</script>
</body>