Created attachment 276957 [details] Screenshot Steps: 0) Make isWebKitInternalScript() and isWebKitInternalScript() always return false. 1) Inspect about:blank 2) Evaluate something in the console. 3) Click around i the Debugger sidebar. I would see a new "document" and "window" eval happen by just viewing a script resource. DOMTree.js does evaluate "document" in _requestRootDOMNode, but I would not expect it to happen like this. I am not sure where the "window" eval comes from.
<rdar://problem/25862114>
I'm 90% sure this is the result of our workaround to obtain a remote object for the document because we can't do it via protocol directly.