Changeset 85596 in webkit


Ignore:
Timestamp:
May 3, 2011 5:48:30 AM (13 years ago)
Author:
yurys@chromium.org
Message:

2011-05-03 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: remove special logic for type of document.proto
https://bugs.webkit.org/show_bug.cgi?id=60014

  • inspector/console/console-log-document-proto-expected.txt: Added.
  • inspector/console/console-log-document-proto.html: Added.
  • inspector/console/console-log-toString-object-expected.txt:
  • inspector/console/console-log-toString-object.html:

2011-05-03 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: remove special logic for type of document.proto
https://bugs.webkit.org/show_bug.cgi?id=60014

Test: inspector/console/console-log-document-proto.html

  • inspector/InjectedScriptSource.js: removed unnecessary check nodeType === undefined
Location:
trunk
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r85594 r85596  
     12011-05-03  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: remove special logic for type of document.__proto__
     6        https://bugs.webkit.org/show_bug.cgi?id=60014
     7
     8        * inspector/console/console-log-document-proto-expected.txt: Added.
     9        * inspector/console/console-log-document-proto.html: Added.
     10        * inspector/console/console-log-toString-object-expected.txt:
     11        * inspector/console/console-log-toString-object.html:
     12
    1132011-05-03  Philippe Normand  <pnormand@igalia.com>
    214
  • trunk/LayoutTests/inspector/console/console-log-toString-object-expected.txt

    • Property svn:executable deleted
  • trunk/LayoutTests/inspector/console/console-log-toString-object.html

    • Property svn:executable deleted
  • trunk/Source/WebCore/ChangeLog

    r85593 r85596  
     12011-05-03  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: remove special logic for type of document.__proto__
     6        https://bugs.webkit.org/show_bug.cgi?id=60014
     7
     8        Test: inspector/console/console-log-document-proto.html
     9
     10        * inspector/InjectedScriptSource.js: removed unnecessary check nodeType === undefined
     11
    1122011-05-03  Pavel Feldman  <pfeldman@google.com>
    213
  • trunk/Source/WebCore/inspector/InjectedScriptSource.js

    r85319 r85596  
    368368
    369369        if (obj instanceof inspectedWindow.Node)
    370             return (obj.nodeType === undefined ? type : "node");
     370            return "node";
    371371        if (obj instanceof inspectedWindow.String)
    372372            return "string";
Note: See TracChangeset for help on using the changeset viewer.