W3C home > Mailing lists > Public > public-webapi@w3.org > April 2008

Re: [selectors-api] NSResolver moving nodes between documents

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 14 Apr 2008 21:08:20 -0500
Message-ID: <48040E14.90800@mit.edu>
To: Jonas Sicking <jonas@sicking.cc>
CC: Web APIs WG <public-webapi@w3.org>

Jonas Sicking wrote:
> So this generally can't happen, except through implementation specific 
> quirks, no? I.e. a page can't create an NSResolver mutates nodes to the 
> point where it no longer has access to the page.

Sure it can.  Setting document.domain will do the trick, easily.

-Boris
Received on Tuesday, 15 April 2008 02:09:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 15 April 2008 02:09:08 GMT