Skip to content

Commit f605805

Browse files
authored
FF149 Relnote: CloseWatcher (mdn#43320)
Tidy expr feat
1 parent 4ef2157 commit f605805

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

files/en-us/mozilla/firefox/experimental_features/index.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -329,23 +329,6 @@ The {{cssxref("@custom-media")}} CSS at-rule defines aliases for long or complex
329329

330330
## APIs
331331

332-
### CloseWatcher Interface
333-
334-
Built-in web components with "open" and "close" semantics, such as modal dialogs and popovers, can be closed using device-native mechanisms.
335-
For example, on Android you can close a dialog using the back button.
336-
The {{domxref("CloseWatcher")}} interface allows developers to implement UI components, such as custom sidebars, that can similarly be closed using native mechanisms.
337-
([Firefox bug 1888729](https://bugzil.la/1888729)).
338-
339-
| Release channel | Version added | Enabled by default? |
340-
| ----------------- | ------------- | ---------------------------- |
341-
| Nightly | 140 | Yes (Desktop). No (Android). |
342-
| Developer Edition | 132 | No |
343-
| Beta | 132 | No |
344-
| Release | 132 | No |
345-
346-
- `dom.closewatcher.enabled`
347-
- : Set to `true` to enable.
348-
349332
### Removal of `beforescriptexecute` and `afterscriptexecute` events
350333

351334
The non-standard events [`beforescriptexecute`](/en-US/docs/Web/API/Document/beforescriptexecute_event) and [`afterscriptexecute`](/en-US/docs/Web/API/Document/afterscriptexecute_event) on the {{domxref("Document")}} interface, and [`afterscriptexecute`](/en-US/docs/Web/API/Element/afterscriptexecute_event) and [`beforescriptexecute`](/en-US/docs/Web/API/Element/beforescriptexecute_event) on the {{domxref("Element")}} interface are on the path to removal. They have been disabled in Nightly.

files/en-us/mozilla/firefox/releases/149/index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,13 @@ Firefox 149 is the current [Beta version of Firefox](https://www.firefox.com/en-
5050

5151
<!-- #### Removals -->
5252

53-
<!-- ### APIs -->
53+
### APIs
5454

55-
<!-- #### DOM -->
55+
#### DOM
56+
57+
- The {{domxref("CloseWatcher")}} interface is now supported.
58+
This allows developers to implement components that can be closed using device-native mechanisms, such as the <kbd>Esc</kbd> on Windows or the <kbd>Back</kbd> key on Android, in the same way as built-in components such as [dialogs](/en-US/docs/Web/HTML/Reference/Elements/dialog) and [popovers](/en-US/docs/Web/API/Popover_API).
59+
([Firefox bug 1966073](https://bugzil.la/1966073)).
5660

5761
<!-- #### Media, WebRTC, and Web Audio -->
5862

0 commit comments

Comments
 (0)