Changeset 92171 in webkit
- Timestamp:
- Aug 2, 2011 2:25:06 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r92170 r92171 1 2011-08-02 Pavel Feldman <pfeldman@google.com> 2 3 Web Inspector: _normalizeEventTypes (via console's monitorEvents) doesnt handle all events like 'search' and other atypical ones. 4 https://bugs.webkit.org/show_bug.cgi?id=65468 5 6 Reviewed by Yury Semikhatsky. 7 8 * inspector/InjectedScriptSource.js: 9 1 10 2011-08-02 Pavel Feldman <pfeldman@google.com> 2 11 -
trunk/Source/WebCore/inspector/InjectedScriptSource.js
r92122 r92171 662 662 { 663 663 if (typeof types === "undefined") 664 types = [ "mouse", "key", " load", "unload", "abort", "error", "select", "change", "submit", "reset", "focus", "blur", "resize", "scroll" ];664 types = [ "mouse", "key", "control", "load", "unload", "abort", "error", "select", "change", "submit", "reset", "focus", "blur", "resize", "scroll", "search", "devicemotion", "deviceorientation" ]; 665 665 else if (typeof types === "string") 666 666 types = [ types ]; … … 669 669 for (var i = 0; i < types.length; i++) { 670 670 if (types[i] === "mouse") 671 result.splice(0, 0, "mousedown", "mouseup", "click", "dblclick", "mousemove", "mouseover", "mouseout" );671 result.splice(0, 0, "mousedown", "mouseup", "click", "dblclick", "mousemove", "mouseover", "mouseout", "mousewheel"); 672 672 else if (types[i] === "key") 673 result.splice(0, 0, "keydown", "keyup", "keypress"); 673 result.splice(0, 0, "keydown", "keyup", "keypress", "textInput"); 674 else if (types[i] === "control") 675 result.splice(0, 0, "resize", "scroll", "zoom", "focus", "blur", "select", "change", "submit", "reset"); 674 676 else 675 677 result.push(types[i]);
Note: See TracChangeset
for help on using the changeset viewer.