From 2537a0d90051720184934ca7315173766887bdf0 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Tue, 27 Jan 2026 18:48:28 +0100 Subject: [PATCH] Add Firefox notes for `Document.getSelection()` --- api/Document.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/api/Document.json b/api/Document.json index a7960843e7cfe1..916c69170b4ee1 100644 --- a/api/Document.json +++ b/api/Document.json @@ -5009,13 +5009,17 @@ }, "firefox": [ { - "version_added": "57" + "version_added": "57", + "notes": "Before Firefox 139, `getSelection().toString()` returns an empty string on form elements. See [bug 85686](https://bugzil.la/85686)." }, { "version_added": "1", "version_removed": "57", "partial_implementation": true, - "notes": "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects." + "notes": [ + "Only supported for [`HTMLDocument`](https://developer.mozilla.org/docs/Web/API/HTMLDocument), not all `Document` objects.", + "`getSelection().toString()` returns an empty string on form elements. See [bug 85686](https://bugzil.la/85686)." + ] } ], "firefox_android": "mirror",