Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9242,7 +9242,7 @@
/en-US/docs/Web/API/KeyboardEvent.code /en-US/docs/Web/API/KeyboardEvent/code
/en-US/docs/Web/API/KeyboardEvent.ctrlKey /en-US/docs/Web/API/KeyboardEvent/ctrlKey
/en-US/docs/Web/API/KeyboardEvent.getModifierState /en-US/docs/Web/API/KeyboardEvent/getModifierState
/en-US/docs/Web/API/KeyboardEvent.initKeyEvent /en-US/docs/Web/API/KeyboardEvent/initKeyEvent
/en-US/docs/Web/API/KeyboardEvent.initKeyEvent /en-US/docs/Web/API/KeyboardEvent/KeyboardEvent
/en-US/docs/Web/API/KeyboardEvent.initKeyboardEvent /en-US/docs/Web/API/KeyboardEvent/initKeyboardEvent
/en-US/docs/Web/API/KeyboardEvent.isComposing /en-US/docs/Web/API/KeyboardEvent/isComposing
/en-US/docs/Web/API/KeyboardEvent.key /en-US/docs/Web/API/KeyboardEvent/key
Expand All @@ -9252,6 +9252,7 @@
/en-US/docs/Web/API/KeyboardEvent.shiftKey /en-US/docs/Web/API/KeyboardEvent/shiftKey
/en-US/docs/Web/API/KeyboardEvent.which /en-US/docs/Web/API/UIEvent/which
/en-US/docs/Web/API/KeyboardEvent/code/code_values /en-US/docs/Web/API/UI_Events/Keyboard_event_code_values
/en-US/docs/Web/API/KeyboardEvent/initKeyEvent /en-US/docs/Web/API/KeyboardEvent/KeyboardEvent
/en-US/docs/Web/API/KeyboardEvent/key/Key_Values /en-US/docs/Web/API/UI_Events/Keyboard_event_key_values
/en-US/docs/Web/API/KeyboardEvent/which /en-US/docs/Web/API/UIEvent/which
/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect.getKeyframes() /en-US/docs/Web/API/KeyframeEffect/getKeyframes
Expand Down Expand Up @@ -11058,7 +11059,7 @@
/en-US/docs/Web/API/event.eventPhase /en-US/docs/Web/API/Event/eventPhase
/en-US/docs/Web/API/event.explicitOriginalTarget /en-US/docs/Web/API/Event/explicitOriginalTarget
/en-US/docs/Web/API/event.initEvent /en-US/docs/Web/API/Event/initEvent
/en-US/docs/Web/API/event.initKeyEvent /en-US/docs/Web/API/KeyboardEvent/initKeyEvent
/en-US/docs/Web/API/event.initKeyEvent /en-US/docs/Web/API/KeyboardEvent/KeyboardEvent
/en-US/docs/Web/API/event.initMouseEvent /en-US/docs/Web/API/MouseEvent/initMouseEvent
/en-US/docs/Web/API/event.initUIEvent /en-US/docs/Web/API/UIEvent/initUIEvent
/en-US/docs/Web/API/event.isTrusted /en-US/docs/Web/API/Event/isTrusted
Expand Down
21 changes: 0 additions & 21 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -43922,27 +43922,6 @@
"Masayuki"
]
},
"Web/API/KeyboardEvent/initKeyEvent": {
"modified": "2019-03-24T00:10:53.315Z",
"contributors": [
"mfluehr",
"fscholz",
"Noitidart",
"teoli",
"MHasan",
"willlma",
"kscarfone",
"Sheppy",
"mcomella",
"Jorend",
"Nickolay",
"Ynvich",
"Ptak82",
"Mgjbot",
"DBaron",
"Gary.johnson.53"
]
},
"Web/API/KeyboardEvent/initKeyboardEvent": {
"modified": "2019-03-23T23:04:44.260Z",
"contributors": ["mfluehr", "wbamberg", "fscholz", "teoli"]
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/mozilla/firefox/releases/93/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This article provides information about the changes in Firefox 93 that will affe

#### Removals

- {{domxref("KeyboardEvent.initKeyEvent()")}} has been moved behind the preference `dom.keyboardevent.init_key_event.enabled` and is disabled by default.
- `KeyboardEvent.initKeyEvent()` has been moved behind the preference `dom.keyboardevent.init_key_event.enabled` and is disabled by default.
The method is not present in any current specification or supported in other current browsers ([Firefox bug 1717760](https://bugzil.la/1717760)).

### WebDriver conformance (Marionette)
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/keyboardevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ _This interface also inherits methods of its parents, {{domxref("UIEvent")}} and

### Obsolete methods

- {{domxref("KeyboardEvent.initKeyEvent()")}} {{deprecated_inline}}
- : Initializes a `KeyboardEvent` object. This was implemented only by Firefox, and is no longer supported even there; instead, you should use the {{domxref("KeyboardEvent.KeyboardEvent", "KeyboardEvent()")}} constructor.
- {{domxref("KeyboardEvent.initKeyboardEvent()")}} {{deprecated_inline}}
- : Initializes a `KeyboardEvent` object. This is now deprecated. You should instead use the {{domxref("KeyboardEvent.KeyboardEvent", "KeyboardEvent()")}} constructor.

Expand Down Expand Up @@ -268,7 +266,7 @@ document.addEventListener(

{{Specifications}}

The `KeyboardEvent` interface specification went through numerous draft versions, first under DOM Events Level 2 where it was dropped as no consensus arose, then under DOM Events Level 3. This led to the implementation of non-standard initialization methods, the early DOM Events Level 2 version, {{domxref("KeyboardEvent.initKeyEvent()")}} by Gecko browsers and the early DOM Events Level 3 version, {{domxref("KeyboardEvent.initKeyboardEvent()")}} by others. Both have been superseded by the modern usage of a constructor: {{domxref("KeyboardEvent.KeyboardEvent", "KeyboardEvent()")}}.
The `KeyboardEvent` interface specification went through numerous draft versions, first under DOM Events Level 2 where it was dropped as no consensus arose, then under DOM Events Level 3. This led to the implementation of non-standard initialization methods, the early DOM Events Level 2 version, `KeyboardEvent.initKeyEvent()` by Gecko browsers and the early DOM Events Level 3 version, {{domxref("KeyboardEvent.initKeyboardEvent()")}} by others. Both have been superseded by the modern usage of a constructor: {{domxref("KeyboardEvent.KeyboardEvent", "KeyboardEvent()")}}.

## Browser compatibility

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ None ({{jsxref("undefined")}}).

{{Specifications}}

The `KeyboardEvent` interface specification went through numerous draft versions, first under DOM Events Level 2 where it was dropped as no consensus arose, then under DOM Events Level 3. This led to the implementation of non-standard initialization methods, the early DOM Events Level 2 version, {{domxref("KeyboardEvent.initKeyEvent()")}} by Gecko browsers and the early DOM Events Level 3 version, `KeyboardEvent.initKeyboardEvent()` by others. Both have been superseded by the modern usage of a constructor: {{domxref("KeyboardEvent.KeyboardEvent", "KeyboardEvent()")}}.
The `KeyboardEvent` interface specification went through numerous draft versions, first under DOM Events Level 2 where it was dropped as no consensus arose, then under DOM Events Level 3. This led to the implementation of non-standard initialization methods, the early DOM Events Level 2 version, `KeyboardEvent.initKeyEvent()` by Gecko browsers and the early DOM Events Level 3 version, `KeyboardEvent.initKeyboardEvent()` by others. Both have been superseded by the modern usage of a constructor: {{domxref("KeyboardEvent.KeyboardEvent", "KeyboardEvent()")}}.

## Browser compatibility

Expand Down
94 changes: 0 additions & 94 deletions files/en-us/web/api/keyboardevent/initkeyevent/index.md

This file was deleted.