| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 this._createCategory(WebInspector.UIString("Device"), ["deviceorientation",
"devicemotion"]); | 535 this._createCategory(WebInspector.UIString("Device"), ["deviceorientation",
"devicemotion"]); |
| 536 this._createCategory(WebInspector.UIString("Drag / drop"), ["dragenter", "dr
agover", "dragleave", "drop"]); | 536 this._createCategory(WebInspector.UIString("Drag / drop"), ["dragenter", "dr
agover", "dragleave", "drop"]); |
| 537 this._createCategory(WebInspector.UIString("Keyboard"), ["keydown", "keyup",
"keypress", "input"]); | 537 this._createCategory(WebInspector.UIString("Keyboard"), ["keydown", "keyup",
"keypress", "input"]); |
| 538 this._createCategory(WebInspector.UIString("Load"), ["load", "beforeunload",
"unload", "abort", "error", "hashchange", "popstate"]); | 538 this._createCategory(WebInspector.UIString("Load"), ["load", "beforeunload",
"unload", "abort", "error", "hashchange", "popstate"]); |
| 539 this._createCategory(WebInspector.UIString("Media"), ["play", "pause", "play
ing", "canplay", "canplaythrough", "seeking", "seeked", "timeupdate", "ended", "
ratechange", "durationchange", "volumechange", "loadstart", "progress", "suspend
", "abort", "error", "emptied", "stalled", "loadedmetadata", "loadeddata", "wait
ing"], false, ["audio", "video"]); | 539 this._createCategory(WebInspector.UIString("Media"), ["play", "pause", "play
ing", "canplay", "canplaythrough", "seeking", "seeked", "timeupdate", "ended", "
ratechange", "durationchange", "volumechange", "loadstart", "progress", "suspend
", "abort", "error", "emptied", "stalled", "loadedmetadata", "loadeddata", "wait
ing"], false, ["audio", "video"]); |
| 540 this._createCategory(WebInspector.UIString("Mouse"), ["click", "dblclick", "
mousedown", "mouseup", "mouseover", "mousemove", "mouseout", "mousewheel", "whee
l"]); | 540 this._createCategory(WebInspector.UIString("Mouse"), ["click", "dblclick", "
mousedown", "mouseup", "mouseover", "mousemove", "mouseout", "mousewheel", "whee
l"]); |
| 541 this._createCategory(WebInspector.UIString("Timer"), ["setTimer", "clearTime
r", "timerFired"], true); | 541 this._createCategory(WebInspector.UIString("Timer"), ["setTimer", "clearTime
r", "timerFired"], true); |
| 542 this._createCategory(WebInspector.UIString("Touch"), ["touchstart", "touchmo
ve", "touchend", "touchcancel"]); | 542 this._createCategory(WebInspector.UIString("Touch"), ["touchstart", "touchmo
ve", "touchend", "touchcancel"]); |
| 543 this._createCategory(WebInspector.UIString("XHR"), ["readystatechange", "loa
d", "loadstart", "loadend", "abort", "error", "progress", "timeout"], false, ["X
MLHttpRequest", "XMLHttpRequestUpload"]); | 543 this._createCategory(WebInspector.UIString("XHR"), ["readystatechange", "loa
d", "loadstart", "loadend", "abort", "error", "progress", "timeout"], false, ["X
MLHttpRequest", "XMLHttpRequestUpload"]); |
| 544 this._createCategory(WebInspector.UIString("WebGL"), ["webglErrorFired", "we
bglWarningFired"], true); | 544 this._createCategory(WebInspector.UIString("WebGL"), ["webglErrorFired", "we
bglWarningFired"], true); |
| 545 this._createCategory(WebInspector.UIString("Window"), ["close"], true); |
| 545 | 546 |
| 546 this._restoreBreakpoints(); | 547 this._restoreBreakpoints(); |
| 547 } | 548 } |
| 548 | 549 |
| 549 WebInspector.EventListenerBreakpointsSidebarPane.categoryListener = "listener:"; | 550 WebInspector.EventListenerBreakpointsSidebarPane.categoryListener = "listener:"; |
| 550 WebInspector.EventListenerBreakpointsSidebarPane.categoryInstrumentation = "inst
rumentation:"; | 551 WebInspector.EventListenerBreakpointsSidebarPane.categoryInstrumentation = "inst
rumentation:"; |
| 551 WebInspector.EventListenerBreakpointsSidebarPane.eventTargetAny = "*"; | 552 WebInspector.EventListenerBreakpointsSidebarPane.eventTargetAny = "*"; |
| 552 | 553 |
| 553 /** | 554 /** |
| 554 * @param {string} eventName | 555 * @param {string} eventName |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 var breakpoints = WebInspector.settings.eventListenerBreakpoints.get(); | 812 var breakpoints = WebInspector.settings.eventListenerBreakpoints.get(); |
| 812 for (var i = 0; i < breakpoints.length; ++i) { | 813 for (var i = 0; i < breakpoints.length; ++i) { |
| 813 var breakpoint = breakpoints[i]; | 814 var breakpoint = breakpoints[i]; |
| 814 if (breakpoint && typeof breakpoint.eventName === "string") | 815 if (breakpoint && typeof breakpoint.eventName === "string") |
| 815 this._setBreakpoint(breakpoint.eventName, breakpoint.targetNames
); | 816 this._setBreakpoint(breakpoint.eventName, breakpoint.targetNames
); |
| 816 } | 817 } |
| 817 }, | 818 }, |
| 818 | 819 |
| 819 __proto__: WebInspector.SidebarPane.prototype | 820 __proto__: WebInspector.SidebarPane.prototype |
| 820 } | 821 } |
| OLD | NEW |