Changeset 69019 in webkit


Ignore:
Timestamp:
Oct 4, 2010 10:00:50 AM (14 years ago)
Author:
podivilov@chromium.org
Message:

2010-10-04 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: do not show breakpoint in front-end if it was not set in v8
https://bugs.webkit.org/show_bug.cgi?id=46749

  • bindings/v8/DebuggerScript.js: ():
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r69018 r69019  
     12010-10-04  Pavel Podivilov  <podivilov@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: do not show breakpoint in front-end if it was not set in v8
     6        https://bugs.webkit.org/show_bug.cgi?id=46749
     7
     8        * bindings/v8/DebuggerScript.js:
     9        ():
     10
    1112010-10-04  Alejandro G. Castro  <alex@igalia.com>
    212
  • trunk/WebCore/bindings/v8/DebuggerScript.js

    r67472 r69019  
    9999
    100100    var locations = Debug.findBreakPointActualLocations(breakId);
    101     var actualLineNumber = locations.length ? locations[0].line : args.lineNumber;
     101    if (!locations.length)
     102        return undefined;
     103    var actualLineNumber = locations[0].line;
    102104
    103105    var key = args.scriptId + ":" + actualLineNumber;
Note: See TracChangeset for help on using the changeset viewer.