From ceaac5d55bef85edef9a4a716e6bd6ca3d3ec9c1 Mon Sep 17 00:00:00 2001 From: rebloor Date: Fri, 27 Mar 2026 10:32:51 +1300 Subject: [PATCH 1/5] Issue-42382 Safari support for user modified extension shortcut keys (#42387) Co-authored-by: Christos Bacharakis --- .../add-ons/webextensions/manifest.json/commands/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/mozilla/add-ons/webextensions/manifest.json/commands/index.md b/files/en-us/mozilla/add-ons/webextensions/manifest.json/commands/index.md index b9991f7dc13ae53..2d05e65ede7c482 100644 --- a/files/en-us/mozilla/add-ons/webextensions/manifest.json/commands/index.md +++ b/files/en-us/mozilla/add-ons/webextensions/manifest.json/commands/index.md @@ -204,7 +204,7 @@ In Firefox, your extension can update shortcut key settings using {{WebExtAPIRef In Chrome, extensions can't programmatically update shortcut keys. Users can change shortcuts at `chrome://extensions/shortcuts`, which can be opened using {{WebExtAPIRef("tabs.create()")}}. -Safari doesn't support programmatic or user modification of extension shortcut keys. +Safari doesn't support programmatic modification of extension shortcut keys. From Safari 26, users can change an extension's shortcuts in Safari's extensions settings. ## Example From 2c6874c58a262083450afcc76789d4399adb6583 Mon Sep 17 00:00:00 2001 From: Dan Fabulich Date: Thu, 26 Mar 2026 14:50:52 -0700 Subject: [PATCH 2/5] Add Baseline banner to Fullscreen API page (#43478) This page was referencing the `browser-compat` data for the deprecated `api.Document.fullscreen` feature, which doesn't have a corresponding feature ID in `web-features`. As a result, it doesn't display a Baseline banner. By removing that key from `browser-compat`, the page will show the correct Baseline status banner. --- files/en-us/web/api/fullscreen_api/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/files/en-us/web/api/fullscreen_api/index.md b/files/en-us/web/api/fullscreen_api/index.md index bb84f88003b1c4d..3a9b63bf688cd58 100644 --- a/files/en-us/web/api/fullscreen_api/index.md +++ b/files/en-us/web/api/fullscreen_api/index.md @@ -7,7 +7,6 @@ browser-compat: - api.Document.fullscreenEnabled - api.Document.exitFullscreen - api.Element.requestFullscreen - - api.Document.fullscreen --- {{DefaultAPISidebar("Fullscreen API")}} From b2f9c1e9e0f56bb2fd10262b0836603e10bcb4dc Mon Sep 17 00:00:00 2001 From: Claas Augner <495429+caugner@users.noreply.github.com> Date: Thu, 26 Mar 2026 23:20:57 +0100 Subject: [PATCH 3/5] Remove "The " from Web API overview page titles (#43578) --- files/en-us/web/api/html_dom_api/index.md | 2 +- files/en-us/web/api/websockets_api/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/api/html_dom_api/index.md b/files/en-us/web/api/html_dom_api/index.md index e8a9cc802f890ad..59a3b5d7e0f17b0 100644 --- a/files/en-us/web/api/html_dom_api/index.md +++ b/files/en-us/web/api/html_dom_api/index.md @@ -1,5 +1,5 @@ --- -title: The HTML DOM API +title: HTML DOM API slug: Web/API/HTML_DOM_API page-type: web-api-overview browser-compat: api.HTMLElement diff --git a/files/en-us/web/api/websockets_api/index.md b/files/en-us/web/api/websockets_api/index.md index 93845643de6d20c..c59b4ca03417366 100644 --- a/files/en-us/web/api/websockets_api/index.md +++ b/files/en-us/web/api/websockets_api/index.md @@ -1,5 +1,5 @@ --- -title: The WebSocket API (WebSockets) +title: WebSocket API (WebSockets) slug: Web/API/WebSockets_API page-type: web-api-overview browser-compat: From c5d8af227105b2a6d2ab50ff74295ead221fce64 Mon Sep 17 00:00:00 2001 From: ratijas Date: Fri, 27 Mar 2026 02:23:59 +0200 Subject: [PATCH 4/5] Node.js server without a framework: decodeURI (#43579) In general case, decoding URI is needed to transform it to a usable file path without %percent encoded whitespaces etc. --- .../server-side/node_server_without_framework/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/en-us/learn_web_development/extensions/server-side/node_server_without_framework/index.md b/files/en-us/learn_web_development/extensions/server-side/node_server_without_framework/index.md index a95e9de9387f0d4..7420af1786e5879 100644 --- a/files/en-us/learn_web_development/extensions/server-side/node_server_without_framework/index.md +++ b/files/en-us/learn_web_development/extensions/server-side/node_server_without_framework/index.md @@ -37,7 +37,8 @@ const STATIC_PATH = path.join(process.cwd(), "./static"); const toBool = [() => true, () => false]; const prepareFile = async (url) => { - const paths = [STATIC_PATH, url]; + const urlAsPath = decodeURI(url); + const paths = [STATIC_PATH, urlAsPath]; if (url.endsWith("/")) paths.push("index.html"); const filePath = path.join(...paths); const pathTraversal = !filePath.startsWith(STATIC_PATH); From b6b7abe7c9f199e508eecffa0bcfc310621912b5 Mon Sep 17 00:00:00 2001 From: Jyotsna Pajjuri Date: Fri, 27 Mar 2026 07:58:01 +0530 Subject: [PATCH 5/5] Fix: replace document.body.querySelector with document.querySelector (#43387) * Fix: replace document.body.querySelector with document.querySelector in DOM examples * Fix more --------- Co-authored-by: Joshua Chen --- files/en-us/web/api/document_object_model/index.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/files/en-us/web/api/document_object_model/index.md b/files/en-us/web/api/document_object_model/index.md index 5467f1b64c027f0..0dff6dddc61423c 100644 --- a/files/en-us/web/api/document_object_model/index.md +++ b/files/en-us/web/api/document_object_model/index.md @@ -331,14 +331,14 @@ button { #### JavaScript ```js -const story = document.body.querySelector(".story"); +const story = document.querySelector(".story"); -const setText = document.body.querySelector("#set-text"); +const setText = document.querySelector("#set-text"); setText.addEventListener("click", () => { story.textContent = "It was a dark and stormy night..."; }); -const clearText = document.body.querySelector("#clear-text"); +const clearText = document.querySelector("#clear-text"); clearText.addEventListener("click", () => { story.textContent = ""; }); @@ -401,9 +401,9 @@ div.child { #### JavaScript ```js -const parent = document.body.querySelector(".parent"); +const parent = document.querySelector(".parent"); -const addChild = document.body.querySelector("#add-child"); +const addChild = document.querySelector("#add-child"); addChild.addEventListener("click", () => { // Only add a child if we don't already have one // in addition to the text node "parent" @@ -416,9 +416,9 @@ addChild.addEventListener("click", () => { parent.appendChild(child); }); -const removeChild = document.body.querySelector("#remove-child"); +const removeChild = document.querySelector("#remove-child"); removeChild.addEventListener("click", () => { - const child = document.body.querySelector(".child"); + const child = document.querySelector(".child"); parent.removeChild(child); }); ```