Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
document-domain directive controls whether the current document is allowed to set
document.domain. When this policy is disabled, attempting to set
document.domain will fail and cause a
DOMException to be thrown.