| OLD | NEW |
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
| 3 "domains": [{ | 3 "domains": [{ |
| 4 "domain": "Inspector", | 4 "domain": "Inspector", |
| 5 "hidden": true, | 5 "hidden": true, |
| 6 "types": [], | 6 "types": [], |
| 7 "commands": [ | 7 "commands": [ |
| 8 { | 8 { |
| 9 "name": "enable", | 9 "name": "enable", |
| 10 "description": "Enables inspector domain notifications." | 10 "description": "Enables inspector domain notifications." |
| (...skipping 4094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4105 "commands": [ | 4105 "commands": [ |
| 4106 { | 4106 { |
| 4107 "name": "dispatchKeyEvent", | 4107 "name": "dispatchKeyEvent", |
| 4108 "parameters": [ | 4108 "parameters": [ |
| 4109 { "name": "type", "type": "string", "enum": ["keyDown", "key
Up", "rawKeyDown", "char"], "description": "Type of the key event." }, | 4109 { "name": "type", "type": "string", "enum": ["keyDown", "key
Up", "rawKeyDown", "char"], "description": "Type of the key event." }, |
| 4110 { "name": "modifiers", "type": "integer", "optional": true,
"description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Met
a/Command=4, Shift=8 (default: 0)." }, | 4110 { "name": "modifiers", "type": "integer", "optional": true,
"description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Met
a/Command=4, Shift=8 (default: 0)." }, |
| 4111 { "name": "timestamp", "type": "number", "optional": true, "
description": "Time at which the event occurred. Measured in UTC time in seconds
since January 1, 1970 (default: current time)." }, | 4111 { "name": "timestamp", "type": "number", "optional": true, "
description": "Time at which the event occurred. Measured in UTC time in seconds
since January 1, 1970 (default: current time)." }, |
| 4112 { "name": "text", "type": "string", "optional": true, "descr
iption": "Text as generated by processing a virtual key code with a keyboard lay
out. Not needed for for <code>keyUp</code> and <code>rawKeyDown</code> events (d
efault: \"\")" }, | 4112 { "name": "text", "type": "string", "optional": true, "descr
iption": "Text as generated by processing a virtual key code with a keyboard lay
out. Not needed for for <code>keyUp</code> and <code>rawKeyDown</code> events (d
efault: \"\")" }, |
| 4113 { "name": "unmodifiedText", "type": "string", "optional": tr
ue, "description": "Text that would have been generated by the keyboard if no mo
difiers were pressed (except for shift). Useful for shortcut (accelerator) key h
andling (default: \"\")." }, | 4113 { "name": "unmodifiedText", "type": "string", "optional": tr
ue, "description": "Text that would have been generated by the keyboard if no mo
difiers were pressed (except for shift). Useful for shortcut (accelerator) key h
andling (default: \"\")." }, |
| 4114 { "name": "keyIdentifier", "type": "string", "optional": tru
e, "description": "Unique key identifier (e.g., 'U+0041') (default: \"\")." }, | 4114 { "name": "keyIdentifier", "type": "string", "optional": tru
e, "description": "Unique key identifier (e.g., 'U+0041') (default: \"\")." }, |
| 4115 { "name": "code", "type": "string", "optional": true, "descr
iption": "Unique key code for each physical key (e.g., 'KeyA') (default: \"\")."
}, |
| 4115 { "name": "windowsVirtualKeyCode", "type": "integer", "optio
nal": true, "description": "Windows virtual key code (default: 0)." }, | 4116 { "name": "windowsVirtualKeyCode", "type": "integer", "optio
nal": true, "description": "Windows virtual key code (default: 0)." }, |
| 4116 { "name": "nativeVirtualKeyCode", "type": "integer", "option
al": true, "description": "Native virtual key code (default: 0)." }, | 4117 { "name": "nativeVirtualKeyCode", "type": "integer", "option
al": true, "description": "Native virtual key code (default: 0)." }, |
| 4117 { "name": "autoRepeat", "type": "boolean", "optional": true,
"description": "Whether the event was generated from auto repeat (default: fals
e)." }, | 4118 { "name": "autoRepeat", "type": "boolean", "optional": true,
"description": "Whether the event was generated from auto repeat (default: fals
e)." }, |
| 4118 { "name": "isKeypad", "type": "boolean", "optional": true, "
description": "Whether the event was generated from the keypad (default: false).
" }, | 4119 { "name": "isKeypad", "type": "boolean", "optional": true, "
description": "Whether the event was generated from the keypad (default: false).
" }, |
| 4119 { "name": "isSystemKey", "type": "boolean", "optional": true
, "description": "Whether the event was a system key event (default: false)." } | 4120 { "name": "isSystemKey", "type": "boolean", "optional": true
, "description": "Whether the event was a system key event (default: false)." } |
| 4120 ], | 4121 ], |
| 4121 "description": "Dispatches a key event to the page." | 4122 "description": "Dispatches a key event to the page." |
| 4122 }, | 4123 }, |
| 4123 { | 4124 { |
| 4124 "name": "dispatchMouseEvent", | 4125 "name": "dispatchMouseEvent", |
| (...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4561 { "name": "isRunning", "type": "boolean", "description": "If
the animation player is still running." } | 4562 { "name": "isRunning", "type": "boolean", "description": "If
the animation player is still running." } |
| 4562 ], | 4563 ], |
| 4563 "description": "Gets the state of an AnimationPlayer.", | 4564 "description": "Gets the state of an AnimationPlayer.", |
| 4564 "hidden": true | 4565 "hidden": true |
| 4565 } | 4566 } |
| 4566 ], | 4567 ], |
| 4567 "events": [ | 4568 "events": [ |
| 4568 ] | 4569 ] |
| 4569 }] | 4570 }] |
| 4570 } | 4571 } |
| OLD | NEW |