Changeset 62658 in webkit


Ignore:
Timestamp:
Jul 7, 2010 6:06:37 AM (14 years ago)
Author:
yurys@chromium.org
Message:

2010-07-07 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: show functions from internal browser scripts on the call stack if they
are there.
https://bugs.webkit.org/show_bug.cgi?id=41762

  • English.lproj/localizedStrings.js:
  • inspector/front-end/CallStackSidebarPane.js: (WebInspector.CallStackSidebarPane.prototype.update):
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r62656 r62658  
     12010-07-07  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: show functions from internal browser scripts on the call stack if they
     6        are there.
     7        https://bugs.webkit.org/show_bug.cgi?id=41762
     8
     9        * English.lproj/localizedStrings.js:
     10        * inspector/front-end/CallStackSidebarPane.js:
     11        (WebInspector.CallStackSidebarPane.prototype.update):
     12
    1132010-07-07  Ilya Tikhonovsky  <loislo@chromium.org>
    214
  • trunk/WebCore/inspector/front-end/CallStackSidebarPane.js

    r59468 r62658  
    6262
    6363            scriptOrResource = sourceIDMap[callFrame.sourceID];
    64             subtitle = WebInspector.displayNameForURL(scriptOrResource.sourceURL || scriptOrResource.url);
     64            if (scriptOrResource)
     65                subtitle = WebInspector.displayNameForURL(scriptOrResource.sourceURL || scriptOrResource.url);
     66            else
     67                subtitle = WebInspector.UIString("(internal script)");
    6568
    6669            if (callFrame.line > 0) {
Note: See TracChangeset for help on using the changeset viewer.