| Index: third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
|
| index 8db8e15b405f1360d2bd4590c66b6527e3850965..583edbfaa551e8b57c6a2092f0d15b78f47b7d5e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
|
| @@ -12,7 +12,7 @@ WebInspector.EventListenerBreakpointsSidebarPane = function()
|
| WebInspector.SidebarPane.call(this, WebInspector.UIString("Event Listener Breakpoints"));
|
| this.registerRequiredCSS("components/breakpointsList.css");
|
|
|
| - this._eventListenerBreakpointsSetting = WebInspector.settings.createLocalSetting("eventListenerBreakpoints", []);
|
| + this._eventListenerBreakpointsSetting = WebInspector.settings.createLocalSetting("eventListenerBreakpoints", [{eventName: "instrumentation:scriptBlockedByCSP", targetNames: ["*"]}]);
|
|
|
| this._categoriesTreeOutline = new TreeOutline();
|
| this._categoriesTreeOutline.element.tabIndex = 0;
|
| @@ -35,7 +35,7 @@ WebInspector.EventListenerBreakpointsSidebarPane = function()
|
| this._createCategory(WebInspector.UIString("Mouse"), ["click", "dblclick", "mousedown", "mouseup", "mouseover", "mousemove", "mouseout", "mouseenter", "mouseleave", "mousewheel", "wheel", "contextmenu"]);
|
| this._createCategory(WebInspector.UIString("Parse"), ["setInnerHTML"], true);
|
| this._createCategory(WebInspector.UIString("Pointer"), ["pointerover", "pointerout", "pointerenter", "pointerleave", "pointerdown", "pointerup", "pointermove", "pointercancel", "gotpointercapture", "lostpointercapture"]);
|
| - this._createCategory(WebInspector.UIString("Script"), ["scriptFirstStatement"], true);
|
| + this._createCategory(WebInspector.UIString("Script"), ["scriptFirstStatement", "scriptBlockedByCSP"], true);
|
| this._createCategory(WebInspector.UIString("Timer"), ["setTimer", "clearTimer", "timerFired"], true);
|
| this._createCategory(WebInspector.UIString("Touch"), ["touchstart", "touchmove", "touchend", "touchcancel"]);
|
| this._createCategory(WebInspector.UIString("WebGL"), ["webglErrorFired", "webglWarningFired"], true);
|
| @@ -62,6 +62,7 @@ WebInspector.EventListenerBreakpointsSidebarPane.eventNameForUI = function(event
|
| "instrumentation:clearTimer": WebInspector.UIString("Clear Timer"),
|
| "instrumentation:timerFired": WebInspector.UIString("Timer Fired"),
|
| "instrumentation:scriptFirstStatement": WebInspector.UIString("Script First Statement"),
|
| + "instrumentation:scriptBlockedByCSP": WebInspector.UIString("Script Blocked by Content-Security-Policy"),
|
| "instrumentation:requestAnimationFrame": WebInspector.UIString("Request Animation Frame"),
|
| "instrumentation:cancelAnimationFrame": WebInspector.UIString("Cancel Animation Frame"),
|
| "instrumentation:animationFrameFired": WebInspector.UIString("Animation Frame Fired"),
|
|
|