Changeset 46345 in webkit


Ignore:
Timestamp:
Jul 24, 2009 2:14:46 AM (15 years ago)
Author:
abarth@webkit.org
Message:

2009-07-24 Joseph Pecoraro <joepeck02@gmail.com>

Reviewed by Timothy Hatcher.

typing "document.proto" in inspector throws exception
https://bugs.webkit.org/show_bug.cgi?id=27169

  • inspector/front-end/utilities.js: (Object.type):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r46344 r46345  
     12009-07-24  Joseph Pecoraro  <joepeck02@gmail.com>
     2
     3        Reviewed by Timothy Hatcher.
     4
     5        typing "document.__proto__" in inspector throws exception
     6        https://bugs.webkit.org/show_bug.cgi?id=27169
     7
     8        * inspector/front-end/utilities.js:
     9        (Object.type):
     10
    1112009-07-24  Andrei Popescu  <andreip@google.com>
    212
  • trunk/WebCore/inspector/front-end/utilities.js

    r42438 r46345  
    3939
    4040    if (obj instanceof win.Node)
    41         return "node";
     41        return (obj.nodeType === undefined ? type : "node");
    4242    if (obj instanceof win.String)
    4343        return "string";
Note: See TracChangeset for help on using the changeset viewer.