Changeset 162136 in webkit


Ignore:
Timestamp:
Jan 16, 2014 11:06:41 AM (10 years ago)
Author:
BJ Burg
Message:

Web Inspector: add probe breakpoint action to popup breakpoint editor
https://bugs.webkit.org/show_bug.cgi?id=126931

Reviewed by Timothy Hatcher.

Add probes to the breakpoint action dropdown.
Reuse the "evaluate JavaScript" input UI.

  • Localizations/en.lproj/localizedStrings.js:
  • UserInterface/BreakpointAction.js:
  • UserInterface/BreakpointActionView.js:

(WebInspector.BreakpointActionView.displayStringForType):
(WebInspector.BreakpointActionView.prototype._updateBody.switch.break):

Location:
trunk/Source/WebInspectorUI
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r162096 r162136  
     12014-01-16  Brian Burg  <bburg@apple.com>
     2
     3        Web Inspector: add probe breakpoint action to popup breakpoint editor
     4        https://bugs.webkit.org/show_bug.cgi?id=126931
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        Add probes to the breakpoint action dropdown.
     9        Reuse the "evaluate JavaScript" input UI.
     10
     11        * Localizations/en.lproj/localizedStrings.js:
     12        * UserInterface/BreakpointAction.js:
     13        * UserInterface/BreakpointActionView.js:
     14        (WebInspector.BreakpointActionView.displayStringForType):
     15        (WebInspector.BreakpointActionView.prototype._updateBody.switch.break):
     16
    1172014-01-15  Brian Burg  <bburg@apple.com>
    218
  • trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js

    r162084 r162136  
    289289localizedStrings["Port"] = "Port";
    290290localizedStrings["Pretty print"] = "Pretty print";
     291localizedStrings["Probe Expression"] = "Probe Expression";
    291292localizedStrings["Processing Instruction"] = "Processing Instruction";
    292293localizedStrings["Profile %d"] = "Profile %d";
  • trunk/Source/WebInspectorUI/UserInterface/BreakpointAction.js

    r155133 r162136  
    4848    Log: "log",
    4949    Evaluate: "evaluate",
    50     Sound: "sound"
     50    Sound: "sound",
     51    Probe: "probe"
    5152}
    5253
  • trunk/Source/WebInspectorUI/UserInterface/BreakpointActionView.js

    r156340 r162136  
    7878    case WebInspector.BreakpointAction.Type.Sound:
    7979        return WebInspector.UIString("Play Sound");
     80    case WebInspector.BreakpointAction.Type.Probe:
     81        return WebInspector.UIString("Probe Expression");
    8082    default:
    8183        console.assert(false);
     
    140142
    141143        case WebInspector.BreakpointAction.Type.Evaluate:
     144        case WebInspector.BreakpointAction.Type.Probe:
    142145            this._bodyElement.hidden = false;
    143146
Note: See TracChangeset for help on using the changeset viewer.