I hope this is the appropriate group otherwise please set a fitting
follow-up.
Firefox3 has tightened security when dealing with different DOMs in the
browser as I just figured out.
I have a page (A) that loads another XHTML document (B) via
XMLHTTPRequest. After load the request.responseXML holds my xhtml
document (B). I pick a certain node out of this document (newData) and
insert it into the page (placeholder), like
"placeholder.parentNode.replaceChild(newData, placeholder);"
This does work in Firefox 2 but throws the error in the subject in
Firefox 3 nightly. Now, I do understand that there is tightened security
and the behavior is probably right.
My Question is now: is there another way to achieve what I'm currently
doing? How can I get parts of (B) into (A)?
thanks
Jens
This was a change being made in
https://bugzilla.mozilla.org/show_bug.cgi?id=47903
See:
http://developer.mozilla.org/en/docs/DOM:document.importNode
http://developer.mozilla.org/en/docs/DOM:document.adoptNode
http://developer.mozilla.org/en/docs/Gecko_1.9_Changes_affecting_websites
for information how to solve your problem.
I hope this helps you.
Regards,
Martijn
2007/10/2, Jens Ansorg <je...@ja-web.de>:
> _______________________________________________
> dev-tech-dom mailing list
> dev-te...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-dom
>
--
Martijn Wargers - Help Mozilla!
http://weblogs.mozillazine.org/qa/
http://wiki.mozilla.org/Mozilla_QA_Community
irc://irc.mozilla.org/qa - /nick mw22
yes, great.
thanks for the pointers1
Jens