From fcf4da67b3ff8b56e7d61dcb5143137f37595d61 Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Mon, 5 May 2025 15:54:25 +1000 Subject: [PATCH 1/2] FF139Relnote: Expr reenable Prioritized Scheduling API --- files/en-us/mozilla/firefox/releases/139/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/en-us/mozilla/firefox/releases/139/index.md b/files/en-us/mozilla/firefox/releases/139/index.md index 1c8edca4ac2c04c..eb973bfa56c377b 100644 --- a/files/en-us/mozilla/firefox/releases/139/index.md +++ b/files/en-us/mozilla/firefox/releases/139/index.md @@ -72,6 +72,10 @@ This article provides information about the changes in Firefox 139 that affect d These features are newly shipped in Firefox 139 but are disabled by default. To experiment with them, search for the appropriate preference on the `about:config` page and set it to `true`. You can find more such features on the [Experimental features](/en-US/docs/Mozilla/Firefox/Experimental_features) page. +- **Prioritized Task Scheduling API** (Nightly release). + The [Prioritized Task Scheduling API](/en-US/docs/Web/API/Prioritized_Task_Scheduling_API) provides a standardized way to prioritize all tasks belonging to an application, whether they defined in a website developer's code, or in third party libraries and frameworks. + This adds support for the {{domxref("scheduler.yield()")}} method and re-enables the whole API in the Nightly release. + ([Firefox bug 1958943](https://bugzil.la/1958943), [Firefox bug 1920115](https://bugzil.la/1920115)). - **Support for escaping `<` and `>` in attributes when serializing HTML**: `dom.security.html_serialization_escape_lt_gt`. Firefox now replaces the `<` and `>` characters with `<` and `>`, respectively, in attributes when serializing HTML. This helps prevent certain exploits where HTML is serialized and then injected back into the DOM. The affected methods and properties are: {{domxref("Element.innerHTML")}}, {{domxref("Element.outerHTML")}}, {{domxref("Element.getHTML()")}}, {{domxref("ShadowRoot.innerHTML")}}, and {{domxref("ShadowRoot.getHTML()")}}. ([Firefox bug 1941347](https://bugzil.la/1941347)). From 033296b09170113a222cb6d9f107ad0d1ee2e9b8 Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Tue, 6 May 2025 18:13:26 +1000 Subject: [PATCH 2/2] Update files/en-us/mozilla/firefox/releases/139/index.md Co-authored-by: Brian Smith --- files/en-us/mozilla/firefox/releases/139/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/mozilla/firefox/releases/139/index.md b/files/en-us/mozilla/firefox/releases/139/index.md index eb973bfa56c377b..963dfe1edd75e74 100644 --- a/files/en-us/mozilla/firefox/releases/139/index.md +++ b/files/en-us/mozilla/firefox/releases/139/index.md @@ -73,7 +73,7 @@ This article provides information about the changes in Firefox 139 that affect d These features are newly shipped in Firefox 139 but are disabled by default. To experiment with them, search for the appropriate preference on the `about:config` page and set it to `true`. You can find more such features on the [Experimental features](/en-US/docs/Mozilla/Firefox/Experimental_features) page. - **Prioritized Task Scheduling API** (Nightly release). - The [Prioritized Task Scheduling API](/en-US/docs/Web/API/Prioritized_Task_Scheduling_API) provides a standardized way to prioritize all tasks belonging to an application, whether they defined in a website developer's code, or in third party libraries and frameworks. + The [Prioritized Task Scheduling API](/en-US/docs/Web/API/Prioritized_Task_Scheduling_API) provides a standardized way to prioritize all tasks belonging to an application, whether they are defined in a website developer's code, or in third-party libraries and frameworks. This adds support for the {{domxref("scheduler.yield()")}} method and re-enables the whole API in the Nightly release. ([Firefox bug 1958943](https://bugzil.la/1958943), [Firefox bug 1920115](https://bugzil.la/1920115)). - **Support for escaping `<` and `>` in attributes when serializing HTML**: `dom.security.html_serialization_escape_lt_gt`.