Re: nsIXMLDocumetn::Load fails in Firefox 3 Beta 4

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Jens Sorensen wrote:
> True, however I do think it should be back compatible and I do believe
> it is valid usage of the API. Will it be fixed in future build?

No.  For security reasons, you can't change the origin of a document with a 
document.load() call (or in any other way) anymore, which is what your setup 
tries to do.  XMLHttpRequest doesn't have this problem, because it doesn't 
create the document until it knows what origin to create it with.

Of course using document.load() on a URI that's same-origin with the calling 
code still works.

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.