Changeset 64021 in webkit


Ignore:
Timestamp:
Jul 25, 2010 8:46:53 AM (14 years ago)
Author:
pfeldman@chromium.org
Message:

2010-07-25 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Web Inspector: check of jQuery object type prior to treating it as an array.

https://bugs.webkit.org/show_bug.cgi?id=42946

  • inspector/front-end/InjectedScript.js: (injectedScriptConstructor):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r64019 r64021  
     12010-07-25  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Reviewed by Timothy Hatcher.
     4
     5        Web Inspector: check of jQuery object type prior to treating it as an array.
     6
     7        https://bugs.webkit.org/show_bug.cgi?id=42946
     8
     9        * inspector/front-end/InjectedScript.js:
     10        (injectedScriptConstructor):
     11
    1122010-07-24  Daniel Bates  <dbates@rim.com>
    213
  • trunk/WebCore/inspector/front-end/InjectedScript.js

    r63961 r64021  
    546546    if (obj instanceof inspectedWindow.HTMLCollection)
    547547        return "array";
    548     if (inspectedWindow.jQuery && obj instanceof inspectedWindow.jQuery)
     548    if (typeof inspectedWindow.jQuery === "function" && obj instanceof inspectedWindow.jQuery)
    549549        return "array";
    550550    if (obj instanceof inspectedWindow.Error)
Note: See TracChangeset for help on using the changeset viewer.