Changeset 50880 in webkit


Ignore:
Timestamp:
Nov 12, 2009 9:00:22 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-11-12 Patrick Mueller <Patrick_Mueller@us.ibm.com>

Reviewed by Timothy Hatcher.

Web Inspector: breakpoints in named evals are not restored after a reload
https://bugs.webkit.org/show_bug.cgi?id=31375

Manual test added

  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.addScript):
  • manual-tests/inspector/bp-in-named-eval-after-reload.html: Added.
Location:
trunk/WebCore
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r50876 r50880  
     12009-11-12  Patrick Mueller  <Patrick_Mueller@us.ibm.com>
     2
     3        Reviewed by Timothy Hatcher.
     4
     5        Web Inspector: breakpoints in named evals are not restored after a reload
     6        https://bugs.webkit.org/show_bug.cgi?id=31375
     7
     8        Manual test added
     9
     10        * inspector/front-end/ScriptsPanel.js:
     11        (WebInspector.ScriptsPanel.prototype.addScript):
     12        * manual-tests/inspector/bp-in-named-eval-after-reload.html: Added.
     13
    1142009-11-12  Benjamin Poulain  <benjamin.poulain@nokia.com>
    215
  • trunk/WebCore/inspector/front-end/ScriptsPanel.js

    r50529 r50880  
    277277        }
    278278
     279        sourceURL = script.sourceURL;
     280
     281        if (sourceID)
     282            this._sourceIDMap[sourceID] = (resource || script);
     283
    279284        if (sourceURL in this._breakpointsURLMap && sourceID) {
    280285            var breakpoints = this._breakpointsURLMap[sourceURL];
     
    294299            }
    295300        }
    296 
    297         if (sourceID)
    298             this._sourceIDMap[sourceID] = (resource || script);
    299301
    300302        this._addScriptToFilesMenu(script);
Note: See TracChangeset for help on using the changeset viewer.