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