W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2011

[Bug 14750] Clarify what the origin of the new document is if the document is blown away (consider if the old document set document.domain)

From: <bugzilla@jessica.w3.org>
Date: Fri, 11 Nov 2011 07:16:26 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1ROlLe-0000PX-Gi@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14750

--- Comment #2 from Simon Pieters <simonp@opera.com> 2011-11-11 07:16:26 UTC ---
http://example.org

<iframe src=http://foo.example.org/></iframe>
<script>
document.domain = 'example.org';
onload = function(){
  window[0].document.write('foo');
}
</script>


http://foo.example.org

<script>
document.domain = 'example.org';
</script>

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 11 November 2011 07:16:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 11 November 2011 07:16:38 GMT