On Thu, Jan 24, 2013 at 7:13 PM, Geoffrey Garen <gga...@apple.com> wrote: >> Note that WebKit re-uses the same Document after a call to >> document.open(). I suspect we're unlikely to change that behavior >> anytime soon. > > Do we know of any websites that depend on this behavior?
I haven't tested this in a while, so I might be misremembering, but Gecko has magic to rewrite all JavaScript references to the old document to point to the new document. I don't know whether that magic is required by web compatibility, but I bet it is and I don't think we want to introduce more of that magic into WebKit. (We do something similar for Window today, but Window is a unique snowflake.) Adam _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev