NEW 156866
Web Inspector: "document" and "window" are evaluated on the page a lot
https://bugs.webkit.org/show_bug.cgi?id=156866
Summary Web Inspector: "document" and "window" are evaluated on the page a lot
Timothy Hatcher
Reported 2016-04-21 14:06:28 PDT
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.
Attachments
Screenshot (272.58 KB, image/png)
2016-04-21 14:06 PDT, Timothy Hatcher
no flags
Radar WebKit Bug Importer
Comment 1 2016-04-21 14:06:59 PDT
Blaze Burg
Comment 2 2017-02-10 18:02:52 PST
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.
Note You need to log in before you can comment on or make changes to this bug.