[webkit-reviews] review requested: [Bug 27169] typing "document.__proto__" in inspector throws exception : [Attachment 33317] Javascript Workaround

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 22 23:53:17 PDT 2009


Joseph Pecoraro <joepeck02 at gmail.com> has asked  for review:
Bug 27169: typing "document.__proto__" in inspector throws exception
https://bugs.webkit.org/show_bug.cgi?id=27169

Attachment 33317: Javascript Workaround
https://bugs.webkit.org/attachment.cgi?id=33317&action=review

------- Additional Comments from Joseph Pecoraro <joepeck02 at gmail.com>
This would be the javascript workaround.  I looked into what Firefox does and
they don't report document.__proto__ as an instanceof Node!  So maybe that
would be the better route.

WebKit via Web Inspector:
> document.__proto__ instanceof window.Node
true

Firefox via Firebug:
> document.__proto__ instanceof window.Node
false


More information about the webkit-reviews mailing list