From fd530b0f7640cdc88047b0324fe4bd7d51ccd182 Mon Sep 17 00:00:00 2001
From: Mostafa Elgreatly <66712535+mostafaroshdy1@users.noreply.github.com>
Date: Thu, 18 Apr 2024 03:36:40 +0200
Subject: [PATCH 01/15] Added hyperlink to animation type
---
kumascript/macros/AnimationType.ejs | 13 +++++++++++++
kumascript/macros/CSSInfo.ejs | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 kumascript/macros/AnimationType.ejs
diff --git a/kumascript/macros/AnimationType.ejs b/kumascript/macros/AnimationType.ejs
new file mode 100644
index 000000000000..0a54a136783b
--- /dev/null
+++ b/kumascript/macros/AnimationType.ejs
@@ -0,0 +1,13 @@
+<%
+let linkText = mdn.localString({
+ "en-US": "Animation type",
+ "es" : "Animation type",
+ "fr" : "Type d'animation",
+ "ja" : "アニメーションの種類",
+ "ko" : "Animation type",
+ "ru" : "Animation type",
+ "zh-CN": "Animation type",
+ "zh-TW": "Animation type"
+});
+%>
+<%- `${linkText}` %>
diff --git a/kumascript/macros/CSSInfo.ejs b/kumascript/macros/CSSInfo.ejs
index 6a8c570279dd..aa7d621e9c17 100644
--- a/kumascript/macros/CSSInfo.ejs
+++ b/kumascript/macros/CSSInfo.ejs
@@ -283,7 +283,7 @@ if (name === "preview-wiki-content") {
if (!atRule) {
properties = properties.concat({
name: "animationType",
- label: localize(localStrings, "animationType")
+ label: await template("animationType")
});
}
From 2bb7fb44b3933675bfc242991e4f3400088c269e Mon Sep 17 00:00:00 2001
From: Mostafa Elgreatly <66712535+mostafaroshdy1@users.noreply.github.com>
Date: Fri, 19 Apr 2024 08:02:57 +0200
Subject: [PATCH 02/15] Changed the modification to inline
---
kumascript/macros/AnimationType.ejs | 13 -------------
kumascript/macros/CSSInfo.ejs | 2 +-
2 files changed, 1 insertion(+), 14 deletions(-)
delete mode 100644 kumascript/macros/AnimationType.ejs
diff --git a/kumascript/macros/AnimationType.ejs b/kumascript/macros/AnimationType.ejs
deleted file mode 100644
index 0a54a136783b..000000000000
--- a/kumascript/macros/AnimationType.ejs
+++ /dev/null
@@ -1,13 +0,0 @@
-<%
-let linkText = mdn.localString({
- "en-US": "Animation type",
- "es" : "Animation type",
- "fr" : "Type d'animation",
- "ja" : "アニメーションの種類",
- "ko" : "Animation type",
- "ru" : "Animation type",
- "zh-CN": "Animation type",
- "zh-TW": "Animation type"
-});
-%>
-<%- `${linkText}` %>
diff --git a/kumascript/macros/CSSInfo.ejs b/kumascript/macros/CSSInfo.ejs
index aa7d621e9c17..74e11b375e16 100644
--- a/kumascript/macros/CSSInfo.ejs
+++ b/kumascript/macros/CSSInfo.ejs
@@ -283,7 +283,7 @@ if (name === "preview-wiki-content") {
if (!atRule) {
properties = properties.concat({
name: "animationType",
- label: await template("animationType")
+ label: `${localize(localStrings, "animationType")}`
});
}
From 50b7cec1306e2263a64454a4f56d82d47fde7ff0 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 17 Apr 2024 17:53:51 +0000
Subject: [PATCH 03/15] chore(deps): bump inquirer from 9.2.18 to 9.2.19
(#10940)
---
package.json | 2 +-
yarn.lock | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/package.json b/package.json
index 99dd2c5aa23a..9eccf2c264ea 100644
--- a/package.json
+++ b/package.json
@@ -108,7 +108,7 @@
"imagemin-mozjpeg": "^10.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-svgo": "^10.0.1",
- "inquirer": "^9.2.18",
+ "inquirer": "^9.2.19",
"is-svg": "^5.0.0",
"js-yaml": "^4.1.0",
"loglevel": "^1.9.1",
diff --git a/yarn.lock b/yarn.lock
index 67ad2cbc99f1..595fd7779ae9 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1909,10 +1909,10 @@
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz#d9fae00a2d5cb40f92cfe64b47ad749fbc38f917"
integrity sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==
-"@inquirer/figures@^1.0.0":
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.0.tgz#f28ee68d08c5ada5284ee0d58ae1d177e80dabda"
- integrity sha512-3fw+7+77/duTnMJTeSS44wneszghI4tkr0m0xdIJabbYRe36ElzmsqyboMZ1nFRon6sT+ckVvYDVjwapKv+2sw==
+"@inquirer/figures@^1.0.1":
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.1.tgz#d65f0bd0e9511a90b4d3543ee6a3ce7211f29417"
+ integrity sha512-mtup3wVKia3ZwULPHcbs4Mor8Voi+iIXEWD7wCNbIO6lYR62oPCTQyrddi5OMYVXHzeCSoneZwJuS8sBvlEwDw==
"@isaacs/cliui@^8.0.2":
version "8.0.2"
@@ -8635,12 +8635,12 @@ inquirer@^6.0.0:
strip-ansi "^5.1.0"
through "^2.3.6"
-inquirer@^9.2.18:
- version "9.2.18"
- resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-9.2.18.tgz#eb7dcb2c9d7aa0678b9dc4d1d243c297aacc2629"
- integrity sha512-Qzm+UP7L9beFyycZ9Nxzqj7WBgeJIaT4Ue0+2bmQp9yZXiUW2azrmBnp3vlInMw1wXkUmaM0hiMcht7CjJzASw==
+inquirer@^9.2.19:
+ version "9.2.19"
+ resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-9.2.19.tgz#e142ebc111b6328a21eb84d8e7dd226ff824239e"
+ integrity sha512-WpxOT71HGsFya6/mj5PUue0sWwbpbiPfAR+332zLj/siB0QA1PZM8v3GepegFV1Op189UxHUCF6y8AySdtOMVA==
dependencies:
- "@inquirer/figures" "^1.0.0"
+ "@inquirer/figures" "^1.0.1"
"@ljharb/through" "^2.3.13"
ansi-escapes "^4.3.2"
chalk "^5.3.0"
From 16c1be1f922b7e99795c4d6fa855ceab3539393c Mon Sep 17 00:00:00 2001
From: A1lo
Date: Thu, 18 Apr 2024 19:27:39 +0800
Subject: [PATCH 04/15] enhance(macros/PreviousMenuNext): use the actual title
of the document by default (#10812)
---
kumascript/macros/PreviousMenuNext.ejs | 57 ++++++++++++++------------
1 file changed, 30 insertions(+), 27 deletions(-)
diff --git a/kumascript/macros/PreviousMenuNext.ejs b/kumascript/macros/PreviousMenuNext.ejs
index a016233e163c..820d55c32de1 100644
--- a/kumascript/macros/PreviousMenuNext.ejs
+++ b/kumascript/macros/PreviousMenuNext.ejs
@@ -6,17 +6,15 @@ Parameter
$1 (second parameter): path of Next page
$2 (third parameter): path to main menu of module
-Issue
- * Problem of Apostrophe (https://developer.mozilla.org/fr/docs/JavaScript_Guide/Op%C3%A9rateurs/Op%C3%A9rateurs_sp%C3%A9ciaux)
-
*/
-var lang = env.locale;
-var strPrevious = "";
-var strNext = "";
-var strMenu = "";
+const locale = env.locale;
+const defaultLocale = "en-US";
+const prevPage = $0?.replace(/ /g, "_");
+const nextPage = $1?.replace(/ /g, "_");
+const mainMenu = $2?.replace(/ /g, "_");
-var s_PreviousNext = mdn.localString({
+const previousNextStr = mdn.localString({
"en-US": [" Previous ", " Next "],
"es" : [" Anterior ", " Siguiente "],
"fr" : [" Précédent ", " Suivant "],
@@ -28,7 +26,7 @@ var s_PreviousNext = mdn.localString({
"zh-TW": [" 前頁 ", " 次頁 "]
});
-var s_Menu = mdn.localString({
+const menuStr = mdn.localString({
"en-US": " Overview: ",
"pt-BR": " Menu: ",
"fr" : " Aperçu : ",
@@ -37,29 +35,34 @@ var s_Menu = mdn.localString({
"zh-TW": " 概述:",
});
-if ($0) {
- strPrevious = '' + s_PreviousNext[0] + '';
+function generateLink(pageSlug, linkText) {
+ return `${linkText}`;
}
-if ($1) {
- strNext = '' + s_PreviousNext[1] + '';
+function generateMenuLink(pageSlug) {
+ const url = `/${locale}/docs/${pageSlug}`;
+ let aPage = info.getPageByURL(url);
+ if (!aPage.url && locale !== defaultLocale) {
+ const fallbackUrl = `/${defaultLocale}/docs/${pageSlug}`;
+ aPage = info.getPageByURL(fallbackUrl);
+ }
+
+ let title = "";
+ if (!aPage.url) {
+ // fallback to generate title from slug
+ title = pageSlug.split('/').at(-1).replace(/_/g, " ");
+ } else {
+ title = aPage.title;
+ }
+ return generateLink(pageSlug, `${menuStr}${title}`);
}
-if ($2) {
- var startString = $2;
- var linkTextArray = startString.split('/');
- var linkText = linkTextArray[linkTextArray.length-1];
- var re = /_/gi;
- var finalString = linkText.replace(re,' ');
- if($0 && $1) {
- strMenu = '' + s_Menu + finalString + '';
- } else if($0) {
- strMenu = '' + s_Menu + finalString + '';
- } else if($1) {
- strMenu = '' + s_Menu + finalString + '';
- }
-}
+// Output
+const strPrevious = prevPage ? generateLink(prevPage, previousNextStr[0]) : "";
+const strNext = nextPage ? generateLink(nextPage, previousNextStr[1]) : "";
+// If there is a main menu with a previous and/or a next page, generate a link to the main menu
+const strMenu = (mainMenu && (prevPage || nextPage)) ? generateMenuLink(mainMenu) : "";
%>
<%- strPrevious %>
From e4724e2ce6dd806c78766929b1bd5d58a60d6084 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 18 Apr 2024 11:57:15 +0000
Subject: [PATCH 05/15] chore(deps): bump @webref/css from 6.12.7 to 6.12.8
(#10949)
---
package.json | 2 +-
yarn.lock | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package.json b/package.json
index 9eccf2c264ea..ea749be4e858 100644
--- a/package.json
+++ b/package.json
@@ -78,7 +78,7 @@
"@stripe/stripe-js": "^3.3.0",
"@use-it/interval": "^1.0.0",
"@vscode/ripgrep": "^1.15.9",
- "@webref/css": "^6.12.7",
+ "@webref/css": "^6.12.8",
"accept-language-parser": "^1.5.0",
"async": "^3.2.5",
"chalk": "^5.3.0",
diff --git a/yarn.lock b/yarn.lock
index 595fd7779ae9..507f46a97752 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3708,10 +3708,10 @@
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-2.0.5.tgz#325db42395cd49fe6c14057f9a900e427df8810e"
integrity sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ==
-"@webref/css@^6.12.7":
- version "6.12.7"
- resolved "https://registry.yarnpkg.com/@webref/css/-/css-6.12.7.tgz#49d9f0cb02063733c48eaa1680e67dad41c8311a"
- integrity sha512-Mcre228zvhjYZwaJbfQYBROnWa+p1kbGlTIUnYIAFCejmeM9Fz0s7/WNr7UXt9TlcsUDixxJId02t1fy5smnrw==
+"@webref/css@^6.12.8":
+ version "6.12.8"
+ resolved "https://registry.yarnpkg.com/@webref/css/-/css-6.12.8.tgz#1966b08da3c51fc1076b24ec89506b3873e5b23a"
+ integrity sha512-4Zu+rFdDF/GrXpuY+8mZpC2bWmaVqrvB2eIhXO1V0Sg4uSAs1q3imZvz5Rao7t2dhyp0c9OZMcvAAbxSt0+ZIQ==
"@xtuc/ieee754@^1.2.0":
version "1.2.0"
From aa789240006945ffee138457409c0b0532b3088b Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 18 Apr 2024 11:57:49 +0000
Subject: [PATCH 06/15] chore(deps): bump openai from 4.36.0 to 4.37.1 (#10950)
---
package.json | 2 +-
yarn.lock | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package.json b/package.json
index ea749be4e858..fdd32067cf9c 100644
--- a/package.json
+++ b/package.json
@@ -119,7 +119,7 @@
"mdn-data": "^2.5.0",
"open": "^10.1.0",
"open-editor": "^4.1.1",
- "openai": "^4.36.0",
+ "openai": "^4.37.1",
"pg": "^8.11.5",
"pgvector": "^0.1.8",
"prism-svelte": "^0.5.0",
diff --git a/yarn.lock b/yarn.lock
index 507f46a97752..808d5daade51 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -11361,10 +11361,10 @@ open@^8.4.0:
is-docker "^2.1.1"
is-wsl "^2.2.0"
-openai@^4.36.0:
- version "4.36.0"
- resolved "https://registry.yarnpkg.com/openai/-/openai-4.36.0.tgz#a41404df80e60334b0b649c949d05adc63f48fd3"
- integrity sha512-AtYrhhWY64LhB9P6f3H0nV8nTSaQJ89mWPnfNU5CnYg81zlYaV8nkyO+aTNfprdqP/9xv10woNNUgefXINT4Dg==
+openai@^4.37.1:
+ version "4.37.1"
+ resolved "https://registry.yarnpkg.com/openai/-/openai-4.37.1.tgz#b3d64d61a972d43da2399d86c4b0cc7b07e9c2bc"
+ integrity sha512-YVuhylpDeTNCWgsfhZe38+c4dDWZuW9VgzNY/sdYiNt6K9pvijroyYENp8YGEUHnuIAKtsLneZX9Qb/iB5XHkw==
dependencies:
"@types/node" "^18.11.18"
"@types/node-fetch" "^2.6.4"
From 282b64e1d12bb176f2b25b9d03e5cc4feb086047 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 18 Apr 2024 11:59:02 +0000
Subject: [PATCH 07/15] chore(deps-dev): bump @swc/core from 1.4.15 to 1.4.16
(#10951)
---
package.json | 2 +-
yarn.lock | 128 +++++++++++++++++++++++++--------------------------
2 files changed, 65 insertions(+), 65 deletions(-)
diff --git a/package.json b/package.json
index fdd32067cf9c..816d00e54eba 100644
--- a/package.json
+++ b/package.json
@@ -158,7 +158,7 @@
"@playwright/test": "^1.43.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@svgr/webpack": "^8.1.0",
- "@swc/core": "^1.4.15",
+ "@swc/core": "^1.4.16",
"@testing-library/react": "^15.0.2",
"@types/async": "^3.2.24",
"@types/cli-progress": "^3.11.5",
diff --git a/yarn.lock b/yarn.lock
index 808d5daade51..d85db92cb745 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2650,74 +2650,74 @@
"@svgr/plugin-jsx" "8.1.0"
"@svgr/plugin-svgo" "8.1.0"
-"@swc/core-darwin-arm64@1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.4.15.tgz#074e22d4479d9345b5c5dec03762f42026e46540"
- integrity sha512-m1D89yN82QTp8AcSm3p9YgcfbdOqc9WmhvnMwoS0lUs6RIIFekI2tEboc9Rp9gre/1lkgzPYI+KGge1BaQzScA==
-
-"@swc/core-darwin-x64@1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.4.15.tgz#078dc346902fe389b018a0f910498543e8b1bedb"
- integrity sha512-aQBTfKrXIKiBrZY5MtqMRtbXTYCnMxUir4qy0me0+sIWTVxQ7znBxrwQsXsbPHIIZ+pohcLCg0HKfybev0NqXA==
-
-"@swc/core-linux-arm-gnueabihf@1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.4.15.tgz#1d2402981e7a33831c9331be3e5c5f2dd8f41935"
- integrity sha512-EZhdJBjzct/0UiF3sPD1w+LbLFJOsvym4b3njyl7jnP+py5rz2WlIJDxVKcS+b1RKEebLU7OsnYXzuXFjq0dwA==
-
-"@swc/core-linux-arm64-gnu@1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.4.15.tgz#96f42740656ab75d7953c6025521ab7e17292dcf"
- integrity sha512-plKc41q8PgOm5rm3gEmPs+0skuddW0CrXPsERFzyaJ8gKTEwOVtg3sa3folXzsIgw0ODr61xzqYnh7zgJllMGg==
-
-"@swc/core-linux-arm64-musl@1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.4.15.tgz#69c58799d30f3aef184e916b44863e4ae986e47d"
- integrity sha512-4Gj0z1bo1rI3pKanqv5grH4EZ/pJRGZXG9LnkZ9FBrg4LUgptEumomca1UYFgBifHi3hirJsOQacuKFpw2NCEg==
-
-"@swc/core-linux-x64-gnu@1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.4.15.tgz#7e016571b3d5c2274a2e00d4848f1d5282b27c0c"
- integrity sha512-7nZrrYvHpklwrQboHGXMvpefOP4m5Jf46ncQSztprZ0Ah2Z8vZhehuEiUo9xOB3jl5Vdhw2KP4uAhzzppES+PA==
-
-"@swc/core-linux-x64-musl@1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.4.15.tgz#e2259fed442a13c720fb8673cf79bf34b370be25"
- integrity sha512-LJYSnttiR5vhnn7D92HAEgy/D4Jc5MDpLurF4MHyhN/9wlhQPfa5/2fdF3ogtZTzr1cckxyipYdyuzfVF+WISg==
-
-"@swc/core-win32-arm64-msvc@1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.4.15.tgz#a918ee9026173523a7d67c2d0cc956e89ab159a9"
- integrity sha512-q+u2toNPU9OQonSUI0pB6BIGkNsIrvok6AbUJYpmvZqawmNrngSs9quS2WDe58vfIe9r0lVenweY6WIRlGMFTg==
-
-"@swc/core-win32-ia32-msvc@1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.4.15.tgz#880e0353248390d6aad106b468f60469b0e28c10"
- integrity sha512-eEtU3yQXuBJO5tiokLz0sf0lABVNqR/l6p071v1ltDJGUD4vSer5kHOmm0Hn1zWB43EGda6b17Bb2DEHZ1DpKA==
-
-"@swc/core-win32-x64-msvc@1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.4.15.tgz#c283512681d04538d2eb5b1c1cc77b7d70ef4887"
- integrity sha512-9CWhKyrDgrotsciAYFSsDIYgi/4LRbvJusyAtA3RBeXar1eNouFPwdlwj8zTqtJsOteZAUpbZSret0Z59cTqCQ==
-
-"@swc/core@^1.4.15":
- version "1.4.15"
- resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.4.15.tgz#9136cd0739f21360087b359a485ab370256081ab"
- integrity sha512-7Wl4d4CCJ8xnhArfomHe+x5C0roewn0mRedtiZlTsV/9t61z2who18E9bSZI/IRjS00FGJCAlbbd7aWKLpyieg==
+"@swc/core-darwin-arm64@1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.4.16.tgz#2cd45d709ce76d448d96bf8d0006849541436611"
+ integrity sha512-UOCcH1GvjRnnM/LWT6VCGpIk0OhHRq6v1U6QXuPt5wVsgXnXQwnf5k3sG5Cm56hQHDvhRPY6HCsHi/p0oek8oQ==
+
+"@swc/core-darwin-x64@1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.4.16.tgz#a5bc7d8b1dd850adb0bb95c6b5c742b92201fd01"
+ integrity sha512-t3bgqFoYLWvyVtVL6KkFNCINEoOrIlyggT/kJRgi1y0aXSr0oVgcrQ4ezJpdeahZZ4N+Q6vT3ffM30yIunELNA==
+
+"@swc/core-linux-arm-gnueabihf@1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.4.16.tgz#961744908ee5cbb79bc009dcf58cc8b831111f38"
+ integrity sha512-DvHuwvEF86YvSd0lwnzVcjOTZ0jcxewIbsN0vc/0fqm9qBdMMjr9ox6VCam1n3yYeRtj4VFgrjeNFksqbUejdQ==
+
+"@swc/core-linux-arm64-gnu@1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.4.16.tgz#43713be3f26757d82d2745dc25f8b63400e0a3d0"
+ integrity sha512-9Uu5YlPbyCvbidjKtYEsPpyZlu16roOZ5c2tP1vHfnU9bgf5Tz5q5VovSduNxPHx+ed2iC1b1URODHvDzbbDuQ==
+
+"@swc/core-linux-arm64-musl@1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.4.16.tgz#394a7d030f3a61902bd3947bb9d70d26d42f3c81"
+ integrity sha512-/YZq/qB1CHpeoL0eMzyqK5/tYZn/rzKoCYDviFU4uduSUIJsDJQuQA/skdqUzqbheOXKAd4mnJ1hT04RbJ8FPQ==
+
+"@swc/core-linux-x64-gnu@1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.4.16.tgz#71eb108b784f9d551ee8a35ebcdaed972f567981"
+ integrity sha512-UUjaW5VTngZYDcA8yQlrFmqs1tLi1TxbKlnaJwoNhel9zRQ0yG1YEVGrzTvv4YApSuIiDK18t+Ip927bwucuVQ==
+
+"@swc/core-linux-x64-musl@1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.4.16.tgz#10dbaedb4e3dfc7268e3a9a66ad3431471ef035b"
+ integrity sha512-aFhxPifevDTwEDKPi4eRYWzC0p/WYJeiFkkpNU5Uc7a7M5iMWPAbPFUbHesdlb9Jfqs5c07oyz86u+/HySBNPQ==
+
+"@swc/core-win32-arm64-msvc@1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.4.16.tgz#80247adff6c245ff32b44d773c1a148858cd655f"
+ integrity sha512-bTD43MbhIHL2s5QgCwyleaGwl96Gk/scF2TaVKdUe4QlJCDV/YK9h5oIBAp63ckHtE8GHlH4c8dZNBiAXn4Org==
+
+"@swc/core-win32-ia32-msvc@1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.4.16.tgz#e540afc3ccf3224267b4ddfb408f9d9737984686"
+ integrity sha512-/lmZeAN/qV5XbK2SEvi8e2RkIg8FQNYiSA8y2/Zb4gTUMKVO5JMLH0BSWMiIKMstKDPDSxMWgwJaQHF8UMyPmQ==
+
+"@swc/core-win32-x64-msvc@1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.4.16.tgz#f880939fca32c181adfe7e3abd2b6b7857bd3489"
+ integrity sha512-BPAfFfODWXtUu6SwaTTftDHvcbDyWBSI/oanUeRbQR5vVWkXoQ3cxLTsDluc3H74IqXS5z1Uyoe0vNo2hB1opA==
+
+"@swc/core@^1.4.16":
+ version "1.4.16"
+ resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.4.16.tgz#d175bae2acfecd53bcbd4293f1fba5ec316634a0"
+ integrity sha512-Xaf+UBvW6JNuV131uvSNyMXHn+bh6LyKN4tbv7tOUFQpXyz/t9YWRE04emtlUW9Y0qrm/GKFCbY8n3z6BpZbTA==
dependencies:
"@swc/counter" "^0.1.2"
"@swc/types" "^0.1.5"
optionalDependencies:
- "@swc/core-darwin-arm64" "1.4.15"
- "@swc/core-darwin-x64" "1.4.15"
- "@swc/core-linux-arm-gnueabihf" "1.4.15"
- "@swc/core-linux-arm64-gnu" "1.4.15"
- "@swc/core-linux-arm64-musl" "1.4.15"
- "@swc/core-linux-x64-gnu" "1.4.15"
- "@swc/core-linux-x64-musl" "1.4.15"
- "@swc/core-win32-arm64-msvc" "1.4.15"
- "@swc/core-win32-ia32-msvc" "1.4.15"
- "@swc/core-win32-x64-msvc" "1.4.15"
+ "@swc/core-darwin-arm64" "1.4.16"
+ "@swc/core-darwin-x64" "1.4.16"
+ "@swc/core-linux-arm-gnueabihf" "1.4.16"
+ "@swc/core-linux-arm64-gnu" "1.4.16"
+ "@swc/core-linux-arm64-musl" "1.4.16"
+ "@swc/core-linux-x64-gnu" "1.4.16"
+ "@swc/core-linux-x64-musl" "1.4.16"
+ "@swc/core-win32-arm64-msvc" "1.4.16"
+ "@swc/core-win32-ia32-msvc" "1.4.16"
+ "@swc/core-win32-x64-msvc" "1.4.16"
"@swc/counter@^0.1.2":
version "0.1.3"
From f12969feea6eb5077044a58ddd3f333d695e16ae Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 18 Apr 2024 11:59:59 +0000
Subject: [PATCH 08/15] chore(deps): bump web-specs from 3.7.1 to 3.8.0
(#10952)
---
package.json | 2 +-
yarn.lock | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package.json b/package.json
index 816d00e54eba..252810f65190 100644
--- a/package.json
+++ b/package.json
@@ -146,7 +146,7 @@
"unist-builder": "^4.0.0",
"unist-util-visit": "^5.0.0",
"web-features": "^0.6.3",
- "web-specs": "^3.7.1"
+ "web-specs": "^3.8.0"
},
"devDependencies": {
"@babel/core": "^7.24.4",
diff --git a/yarn.lock b/yarn.lock
index d85db92cb745..a2efd7d3869a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -15541,10 +15541,10 @@ web-namespaces@^2.0.0:
resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-2.0.1.tgz#1010ff7c650eccb2592cebeeaf9a1b253fd40692"
integrity sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==
-web-specs@^3.7.1:
- version "3.7.1"
- resolved "https://registry.yarnpkg.com/web-specs/-/web-specs-3.7.1.tgz#231b8253845b1c96a72fb0ad3226bf89a4bb9afd"
- integrity sha512-snm7UBheKzwvK2WSUv0QPyZvQquv+S6Eduzuy8lHt/+CwPBY1Ic2vLNkIKhsBeJoDi42rXevTo2j2Axkw7Ln3g==
+web-specs@^3.8.0:
+ version "3.8.0"
+ resolved "https://registry.yarnpkg.com/web-specs/-/web-specs-3.8.0.tgz#8ec021ff94abee98db5491a8ed3c595de3f17293"
+ integrity sha512-tAJgIFOgHHAQiorvKW8gMCzrTDBzT+wThaXduQswmFuiMbKtQZQtBobQ74v4nIUKgPlIHi/e8ypYptcQ4OblKg==
web-streams-polyfill@4.0.0-beta.3:
version "4.0.0-beta.3"
From 5bbec3aa0f9d6f3fcef6db880a56746a25c51050 Mon Sep 17 00:00:00 2001
From: Claas Augner <495429+caugner@users.noreply.github.com>
Date: Thu, 18 Apr 2024 17:43:27 +0200
Subject: [PATCH 09/15] fix(playground): dispatch readystatechange + bubble
DOMContentLoaded on document (#10946)
fix(playground): dispatch readystatechange event
fix(playground): dispatch DOMContentLoaded event on document + bubble
---
client/public/runner.html | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/client/public/runner.html b/client/public/runner.html
index f3cb4e839b3b..a6b75d798221 100644
--- a/client/public/runner.html
+++ b/client/public/runner.html
@@ -121,8 +121,12 @@
script.textContent = state.js;
document.body.appendChild(script);
- dispatchEvent(new Event("DOMContentLoaded"));
- dispatchEvent(new Event("load"));
+ document.dispatchEvent(
+ new Event("DOMContentLoaded", { bubbles: true })
+ );
+ document.dispatchEvent(new Event("readystatechange"));
+ window.dispatchEvent(new Event("load"));
+
initialized = true;
}
window.addEventListener("message", (event) => {
From b625183ba34d04a71cfecb21822c613672542436 Mon Sep 17 00:00:00 2001
From: Claas Augner <495429+caugner@users.noreply.github.com>
Date: Thu, 18 Apr 2024 18:56:37 +0200
Subject: [PATCH 10/15] feat(experiment): rewrite Web/API page titles (#10926)
Problem: We identified a drop in search engine impressions in April 2023, which coincides
with the Web/API retitle project (https://github.com/mdn/mdn/issues/284), and we cannot
rule out that there is a causal relationship.
Solution: Run an experiment with 500 randomly sampled Web/API pages (of 2719 affected),
partially reverting the change to their `` (but not to the ``) by essentially
replacing `Foo: bar property` with `Foo.bar property`.
---
build/index.ts | 4 +-
build/seo.ts | 526 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 529 insertions(+), 1 deletion(-)
create mode 100644 build/seo.ts
diff --git a/build/index.ts b/build/index.ts
index 0bc3210fce02..ba4a2a08bfbe 100644
--- a/build/index.ts
+++ b/build/index.ts
@@ -44,6 +44,7 @@ import {
postProcessSmallerHeadingIDs,
} from "./utils.js";
import { getWebFeatureStatus } from "./web-features.js";
+import { rewritePageTitleForSEO } from "./seo.js";
export { default as SearchIndex } from "./search-index.js";
export { gather as gatherGitHistory } from "./git-history.js";
export { buildSPAs } from "./spas.js";
@@ -536,7 +537,8 @@ export async function buildDocument(
// a breadcrumb in the React component.
addBreadcrumbData(document.url, doc);
- doc.pageTitle = getPageTitle(doc);
+ const pageTitle = getPageTitle(doc);
+ doc.pageTitle = rewritePageTitleForSEO(doc.mdn_url, pageTitle);
// Decide whether it should be indexed (sitemaps, robots meta tag, search-index)
doc.noIndexing =
diff --git a/build/seo.ts b/build/seo.ts
new file mode 100644
index 000000000000..1eea663a83b2
--- /dev/null
+++ b/build/seo.ts
@@ -0,0 +1,526 @@
+// URLs of 500 pages randomly sampled from 2719 affected Web/API pages.
+const TEST_GROUP = new Set(
+ [
+ "Element/getClientRects",
+ "CSSImportRule/media",
+ "CSSFontPaletteValuesRule/basePalette",
+ "KeyboardEvent/code",
+ "GPUDevice/features",
+ "File/lastModified",
+ "CompositionEvent/CompositionEvent",
+ "IdleDetector/requestPermission",
+ "Notification/permission",
+ "GPUAdapter/limits",
+ "AudioParam/exponentialRampToValueAtTime",
+ "Navigator/unregisterProtocolHandler",
+ "ImageDecoder/complete",
+ "HTMLMediaElement/buffered",
+ "Node/compareDocumentPosition",
+ "OES_draw_buffers_indexed/blendFuncSeparateiOES",
+ "AudioBufferSourceNode/AudioBufferSourceNode",
+ "CSSLayerStatementRule/nameList",
+ "Document/fgColor",
+ "Document/open",
+ "File/File",
+ "HighlightRegistry/delete",
+ "HIDDevice/forget",
+ "CSSRotate/z",
+ "AbortController/signal",
+ "HTMLAreaElement/toString",
+ "Notification/badge",
+ "CookieStoreManager/subscribe",
+ "CSSPrimitiveValue/primitiveType",
+ "CSSPseudoElement/type",
+ "HTMLIFrameElement/referrerPolicy",
+ "AudioData/numberOfChannels",
+ "ElementInternals/ariaRowIndex",
+ "BarProp/visible",
+ "ImageTrack/frameCount",
+ "CanvasRenderingContext2D/imageSmoothingQuality",
+ "GeolocationCoordinates/speed",
+ "Ink/requestPresenter",
+ "DataTransfer/setData",
+ "GeolocationCoordinates/longitude",
+ "MerchantValidationEvent/validationURL",
+ "EncodedAudioChunk/byteLength",
+ "CSSTranslate/x",
+ "FontData/family",
+ "FileSystemHandle/remove",
+ "OverconstrainedError/constraint",
+ "Geolocation/watchPosition",
+ "OfflineAudioContext/OfflineAudioContext",
+ "GPUTexture/depthOrArrayLayers",
+ "OfflineAudioContext/startRendering",
+ "AudioTrack/id",
+ "NodeIterator/previousNode",
+ "Performance/setResourceTimingBufferSize",
+ "Animation/playState",
+ "FileSystem/root",
+ "IntersectionObserver/thresholds",
+ "BluetoothRemoteGATTDescriptor/writeValue",
+ "AnimationEvent/elapsedTime",
+ "LockManager/query",
+ "NavigationDestination/getState",
+ "Performance/measure",
+ "Document/lastModified",
+ "MutationEvent/attrChange",
+ "KeyframeEffect/pseudoElement",
+ "EventSource/close",
+ "GPUBuffer/destroy",
+ "PaymentAddress/sortingCode",
+ "MediaCapabilities/decodingInfo",
+ "MediaSource/removeSourceBuffer",
+ "DelayNode/delayTime",
+ "CanvasRenderingContext2D/isContextLost",
+ "GPUAdapter/isFallbackAdapter",
+ "MouseEvent/metaKey",
+ "AudioParam/linearRampToValueAtTime",
+ "CSSScale/z",
+ "MediaTrackConstraints/facingMode",
+ "BluetoothCharacteristicProperties/writeWithoutResponse",
+ "DOMTokenList/replace",
+ "EncodedVideoChunk/type",
+ "NDEFRecord/lang",
+ "Navigator/onLine",
+ "MediaStream/getTracks",
+ "MediaKeySession/update",
+ "MediaTrackSupportedConstraints/frameRate",
+ "OfflineAudioContext/length",
+ "Cache/delete",
+ "MessageEvent/source",
+ "MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode",
+ "History/back",
+ "Element/outerHTML",
+ "GPUCanvasContext/getCurrentTexture",
+ "Element/className",
+ "MediaError/msExtendedCode",
+ "ExtendableCookieChangeEvent/changed",
+ "MediaRecorder/start",
+ "PaymentRequestEvent/instrumentKey",
+ "GPUDevice/createComputePipeline",
+ "GeolocationCoordinates/accuracy",
+ "GPUCommandEncoder/copyTextureToBuffer",
+ "HTMLSelectElement/remove",
+ "HTMLSelectElement/autofocus",
+ "IDBObjectStore/getKey",
+ "MutationEvent/newValue",
+ "PerformanceElementTiming/url",
+ "ElementInternals/validity",
+ "Navigator/xr",
+ "CSSContainerRule/containerQuery",
+ "MediaSource/clearLiveSeekableRange",
+ "InputEvent/inputType",
+ "FontFaceSet/check",
+ "HTMLFormControlsCollection/namedItem",
+ "CSSKeyframesRule/name",
+ "MouseEvent/buttons",
+ "CanvasRenderingContext2D/strokeRect",
+ "Element/clientWidth",
+ "BatteryManager/level",
+ "Crypto/getRandomValues",
+ "Performance/timing",
+ "Document/clear",
+ "History/replaceState",
+ "MediaList/mediaText",
+ "DOMTokenList/item",
+ "CSSUnparsedValue/length",
+ "Gyroscope/z",
+ "MediaStreamTrack/getConstraints",
+ "NavigationDestination/url",
+ "BluetoothCharacteristicProperties/reliableWrite",
+ "HIDDevice/collections",
+ "IDBFactory/open",
+ "CSSTransformValue/entries",
+ "CanvasRenderingContext2D/direction",
+ "CSSPrimitiveValue/getCounterValue",
+ "GPUAdapterInfo/description",
+ "DataTransfer/files",
+ "MediaQueryList/addListener",
+ "CookieChangeEvent/changed",
+ "EventTarget/dispatchEvent",
+ "Clipboard/readText",
+ "Performance/timeOrigin",
+ "GPUQueue/onSubmittedWorkDone",
+ "Node/isSameNode",
+ "NotificationEvent/action",
+ "MediaQueryList/media",
+ "ElementInternals/ariaColCount",
+ "CSSImportRule/layerName",
+ "Document/scripts",
+ "HTMLImageElement/x",
+ "HTMLFormElement/encoding",
+ "Navigator/maxTouchPoints",
+ "console/profileEnd",
+ "GPUCommandEncoder/popDebugGroup",
+ "MediaDevices/getSupportedConstraints",
+ "KeyboardEvent/charCode",
+ "HTMLInputElement/setRangeText",
+ "Element/ariaColCount",
+ "KeyframeEffect/target",
+ "GeolocationCoordinates/altitudeAccuracy",
+ "Document/createTextNode",
+ "DocumentFragment/children",
+ "Element/animate",
+ "ImageDecoder/type",
+ "AnalyserNode/getByteTimeDomainData",
+ "GamepadHapticActuator/type",
+ "HTMLTableElement/summary",
+ "CookieStoreManager/getSubscriptions",
+ "HTMLTextAreaElement/labels",
+ "CSSStyleRule/styleMap",
+ "MIDIPort/state",
+ "IDBIndex/objectStore",
+ "GPUCommandEncoder/label",
+ "CSSNumericValue/parse",
+ "CSSPrimitiveValue/getFloatValue",
+ "Element/scrollIntoViewIfNeeded",
+ "HTMLAreaElement/relList",
+ "PannerNode/setPosition",
+ "Element/ariaAtomic",
+ "HTMLSelectElement/labels",
+ "FetchEvent/handled",
+ "CanMakePaymentEvent/respondWith",
+ "HTMLAnchorElement/href",
+ "PageTransitionEvent/persisted",
+ "CanvasRenderingContext2D/lineCap",
+ "NDEFReadingEvent/message",
+ "GPUTexture/label",
+ "Performance/navigation",
+ "HTMLFormElement/method",
+ "CSSCounterStyleRule/suffix",
+ "CanvasRenderingContext2D/lineWidth",
+ "NavigateEvent/scroll",
+ "Event/currentTarget",
+ "NodeList/length",
+ "ImageCapture/takePhoto",
+ "KeyboardEvent/initKeyboardEvent",
+ "IDBObjectStore/keyPath",
+ "HTMLMediaElement/canPlayType",
+ "CanvasRenderingContext2D/scale",
+ "Document/xmlEncoding",
+ "AudioData/close",
+ "FormData/getAll",
+ "GPUComputePipeline/getBindGroupLayout",
+ "Document/createEvent",
+ "OscillatorNode/detune",
+ "console/profile",
+ "CanvasRenderingContext2D/miterLimit",
+ "CanvasRenderingContext2D/closePath",
+ "BluetoothCharacteristicProperties/authenticatedSignedWrites",
+ "Magnetometer/y",
+ "Element/clientLeft",
+ "CSSKeyframesRule/appendRule",
+ "FormData/get",
+ "Navigator/mediaCapabilities",
+ "FeaturePolicy/getAllowlistForFeature",
+ "ElementInternals/ariaValueNow",
+ "ImageDecoder/reset",
+ "Blob/type",
+ "InkPresenter/presentationArea",
+ "AnimationPlaybackEvent/timelineTime",
+ "GPUCommandEncoder/insertDebugMarker",
+ "CustomEvent/CustomEvent",
+ "Gamepad/connected",
+ "HTMLShadowElement/getDistributedNodes",
+ "Element/elementTiming",
+ "Highlight/has",
+ "Document/pictureInPictureElement",
+ "Keyboard/getLayoutMap",
+ "AudioWorkletProcessor/port",
+ "DocumentType/before",
+ "Document/pictureInPictureEnabled",
+ "AbortSignal/abort",
+ "NavigationCurrentEntryChangeEvent/navigationType",
+ "MediaRecorder/videoBitsPerSecond",
+ "GPUTexture/usage",
+ "BaseAudioContext/createChannelSplitter",
+ "Gyroscope/y",
+ "MediaTrackSupportedConstraints/noiseSuppression",
+ "InputDeviceInfo/getCapabilities",
+ "CSSKeywordValue/CSSKeywordValue",
+ "AudioDecoder/AudioDecoder",
+ "PannerNode/setVelocity",
+ "HTMLAreaElement/protocol",
+ "MutationObserver/takeRecords",
+ "CacheStorage/delete",
+ "BroadcastChannel/name",
+ "Element/lastElementChild",
+ "DeviceMotionEvent/acceleration",
+ "MediaList/item",
+ "FileReader/readyState",
+ "HTMLAnchorElement/origin",
+ "HTMLMediaElement/seekable",
+ "HTMLAreaElement/pathname",
+ "GPUPipelineError/reason",
+ "AbortSignal/aborted",
+ "IDBFactory/deleteDatabase",
+ "CSSMathSum/CSSMathSum",
+ "CSSStyleDeclaration/getPropertyCSSValue",
+ "HTMLElement/offsetHeight",
+ "ElementInternals/checkValidity",
+ "HTMLObjectElement/willValidate",
+ "CanvasRenderingContext2D/fillRect",
+ "Navigator/taintEnabled",
+ "GPUDevice/destroy",
+ "CloseEvent/reason",
+ "GPUQuerySet/count",
+ "AudioTrackList/length",
+ "LargestContentfulPaint/toJSON",
+ "MIDIPort/close",
+ "Navigator/windowControlsOverlay",
+ "IDBObjectStore/openKeyCursor",
+ "InputEvent/dataTransfer",
+ "MouseEvent/y",
+ "CSSPositionValue/y",
+ "HTMLProgressElement/labels",
+ "FileSystemHandle/name",
+ "DOMPoint/DOMPoint",
+ "HTMLSelectElement/type",
+ "HTMLInputElement/checkValidity",
+ "PaymentResponse/toJSON",
+ "Element/ariaValueText",
+ "console/timeStamp",
+ "MediaStreamTrackProcessor/MediaStreamTrackProcessor",
+ "GPUTexture/destroy",
+ "Clipboard/writeText",
+ "CSSKeyframeRule/keyText",
+ "ImageBitmap/close",
+ "DecompressionStream/DecompressionStream",
+ "Accelerometer/z",
+ "MediaStream/removeTrack",
+ "DocumentFragment/querySelectorAll",
+ "HighlightRegistry/values",
+ "HTMLFormElement/length",
+ "DOMImplementation/createHTMLDocument",
+ "CSSCounterStyleRule/name",
+ "HTMLImageElement/sizes",
+ "GPUCommandEncoder/finish",
+ "Attr/name",
+ "CSSStyleSheet/CSSStyleSheet",
+ "DocumentFragment/firstElementChild",
+ "KeyboardLayoutMap/has",
+ "IIRFilterNode/getFrequencyResponse",
+ "ElementInternals/setFormValue",
+ "Document/getAnimations",
+ "Document/location",
+ "Document/body",
+ "AudioBuffer/copyToChannel",
+ "BlobEvent/data",
+ "CSSStyleDeclaration/removeProperty",
+ "AudioDecoder/decodeQueueSize",
+ "Navigator/hardwareConcurrency",
+ "PaymentRequestEvent/paymentRequestOrigin",
+ "AudioNode/channelInterpretation",
+ "MediaRecorder/MediaRecorder",
+ "IDBKeyRange/upperOpen",
+ "NodeIterator/detach",
+ "HTMLInputElement/stepDown",
+ "FontFace/variationSettings",
+ "NavigateEvent/NavigateEvent",
+ "BluetoothUUID/getService",
+ "GPUDevice/createPipelineLayout",
+ "GPURenderPassEncoder/setPipeline",
+ "AuthenticatorAssertionResponse/signature",
+ "PaymentAddress/addressLine",
+ "BackgroundFetchManager/getIds",
+ "CanvasRenderingContext2D/getContextAttributes",
+ "CharacterData/after",
+ "Element/innerHTML",
+ "BarcodeDetector/detect",
+ "Performance/memory",
+ "MediaStreamTrack/getCapabilities",
+ "CSSMathProduct/values",
+ "BackgroundFetchUpdateUIEvent/updateUI",
+ "FileReader/readAsDataURL",
+ "PannerNode/distanceModel",
+ "CSSPrimitiveValue/getRGBColorValue",
+ "FontFaceSet/clear",
+ "Navigator/appCodeName",
+ "Navigator/hid",
+ "console/count",
+ "console/timeEnd",
+ "HTMLMediaElement/muted",
+ "Notification/vibrate",
+ "CSS/escape",
+ "Document/fullscreenElement",
+ "ImageTrack/repetitionCount",
+ "Navigator/activeVRDisplays",
+ "AudioBufferSourceNode/playbackRate",
+ "CSSRotate/CSSRotate",
+ "Navigator/locks",
+ "Node/isConnected",
+ "MediaRecorder/warning_event",
+ "PaintWorkletGlobalScope/devicePixelRatio",
+ "GPUDevice/createRenderPipeline",
+ "KeyboardEvent/location",
+ "DedicatedWorkerGlobalScope/postMessage",
+ "Navigator/canShare",
+ "CredentialsContainer/get",
+ "console/dir",
+ "PaymentRequest/shippingOption",
+ "Element/getElementsByTagNameNS",
+ "MediaDeviceInfo/kind",
+ "Document/createAttributeNS",
+ "GeolocationPosition/coords",
+ "Element/remove",
+ "Element/hasAttribute",
+ "HTMLVideoElement/getVideoPlaybackQuality",
+ "GPUQueue/writeBuffer",
+ "AudioContext/sinkId",
+ "HighlightRegistry/has",
+ "ExtendableMessageEvent/origin",
+ "IntersectionObserverEntry/time",
+ "OES_draw_buffers_indexed/enableiOES",
+ "History/state",
+ "OscillatorNode/frequency",
+ "HTMLInputElement/setSelectionRange",
+ "ClipboardEvent/ClipboardEvent",
+ "LayoutShiftAttribution/toJSON",
+ "AnimationEffect/updateTiming",
+ "FontFaceSetLoadEvent/fontfaces",
+ "Highlight/entries",
+ "CSSRule/parentRule",
+ "DOMPointReadOnly/w",
+ "GPURenderPassEncoder/end",
+ "IDBRequest/readyState",
+ "MediaTrackSettings/sampleSize",
+ "IntersectionObserverEntry/intersectionRect",
+ "GamepadHapticActuator/pulse",
+ "GPUDevice/createRenderPipelineAsync",
+ "MediaRecorder/stream",
+ "MediaTrackConstraints/height",
+ "CanvasRenderingContext2D/rect",
+ "HIDDevice/receiveFeatureReport",
+ "FileReaderSync/readAsText",
+ "NavigationHistoryEntry/key",
+ "Element/closest",
+ "HTMLLabelElement/htmlFor",
+ "File/webkitRelativePath",
+ "Element/ariaRequired",
+ "HTMLVideoElement/videoWidth",
+ "Highlight/add",
+ "Element/ariaExpanded",
+ "GPUUncapturedErrorEvent/GPUUncapturedErrorEvent",
+ "PaymentRequestUpdateEvent/PaymentRequestUpdateEvent",
+ "ElementInternals/ariaExpanded",
+ "BluetoothDevice/gatt",
+ "AudioContext/createMediaElementSource",
+ "Event/target",
+ "GPUUncapturedErrorEvent/error",
+ "FormData/has",
+ "DeviceMotionEventAcceleration/x",
+ "MIDIPort/name",
+ "CanvasRenderingContext2D/roundRect",
+ "HTMLIFrameElement/allowPaymentRequest",
+ "BackgroundFetchRegistration/uploaded",
+ "FontFace/unicodeRange",
+ "BluetoothRemoteGATTServer/device",
+ "FormData/delete",
+ "ElementInternals/ariaValueMax",
+ "ContentIndex/getAll",
+ "HTMLImageElement/alt",
+ "Element/attachShadow",
+ "MediaList/length",
+ "BaseAudioContext/sampleRate",
+ "CountQueuingStrategy/size",
+ "Notification/renotify",
+ "FormData/append",
+ "Notification/requestPermission",
+ "DelayNode/DelayNode",
+ "CSSStyleSheet/addRule",
+ "CharacterData/remove",
+ "Element/insertAdjacentText",
+ "CSSUnitValue/CSSUnitValue",
+ "CSSUnitValue/unit",
+ "FileReaderSync/FileReaderSync",
+ "HTMLIFrameElement/credentialless",
+ "CanvasRenderingContext2D/createConicGradient",
+ "AudioListener/upZ",
+ "Event/isTrusted",
+ "MutationRecord/attributeName",
+ "HTMLCanvasElement/toBlob",
+ "CustomStateSet/values",
+ "CSSNumericValue/type",
+ "GPUCompilationMessage/lineNum",
+ "GPURenderBundleEncoder/pushDebugGroup",
+ "DataTransferItem/kind",
+ "GPURenderBundleEncoder/insertDebugMarker",
+ "HTMLAreaElement/referrerPolicy",
+ "InterventionReportBody/sourceFile",
+ "ImageData/colorSpace",
+ "Animation/id",
+ "Navigator/requestMIDIAccess",
+ "Navigator/permissions",
+ "Document/lastElementChild",
+ "GPURenderPassEncoder/executeBundles",
+ "PaymentRequestUpdateEvent/updateWith",
+ "MediaTrackSupportedConstraints/echoCancellation",
+ "AudioData/sampleRate",
+ "HIDDevice/sendFeatureReport",
+ "DOMRectReadOnly/left",
+ "MediaTrackSettings/sampleRate",
+ "AudioTrackList/getTrackById",
+ "CSSNumericValue/equals",
+ "FontFace/style",
+ "Document/fullscreenEnabled",
+ "HTMLAnchorElement/toString",
+ "KeyboardEvent/getModifierState",
+ "BluetoothRemoteGATTCharacteristic/getDescriptor",
+ "AudioNode/channelCount",
+ "CompositionEvent/data",
+ "MediaKeyMessageEvent/message",
+ "Clients/get",
+ "CSSFontFeatureValuesRule/fontFamily",
+ "Gyroscope/x",
+ "Element/ariaRelevant",
+ "PageTransitionEvent/PageTransitionEvent",
+ "CanvasRenderingContext2D/isPointInPath",
+ "NavigatorUAData/brands",
+ "FileSystemDirectoryEntry/getDirectory",
+ "CanvasRenderingContext2D/resetTransform",
+ "Highlight/type",
+ "IDBIndex/count",
+ "HTMLInputElement/labels",
+ "Metadata/modificationTime",
+ "IDBIndex/name",
+ "CSSTransformValue/length",
+ "IDBCursor/primaryKey",
+ "DOMRect/DOMRect",
+ "HTMLSelectElement/disabled",
+ "HTMLSelectElement/namedItem",
+ "HTMLSlotElement/assignedNodes",
+ "DOMPointReadOnly/y",
+ "Lock/mode",
+ "Bluetooth/getDevices",
+ "IDBVersionChangeEvent/oldVersion",
+ "ElementInternals/ariaPressed",
+ "MediaSource/endOfStream",
+ "HTMLMediaElement/readyState",
+ "Blob/Blob",
+ "CSSScale/x",
+ "DOMPointReadOnly/z",
+ "MediaTrackSettings/deviceId",
+ "AudioContext/setSinkId",
+ ].map((slugSuffix) => `/en-US/docs/Web/API/${slugSuffix}`.toLowerCase())
+);
+
+export function rewritePageTitleForSEO(
+ mdn_url: string,
+ s: string | null
+): string | null {
+ if (
+ typeof s !== "string" ||
+ typeof mdn_url !== "string" ||
+ !TEST_GROUP.has(mdn_url.toLowerCase())
+ ) {
+ return s;
+ }
+
+ return (
+ s
+ // "AudioBuffer: sampleRate property" -> "AudioBuffer.sampleRate property"
+ .replace(/^(.*): (.*?) (static )?(method|property)/, "$1.$2 $3$4")
+ // "AudioBuffer: AudioBuffer() constructor" -> "AudioBuffer() constructor"
+ .replace(/^(.*): (\1\(\)) constructor/, "$2 constructor") ?? null
+ );
+}
From 559f8fd0af8c904c963303f118b52d75ee73a4a6 Mon Sep 17 00:00:00 2001
From: Claas Augner <495429+caugner@users.noreply.github.com>
Date: Thu, 18 Apr 2024 21:50:22 +0200
Subject: [PATCH 11/15] fix(experiment): replace test group for Web/API page
titles (#10955)
The previous test group was not sampled from
the full population of affected Web/API pages.
---
build/seo.ts | 984 +++++++++++++++++++++++++--------------------------
1 file changed, 492 insertions(+), 492 deletions(-)
diff --git a/build/seo.ts b/build/seo.ts
index 1eea663a83b2..4cb2639eb446 100644
--- a/build/seo.ts
+++ b/build/seo.ts
@@ -1,506 +1,506 @@
-// URLs of 500 pages randomly sampled from 2719 affected Web/API pages.
+// URLs of 500 pages randomly sampled from 4824 affected Web/API pages.
const TEST_GROUP = new Set(
[
- "Element/getClientRects",
- "CSSImportRule/media",
- "CSSFontPaletteValuesRule/basePalette",
- "KeyboardEvent/code",
- "GPUDevice/features",
- "File/lastModified",
- "CompositionEvent/CompositionEvent",
- "IdleDetector/requestPermission",
- "Notification/permission",
- "GPUAdapter/limits",
- "AudioParam/exponentialRampToValueAtTime",
- "Navigator/unregisterProtocolHandler",
- "ImageDecoder/complete",
- "HTMLMediaElement/buffered",
- "Node/compareDocumentPosition",
- "OES_draw_buffers_indexed/blendFuncSeparateiOES",
- "AudioBufferSourceNode/AudioBufferSourceNode",
- "CSSLayerStatementRule/nameList",
- "Document/fgColor",
- "Document/open",
- "File/File",
- "HighlightRegistry/delete",
- "HIDDevice/forget",
- "CSSRotate/z",
- "AbortController/signal",
- "HTMLAreaElement/toString",
- "Notification/badge",
- "CookieStoreManager/subscribe",
- "CSSPrimitiveValue/primitiveType",
- "CSSPseudoElement/type",
- "HTMLIFrameElement/referrerPolicy",
- "AudioData/numberOfChannels",
- "ElementInternals/ariaRowIndex",
- "BarProp/visible",
- "ImageTrack/frameCount",
- "CanvasRenderingContext2D/imageSmoothingQuality",
- "GeolocationCoordinates/speed",
- "Ink/requestPresenter",
- "DataTransfer/setData",
- "GeolocationCoordinates/longitude",
- "MerchantValidationEvent/validationURL",
- "EncodedAudioChunk/byteLength",
- "CSSTranslate/x",
- "FontData/family",
- "FileSystemHandle/remove",
- "OverconstrainedError/constraint",
- "Geolocation/watchPosition",
- "OfflineAudioContext/OfflineAudioContext",
- "GPUTexture/depthOrArrayLayers",
- "OfflineAudioContext/startRendering",
- "AudioTrack/id",
- "NodeIterator/previousNode",
- "Performance/setResourceTimingBufferSize",
- "Animation/playState",
- "FileSystem/root",
- "IntersectionObserver/thresholds",
- "BluetoothRemoteGATTDescriptor/writeValue",
- "AnimationEvent/elapsedTime",
- "LockManager/query",
- "NavigationDestination/getState",
- "Performance/measure",
- "Document/lastModified",
- "MutationEvent/attrChange",
- "KeyframeEffect/pseudoElement",
- "EventSource/close",
- "GPUBuffer/destroy",
- "PaymentAddress/sortingCode",
- "MediaCapabilities/decodingInfo",
- "MediaSource/removeSourceBuffer",
- "DelayNode/delayTime",
- "CanvasRenderingContext2D/isContextLost",
- "GPUAdapter/isFallbackAdapter",
- "MouseEvent/metaKey",
- "AudioParam/linearRampToValueAtTime",
- "CSSScale/z",
- "MediaTrackConstraints/facingMode",
- "BluetoothCharacteristicProperties/writeWithoutResponse",
- "DOMTokenList/replace",
- "EncodedVideoChunk/type",
- "NDEFRecord/lang",
- "Navigator/onLine",
- "MediaStream/getTracks",
- "MediaKeySession/update",
- "MediaTrackSupportedConstraints/frameRate",
- "OfflineAudioContext/length",
- "Cache/delete",
- "MessageEvent/source",
- "MediaStreamAudioDestinationNode/MediaStreamAudioDestinationNode",
- "History/back",
- "Element/outerHTML",
- "GPUCanvasContext/getCurrentTexture",
- "Element/className",
- "MediaError/msExtendedCode",
- "ExtendableCookieChangeEvent/changed",
- "MediaRecorder/start",
- "PaymentRequestEvent/instrumentKey",
- "GPUDevice/createComputePipeline",
- "GeolocationCoordinates/accuracy",
- "GPUCommandEncoder/copyTextureToBuffer",
- "HTMLSelectElement/remove",
- "HTMLSelectElement/autofocus",
- "IDBObjectStore/getKey",
- "MutationEvent/newValue",
- "PerformanceElementTiming/url",
- "ElementInternals/validity",
- "Navigator/xr",
- "CSSContainerRule/containerQuery",
- "MediaSource/clearLiveSeekableRange",
- "InputEvent/inputType",
- "FontFaceSet/check",
- "HTMLFormControlsCollection/namedItem",
- "CSSKeyframesRule/name",
- "MouseEvent/buttons",
- "CanvasRenderingContext2D/strokeRect",
- "Element/clientWidth",
- "BatteryManager/level",
- "Crypto/getRandomValues",
- "Performance/timing",
- "Document/clear",
- "History/replaceState",
- "MediaList/mediaText",
- "DOMTokenList/item",
- "CSSUnparsedValue/length",
- "Gyroscope/z",
- "MediaStreamTrack/getConstraints",
- "NavigationDestination/url",
- "BluetoothCharacteristicProperties/reliableWrite",
- "HIDDevice/collections",
- "IDBFactory/open",
- "CSSTransformValue/entries",
- "CanvasRenderingContext2D/direction",
- "CSSPrimitiveValue/getCounterValue",
- "GPUAdapterInfo/description",
- "DataTransfer/files",
- "MediaQueryList/addListener",
- "CookieChangeEvent/changed",
- "EventTarget/dispatchEvent",
- "Clipboard/readText",
- "Performance/timeOrigin",
- "GPUQueue/onSubmittedWorkDone",
- "Node/isSameNode",
- "NotificationEvent/action",
- "MediaQueryList/media",
- "ElementInternals/ariaColCount",
- "CSSImportRule/layerName",
- "Document/scripts",
- "HTMLImageElement/x",
- "HTMLFormElement/encoding",
- "Navigator/maxTouchPoints",
- "console/profileEnd",
- "GPUCommandEncoder/popDebugGroup",
- "MediaDevices/getSupportedConstraints",
- "KeyboardEvent/charCode",
- "HTMLInputElement/setRangeText",
- "Element/ariaColCount",
- "KeyframeEffect/target",
- "GeolocationCoordinates/altitudeAccuracy",
- "Document/createTextNode",
- "DocumentFragment/children",
- "Element/animate",
- "ImageDecoder/type",
- "AnalyserNode/getByteTimeDomainData",
- "GamepadHapticActuator/type",
- "HTMLTableElement/summary",
- "CookieStoreManager/getSubscriptions",
- "HTMLTextAreaElement/labels",
- "CSSStyleRule/styleMap",
- "MIDIPort/state",
- "IDBIndex/objectStore",
- "GPUCommandEncoder/label",
- "CSSNumericValue/parse",
- "CSSPrimitiveValue/getFloatValue",
- "Element/scrollIntoViewIfNeeded",
- "HTMLAreaElement/relList",
- "PannerNode/setPosition",
- "Element/ariaAtomic",
- "HTMLSelectElement/labels",
- "FetchEvent/handled",
- "CanMakePaymentEvent/respondWith",
- "HTMLAnchorElement/href",
- "PageTransitionEvent/persisted",
- "CanvasRenderingContext2D/lineCap",
- "NDEFReadingEvent/message",
- "GPUTexture/label",
- "Performance/navigation",
- "HTMLFormElement/method",
- "CSSCounterStyleRule/suffix",
- "CanvasRenderingContext2D/lineWidth",
- "NavigateEvent/scroll",
- "Event/currentTarget",
- "NodeList/length",
- "ImageCapture/takePhoto",
- "KeyboardEvent/initKeyboardEvent",
- "IDBObjectStore/keyPath",
- "HTMLMediaElement/canPlayType",
- "CanvasRenderingContext2D/scale",
- "Document/xmlEncoding",
- "AudioData/close",
- "FormData/getAll",
- "GPUComputePipeline/getBindGroupLayout",
- "Document/createEvent",
- "OscillatorNode/detune",
- "console/profile",
- "CanvasRenderingContext2D/miterLimit",
- "CanvasRenderingContext2D/closePath",
- "BluetoothCharacteristicProperties/authenticatedSignedWrites",
- "Magnetometer/y",
- "Element/clientLeft",
- "CSSKeyframesRule/appendRule",
- "FormData/get",
- "Navigator/mediaCapabilities",
- "FeaturePolicy/getAllowlistForFeature",
- "ElementInternals/ariaValueNow",
- "ImageDecoder/reset",
- "Blob/type",
- "InkPresenter/presentationArea",
- "AnimationPlaybackEvent/timelineTime",
- "GPUCommandEncoder/insertDebugMarker",
- "CustomEvent/CustomEvent",
- "Gamepad/connected",
- "HTMLShadowElement/getDistributedNodes",
- "Element/elementTiming",
- "Highlight/has",
- "Document/pictureInPictureElement",
- "Keyboard/getLayoutMap",
- "AudioWorkletProcessor/port",
- "DocumentType/before",
- "Document/pictureInPictureEnabled",
- "AbortSignal/abort",
- "NavigationCurrentEntryChangeEvent/navigationType",
- "MediaRecorder/videoBitsPerSecond",
- "GPUTexture/usage",
- "BaseAudioContext/createChannelSplitter",
- "Gyroscope/y",
- "MediaTrackSupportedConstraints/noiseSuppression",
- "InputDeviceInfo/getCapabilities",
- "CSSKeywordValue/CSSKeywordValue",
- "AudioDecoder/AudioDecoder",
- "PannerNode/setVelocity",
- "HTMLAreaElement/protocol",
- "MutationObserver/takeRecords",
- "CacheStorage/delete",
- "BroadcastChannel/name",
- "Element/lastElementChild",
- "DeviceMotionEvent/acceleration",
- "MediaList/item",
- "FileReader/readyState",
- "HTMLAnchorElement/origin",
- "HTMLMediaElement/seekable",
- "HTMLAreaElement/pathname",
- "GPUPipelineError/reason",
- "AbortSignal/aborted",
- "IDBFactory/deleteDatabase",
- "CSSMathSum/CSSMathSum",
- "CSSStyleDeclaration/getPropertyCSSValue",
- "HTMLElement/offsetHeight",
- "ElementInternals/checkValidity",
- "HTMLObjectElement/willValidate",
- "CanvasRenderingContext2D/fillRect",
- "Navigator/taintEnabled",
- "GPUDevice/destroy",
- "CloseEvent/reason",
+ "SVGStyleElement/media",
+ "MutationEvent/initMutationEvent",
+ "CSSPrimitiveValue/getStringValue",
+ "RTCIceCandidateStats/candidateType",
+ "RTCIceCandidate/relatedPort",
+ "Cache/match",
+ "URLSearchParams/append",
+ "XRWebGLBinding/createEquirectLayer",
+ "Element/ariaBusy",
"GPUQuerySet/count",
- "AudioTrackList/length",
- "LargestContentfulPaint/toJSON",
- "MIDIPort/close",
- "Navigator/windowControlsOverlay",
- "IDBObjectStore/openKeyCursor",
- "InputEvent/dataTransfer",
- "MouseEvent/y",
- "CSSPositionValue/y",
- "HTMLProgressElement/labels",
- "FileSystemHandle/name",
- "DOMPoint/DOMPoint",
- "HTMLSelectElement/type",
- "HTMLInputElement/checkValidity",
- "PaymentResponse/toJSON",
- "Element/ariaValueText",
- "console/timeStamp",
- "MediaStreamTrackProcessor/MediaStreamTrackProcessor",
- "GPUTexture/destroy",
- "Clipboard/writeText",
- "CSSKeyframeRule/keyText",
- "ImageBitmap/close",
- "DecompressionStream/DecompressionStream",
- "Accelerometer/z",
- "MediaStream/removeTrack",
- "DocumentFragment/querySelectorAll",
- "HighlightRegistry/values",
- "HTMLFormElement/length",
- "DOMImplementation/createHTMLDocument",
- "CSSCounterStyleRule/name",
- "HTMLImageElement/sizes",
- "GPUCommandEncoder/finish",
- "Attr/name",
- "CSSStyleSheet/CSSStyleSheet",
- "DocumentFragment/firstElementChild",
- "KeyboardLayoutMap/has",
- "IIRFilterNode/getFrequencyResponse",
- "ElementInternals/setFormValue",
- "Document/getAnimations",
- "Document/location",
- "Document/body",
- "AudioBuffer/copyToChannel",
- "BlobEvent/data",
- "CSSStyleDeclaration/removeProperty",
- "AudioDecoder/decodeQueueSize",
- "Navigator/hardwareConcurrency",
- "PaymentRequestEvent/paymentRequestOrigin",
- "AudioNode/channelInterpretation",
- "MediaRecorder/MediaRecorder",
- "IDBKeyRange/upperOpen",
- "NodeIterator/detach",
- "HTMLInputElement/stepDown",
- "FontFace/variationSettings",
- "NavigateEvent/NavigateEvent",
- "BluetoothUUID/getService",
- "GPUDevice/createPipelineLayout",
- "GPURenderPassEncoder/setPipeline",
- "AuthenticatorAssertionResponse/signature",
- "PaymentAddress/addressLine",
- "BackgroundFetchManager/getIds",
- "CanvasRenderingContext2D/getContextAttributes",
- "CharacterData/after",
- "Element/innerHTML",
- "BarcodeDetector/detect",
- "Performance/memory",
- "MediaStreamTrack/getCapabilities",
- "CSSMathProduct/values",
- "BackgroundFetchUpdateUIEvent/updateUI",
- "FileReader/readAsDataURL",
- "PannerNode/distanceModel",
- "CSSPrimitiveValue/getRGBColorValue",
- "FontFaceSet/clear",
- "Navigator/appCodeName",
- "Navigator/hid",
- "console/count",
- "console/timeEnd",
- "HTMLMediaElement/muted",
- "Notification/vibrate",
- "CSS/escape",
- "Document/fullscreenElement",
- "ImageTrack/repetitionCount",
- "Navigator/activeVRDisplays",
- "AudioBufferSourceNode/playbackRate",
- "CSSRotate/CSSRotate",
- "Navigator/locks",
- "Node/isConnected",
- "MediaRecorder/warning_event",
- "PaintWorkletGlobalScope/devicePixelRatio",
- "GPUDevice/createRenderPipeline",
- "KeyboardEvent/location",
+ "UIEvent/detail",
+ "Selection/toString",
+ "MediaTrackConstraints/frameRate",
+ "FileSystemSyncAccessHandle/truncate",
+ "StylePropertyMapReadOnly/keys",
+ "NetworkInformation/type",
+ "WebGLRenderingContext/uniform",
+ "DOMMatrixReadOnly/flipX",
+ "XMLHttpRequest/status",
+ "RTCIceTransport/getLocalCandidates",
+ "BroadcastChannel/close",
+ "GPUDevice/lost",
+ "RTCOutboundRtpStreamStats/perDscpPacketsSent",
+ "AudioListener/upZ",
+ "BackgroundFetchRegistration/id",
+ "ReadableStream/ReadableStream",
+ "Notification/body",
+ "InterventionReportBody/lineNumber",
+ "WorkerNavigator/locks",
+ "InterventionReportBody/toJSON",
+ "ElementInternals/ariaValueMax",
+ "Response/bodyUsed",
+ "HTMLMediaElement/setSinkId",
+ "GPU/getPreferredCanvasFormat",
+ "WebGL2RenderingContext/beginTransformFeedback",
+ "CSSScopeRule/start",
+ "CacheStorage/keys",
"DedicatedWorkerGlobalScope/postMessage",
- "Navigator/canShare",
- "CredentialsContainer/get",
- "console/dir",
- "PaymentRequest/shippingOption",
- "Element/getElementsByTagNameNS",
- "MediaDeviceInfo/kind",
- "Document/createAttributeNS",
- "GeolocationPosition/coords",
- "Element/remove",
- "Element/hasAttribute",
- "HTMLVideoElement/getVideoPlaybackQuality",
- "GPUQueue/writeBuffer",
- "AudioContext/sinkId",
- "HighlightRegistry/has",
- "ExtendableMessageEvent/origin",
- "IntersectionObserverEntry/time",
- "OES_draw_buffers_indexed/enableiOES",
- "History/state",
- "OscillatorNode/frequency",
- "HTMLInputElement/setSelectionRange",
- "ClipboardEvent/ClipboardEvent",
- "LayoutShiftAttribution/toJSON",
- "AnimationEffect/updateTiming",
- "FontFaceSetLoadEvent/fontfaces",
- "Highlight/entries",
- "CSSRule/parentRule",
- "DOMPointReadOnly/w",
- "GPURenderPassEncoder/end",
- "IDBRequest/readyState",
- "MediaTrackSettings/sampleSize",
- "IntersectionObserverEntry/intersectionRect",
- "GamepadHapticActuator/pulse",
- "GPUDevice/createRenderPipelineAsync",
- "MediaRecorder/stream",
- "MediaTrackConstraints/height",
- "CanvasRenderingContext2D/rect",
- "HIDDevice/receiveFeatureReport",
- "FileReaderSync/readAsText",
+ "RTCDTMFSender/toneBuffer",
+ "PushSubscriptionOptions/applicationServerKey",
+ "WebTransportDatagramDuplexStream/incomingMaxAge",
+ "BatteryManager/charging",
+ "Navigator/vibrate",
+ "StylePropertyMapReadOnly/size",
+ "TextMetrics/fontBoundingBoxAscent",
+ "XRInputSourcesChangeEvent/XRInputSourcesChangeEvent",
+ "MediaDeviceInfo/deviceId",
+ "BaseAudioContext/createChannelMerger",
+ "ImageData/ImageData",
+ "URL/origin",
+ "ServiceWorkerRegistration/active",
"NavigationHistoryEntry/key",
- "Element/closest",
- "HTMLLabelElement/htmlFor",
- "File/webkitRelativePath",
- "Element/ariaRequired",
+ "ContentIndex/add",
+ "Document/xmlVersion",
+ "RemotePlayback/watchAvailability",
+ "Document/documentElement",
+ "MathMLElement/style",
+ "WebGL2RenderingContext/uniformMatrix",
+ "DeprecationReportBody/lineNumber",
+ "SerialPort/forget",
+ "GPUDevice/popErrorScope",
+ "TaskController/TaskController",
+ "FileSystemEntry/isDirectory",
+ "console/timelog_static",
+ "Selection/type",
+ "XRViewerPose/views",
+ "CanvasRenderingContext2D/fontStretch",
+ "BaseAudioContext/createConvolver",
+ "Touch/radiusX",
+ "WebGL2RenderingContext/texSubImage3D",
+ "Event/srcElement",
+ "Element/ariaPosInSet",
+ "CSSUnparsedValue/entries",
+ "XRLightEstimate/primaryLightIntensity",
+ "XRSession/requestReferenceSpace",
+ "VideoFrame/allocationSize",
+ "AudioContext/createMediaStreamTrackSource",
+ "GPUQueue/onSubmittedWorkDone",
+ "ExtendableMessageEvent/lastEventId",
+ "MediaEncryptedEvent/initData",
+ "HTMLAreaElement/ping",
+ "EXT_disjoint_timer_query/getQueryObjectEXT",
+ "Worklet/addModule",
+ "Request/clone",
+ "PasswordCredential/name",
+ "Location/origin",
+ "MediaTrackConstraints/sampleSize",
+ "GPURenderPassEncoder/executeBundles",
+ "XMLHttpRequest/send",
+ "console/time_static",
+ "HTMLTableElement/frame",
+ "IDBObjectStore/getKey",
+ "TextTrackCue/id",
+ "WritableStreamDefaultController/signal",
+ "RadioNodeList/value",
+ "Element/ariaBrailleRoleDescription",
+ "NavigatorUAData/toJSON",
+ "Cache/delete",
+ "OVR_multiview2/framebufferTextureMultiviewOVR",
+ "WebGLRenderingContext/getSupportedExtensions",
+ "DedicatedWorkerGlobalScope/name",
+ "DOMPointReadOnly/y",
+ "Range/collapsed",
+ "USBDevice/controlTransferIn",
+ "console/profile_static",
+ "HTMLImageElement/decoding",
+ "Window/postMessage",
"HTMLVideoElement/videoWidth",
- "Highlight/add",
- "Element/ariaExpanded",
- "GPUUncapturedErrorEvent/GPUUncapturedErrorEvent",
- "PaymentRequestUpdateEvent/PaymentRequestUpdateEvent",
- "ElementInternals/ariaExpanded",
- "BluetoothDevice/gatt",
- "AudioContext/createMediaElementSource",
- "Event/target",
- "GPUUncapturedErrorEvent/error",
- "FormData/has",
- "DeviceMotionEventAcceleration/x",
- "MIDIPort/name",
- "CanvasRenderingContext2D/roundRect",
- "HTMLIFrameElement/allowPaymentRequest",
- "BackgroundFetchRegistration/uploaded",
- "FontFace/unicodeRange",
- "BluetoothRemoteGATTServer/device",
- "FormData/delete",
- "ElementInternals/ariaValueMax",
- "ContentIndex/getAll",
- "HTMLImageElement/alt",
- "Element/attachShadow",
- "MediaList/length",
- "BaseAudioContext/sampleRate",
- "CountQueuingStrategy/size",
- "Notification/renotify",
- "FormData/append",
- "Notification/requestPermission",
- "DelayNode/DelayNode",
- "CSSStyleSheet/addRule",
- "CharacterData/remove",
- "Element/insertAdjacentText",
- "CSSUnitValue/CSSUnitValue",
- "CSSUnitValue/unit",
- "FileReaderSync/FileReaderSync",
- "HTMLIFrameElement/credentialless",
- "CanvasRenderingContext2D/createConicGradient",
- "AudioListener/upZ",
- "Event/isTrusted",
- "MutationRecord/attributeName",
- "HTMLCanvasElement/toBlob",
- "CustomStateSet/values",
+ "TextTrack/language",
+ "Element/getElementsByClassName",
+ "AudioEncoder/isConfigSupported_static",
+ "AudioData/AudioData",
"CSSNumericValue/type",
- "GPUCompilationMessage/lineNum",
- "GPURenderBundleEncoder/pushDebugGroup",
- "DataTransferItem/kind",
+ "IDBDatabase/name",
+ "AnimationEvent/pseudoElement",
+ "BaseAudioContext/createAnalyser",
+ "CSSVariableReferenceValue/variable",
+ "PresentationConnection/binaryType",
+ "CredentialsContainer/create",
+ "ElementInternals/setValidity",
+ "PannerNode/setOrientation",
+ "DOMPointReadOnly/toJSON",
+ "SVGAnimatedString/baseVal",
+ "Document/links",
+ "GPURenderBundleEncoder/drawIndirect",
+ "CSSSkewY/ay",
+ "Window/getSelection",
+ "IDBObjectStore/clear",
+ "HTMLElement/click",
+ "HTMLTableElement/cellPadding",
+ "RTCIceCandidatePairStats/writable",
+ "XRRigidTransform/position",
+ "OffscreenCanvas/width",
+ "RTCCertificateStats/fingerprint",
+ "ChannelSplitterNode/ChannelSplitterNode",
+ "PerformanceResourceTiming/redirectEnd",
+ "NamedNodeMap/length",
+ "Path2D/Path2D",
+ "SecurityPolicyViolationEvent/originalPolicy",
+ "ServiceWorkerRegistration/navigationPreload",
+ "GPUTexture/height",
+ "ValidityState/rangeOverflow",
+ "SpeechSynthesis/getVoices",
+ "BluetoothRemoteGATTDescriptor/writeValue",
+ "PaymentRequestEvent/methodData",
+ "TaskController/setPriority",
+ "MouseEvent/screenY",
+ "XRView/eye",
+ "ExtendableCookieChangeEvent/ExtendableCookieChangeEvent",
+ "ContactAddress/recipient",
+ "Document/prepend",
+ "MediaTrackSupportedConstraints/channelCount",
+ "XRMediaBinding/createCylinderLayer",
+ "Blob/type",
+ "CustomElementRegistry/whenDefined",
+ "Navigator/getUserMedia",
+ "WebGLRenderingContext/viewport",
+ "Navigator/hid",
+ "URLPattern/password",
+ "GamepadPose/orientation",
+ "HTMLAreaElement/hash",
+ "Performance/getEntriesByName",
+ "FileReader/readAsDataURL",
+ "Location/hash",
+ "Screen/isExtended",
+ "StyleSheet/media",
+ "MIDIOutput/clear",
+ "Element/tagName",
+ "BarProp/visible",
+ "RTCInboundRtpStreamStats/qpSum",
+ "HTMLMediaElement/networkState",
+ "ElementInternals/ariaAutoComplete",
+ "ViewTimeline/ViewTimeline",
+ "WritableStreamDefaultWriter/write",
+ "ServiceWorkerContainer/ready",
+ "Window/scrollY",
+ "CustomStateSet/has",
+ "HTMLImageElement/vspace",
+ "Range/cloneRange",
+ "TransformStream/writable",
+ "SVGAnimatedEnumeration/baseVal",
+ "PositionSensorVRDevice/getImmediateState",
+ "PaymentResponse/retry",
+ "Document/createTreeWalker",
+ "XRSession/requestLightProbe",
+ "HTMLAnchorElement/username",
+ "WebGLRenderingContext/deleteShader",
+ "WebGLRenderingContext/texSubImage2D",
+ "CanvasRenderingContext2D/clearRect",
+ "Navigator/productSub",
+ "HMDVRDevice/setFieldOfView",
+ "HTMLObjectElement/useMap",
+ "WebGLRenderingContext/isRenderbuffer",
+ "Element/closest",
+ "HTMLElement/blur",
+ "GPUCommandEncoder/clearBuffer",
+ "PromiseRejectionEvent/PromiseRejectionEvent",
+ "GPUDevice/createSampler",
+ "IDBObjectStore/openKeyCursor",
+ "Window/speechSynthesis",
+ "WebGLRenderingContext/stencilMaskSeparate",
+ "Request/referrer",
+ "RTCStatsReport/get",
+ "HTMLSelectElement/namedItem",
+ "HIDDevice/sendReport",
+ "XRRay/matrix",
+ "HTMLImageElement/Image",
+ "DOMMatrixReadOnly/scale",
+ "PerformanceLongTaskTiming/attribution",
+ "SecurityPolicyViolationEvent/referrer",
+ "HTMLMediaElement/defaultPlaybackRate",
+ "PushManager/register",
+ "InterventionReportBody/columnNumber",
+ "BackgroundFetchRegistration/recordsAvailable",
+ "HTMLElement/inert",
+ "ConvolverNode/ConvolverNode",
+ "HTMLImageElement/height",
+ "ResizeObserverSize/inlineSize",
+ "Text/assignedSlot",
+ "RTCDtlsTransport/state",
+ "GeolocationCoordinates/altitudeAccuracy",
+ "WebGLRenderingContext/isContextLost",
+ "AbortSignal/throwIfAborted",
+ "CSSCounterStyleRule/negative",
+ "HTMLLabelElement/form",
+ "TaskSignal/any_static",
+ "SVGGeometryElement/getTotalLength",
+ "CSSMathNegate/CSSMathNegate",
+ "NavigatorUAData/getHighEntropyValues",
+ "CSSNumericValue/to",
+ "URLSearchParams/delete",
+ "SpeechRecognitionResult/isFinal",
+ "XRSession/interactionMode",
+ "SpeechGrammarList/addFromURI",
+ "PointerEvent/twist",
+ "XRViewport/x",
+ "Range/createContextualFragment",
+ "Navigator/locks",
+ "MessagePort/start",
+ "RTCPeerConnection/setRemoteDescription",
+ "RTCRtpTransceiver/receiver",
+ "FileSystemDirectoryEntry/getFile",
+ "Document/lastStyleSheetSet",
+ "IDBCursor/source",
+ "VREyeParameters/offset",
+ "CSSRule/parentStyleSheet",
+ "Document/childElementCount",
+ "CSSPropertyRule/syntax",
+ "VRDisplay/submitFrame",
+ "HTMLElement/title",
+ "PaymentAddress/sortingCode",
+ "RTCVideoSourceStats/id",
+ "GPURenderPassEncoder/setBindGroup",
+ "MediaKeyStatusMap/values",
+ "MediaStream/getVideoTracks",
+ "ElementInternals/ariaLevel",
+ "HTMLMediaElement/controls",
+ "WritableStream/getWriter",
+ "Selection/setBaseAndExtent",
+ "RTCIceCandidate/protocol",
+ "NodeList/values",
+ "XRWebGLLayer/fixedFoveation",
+ "UIEvent/sourceCapabilities",
+ "ShadowRoot/pointerLockElement",
+ "OrientationSensor/populateMatrix",
+ "HTMLFormElement/target",
+ "PeriodicSyncEvent/PeriodicSyncEvent",
+ "USB/requestDevice",
+ "HTMLAreaElement/relList",
+ "HIDConnectionEvent/HIDConnectionEvent",
+ "MediaStream/addTrack",
+ "SerialPort/setSignals",
+ "RTCError/errorDetail",
+ "HTMLInputElement/disabled",
+ "BackgroundFetchRegistration/downloadTotal",
+ "PushSubscriptionOptions/userVisibleOnly",
+ "VTTCue/align",
+ "URLSearchParams/sort",
+ "AbstractRange/startOffset",
+ "ImageTrackList/selectedIndex",
+ "Bluetooth/getDevices",
+ "LargestContentfulPaint/id",
+ "CSSFontPaletteValuesRule/basePalette",
+ "OverconstrainedError/constraint",
+ "ElementInternals/ariaCurrent",
+ "NDEFRecord/encoding",
"GPURenderBundleEncoder/insertDebugMarker",
- "HTMLAreaElement/referrerPolicy",
- "InterventionReportBody/sourceFile",
- "ImageData/colorSpace",
- "Animation/id",
- "Navigator/requestMIDIAccess",
- "Navigator/permissions",
+ "Element/clientTop",
+ "SVGMarkerElement/markerWidth",
+ "Performance/mark",
+ "RTCRemoteOutboundRtpStreamStats/ssrc",
+ "NodeList/entries",
+ "Element/clientLeft",
+ "ServiceWorkerRegistration/paymentManager",
+ "RTCCodecStats/id",
+ "TransitionEvent/TransitionEvent",
+ "RTCDataChannel/bufferedAmountLowThreshold",
+ "ShadowRoot/adoptedStyleSheets",
+ "MediaQueryList/media",
+ "ImageTrack/animated",
+ "Request/headers",
+ "PerformanceTiming/domainLookupEnd",
+ "BackgroundFetchRegistration/uploadTotal",
+ "PerformanceTiming/domComplete",
+ "ImageCapture/getPhotoCapabilities",
+ "Document/selectedStyleSheetSet",
+ "WebGLRenderingContext/blendFuncSeparate",
+ "CanvasRenderingContext2D/shadowColor",
+ "XSLTProcessor/XSLTProcessor",
+ "XRCylinderLayer/radius",
+ "RTCRtpStreamStats/pliCount",
+ "StorageEvent/newValue",
+ "GPUBuffer/unmap",
+ "RTCPeerConnection/createAnswer",
+ "XMLHttpRequest/overrideMimeType",
+ "WebGL2RenderingContext/transformFeedbackVaryings",
+ "Window/closed",
+ "AudioTrack/kind",
+ "HTMLAnchorElement/search",
+ "WebGLRenderingContext/createBuffer",
+ "WebGLRenderingContext/getTexParameter",
+ "XMLHttpRequest/setRequestHeader",
+ "MutationRecord/attributeNamespace",
+ "BaseAudioContext/createConstantSource",
+ "VREyeParameters/minimumFieldOfView",
+ "WindowControlsOverlay/getTitlebarAreaRect",
+ "SVGPointList/appendItem",
+ "AuthenticatorResponse/clientDataJSON",
+ "RTCTrackEvent/track",
+ "AudioDestinationNode/maxChannelCount",
+ "History/replaceState",
+ "PaymentRequestUpdateEvent/PaymentRequestUpdateEvent",
+ "ImageData/data",
+ "CSSRule/type",
+ "BeforeInstallPromptEvent/userChoice",
+ "IDBObjectStore/put",
+ "NavigateEvent/formData",
+ "StaticRange/collapsed",
+ "PannerNode/PannerNode",
+ "XRWebGLBinding/createCylinderLayer",
+ "FileSystemFileEntry/createWriter",
+ "Touch/Touch",
+ "IDBVersionChangeEvent/IDBVersionChangeEvent",
+ "HIDInputReportEvent/device",
+ "PerformanceResourceTiming/domainLookupStart",
+ "HTMLTableElement/border",
+ "RTCCertificateStats/timestamp",
+ "IdentityCredential/isAutoSelected",
+ "MediaStreamTrack/enabled",
+ "Range/endOffset",
+ "IDBTransaction/mode",
+ "Response/status",
+ "PaymentAddress/recipient",
+ "TouchEvent/touches",
+ "MediaStreamEvent/stream",
+ "ImageTrack/frameCount",
+ "URL/hash",
+ "TextMetrics/ideographicBaseline",
+ "FileSystemFileHandle/createWritable",
+ "Event/stopPropagation",
+ "ScreenDetailed/left",
+ "EXT_disjoint_timer_query/beginQueryEXT",
+ "NavigateEvent/userInitiated",
+ "DocumentFragment/querySelectorAll",
+ "NavigatorUAData/brands",
+ "RTCIceCandidate/tcpType",
+ "HTMLElement/togglePopover",
+ "MediaTrackConstraints/autoGainControl",
+ "ElementInternals/ariaLive",
+ "Navigator/getGamepads",
+ "DynamicsCompressorNode/attack",
+ "CharacterData/deleteData",
+ "ImageCapture/getPhotoSettings",
+ "WritableStreamDefaultWriter/abort",
+ "XRDepthInformation/rawValueToMeters",
+ "WorkerNavigator/serial",
+ "XRWebGLLayer/XRWebGLLayer",
+ "Fence/getNestedConfigs",
+ "AnalyserNode/frequencyBinCount",
+ "BaseAudioContext/state",
+ "HTMLAreaElement/origin",
+ "AudioBuffer/length",
+ "WebSocket/binaryType",
+ "SVGElement/style",
+ "Document/getElementById",
+ "ScreenOrientation/angle",
+ "FileReader/FileReader",
+ "MediaStreamAudioDestinationNode/stream",
"Document/lastElementChild",
- "GPURenderPassEncoder/executeBundles",
- "PaymentRequestUpdateEvent/updateWith",
- "MediaTrackSupportedConstraints/echoCancellation",
- "AudioData/sampleRate",
- "HIDDevice/sendFeatureReport",
- "DOMRectReadOnly/left",
- "MediaTrackSettings/sampleRate",
- "AudioTrackList/getTrackById",
- "CSSNumericValue/equals",
- "FontFace/style",
- "Document/fullscreenEnabled",
- "HTMLAnchorElement/toString",
- "KeyboardEvent/getModifierState",
- "BluetoothRemoteGATTCharacteristic/getDescriptor",
+ "ReadableByteStreamController/close",
+ "TextUpdateEvent/text",
+ "CSSStyleSheet/removeRule",
"AudioNode/channelCount",
- "CompositionEvent/data",
- "MediaKeyMessageEvent/message",
- "Clients/get",
- "CSSFontFeatureValuesRule/fontFamily",
- "Gyroscope/x",
- "Element/ariaRelevant",
- "PageTransitionEvent/PageTransitionEvent",
- "CanvasRenderingContext2D/isPointInPath",
- "NavigatorUAData/brands",
- "FileSystemDirectoryEntry/getDirectory",
- "CanvasRenderingContext2D/resetTransform",
- "Highlight/type",
- "IDBIndex/count",
- "HTMLInputElement/labels",
+ "ImageData/colorSpace",
+ "DOMMatrixReadOnly/translate",
+ "XRInputSourceArray/keys",
+ "ElementInternals/ariaAtomic",
+ "DeviceOrientationEvent/DeviceOrientationEvent",
+ "CountQueuingStrategy/size",
+ "RTCRtpSender/setStreams",
+ "BluetoothRemoteGATTCharacteristic/writeValue",
+ "SecurityPolicyViolationEvent/violatedDirective",
+ "AudioParam/linearRampToValueAtTime",
+ "HTMLButtonElement/disabled",
+ "WaveShaperNode/curve",
+ "SVGRect/The__X__property",
+ "CSSTransformValue/keys",
+ "ServiceWorkerRegistration/getNotifications",
+ "Notification/timestamp",
+ "IDBObjectStore/count",
+ "AudioParam/cancelScheduledValues",
+ "XREquirectLayer/radius",
+ "CSSUnparsedValue/CSSUnparsedValue",
+ "XSLTProcessor/getParameter",
+ "Navigator/keyboard",
"Metadata/modificationTime",
- "IDBIndex/name",
- "CSSTransformValue/length",
- "IDBCursor/primaryKey",
- "DOMRect/DOMRect",
- "HTMLSelectElement/disabled",
- "HTMLSelectElement/namedItem",
- "HTMLSlotElement/assignedNodes",
- "DOMPointReadOnly/y",
- "Lock/mode",
- "Bluetooth/getDevices",
- "IDBVersionChangeEvent/oldVersion",
- "ElementInternals/ariaPressed",
- "MediaSource/endOfStream",
- "HTMLMediaElement/readyState",
- "Blob/Blob",
- "CSSScale/x",
- "DOMPointReadOnly/z",
- "MediaTrackSettings/deviceId",
- "AudioContext/setSinkId",
+ "MediaDeviceInfo/kind",
+ "NavigationHistoryEntry/sameDocument",
+ "ViewTimeline/endOffset",
+ "PerformanceNavigationTiming/toJSON",
+ "XRProjectionLayer/fixedFoveation",
+ "WebGLRenderingContext/compressedTexSubImage2D",
+ "RTCPeerConnection/getIdentityAssertion",
+ "Navigation/traverseTo",
+ "InputEvent/InputEvent",
+ "Storage/length",
+ "ReadableStreamBYOBReader/closed",
+ "VRFrameData/timestamp",
+ "WheelEvent/WheelEvent",
+ "Window/window",
+ "VRDisplayEvent/VRDisplayEvent",
+ "RTCRtpStreamStats/qpSum",
+ "TrustedTypePolicy/name",
+ "StylePropertyMap/set",
+ "ReadableStreamDefaultController/close",
+ "RTCSessionDescription/RTCSessionDescription",
+ "URL/toString",
+ "OffscreenCanvas/convertToBlob",
+ "HTMLSlotElement/assign",
+ "MediaTrackSupportedConstraints/displaySurface",
+ "GPUAdapter/features",
+ "HTMLFormElement/encoding",
+ "PerformanceMeasure/detail",
+ "OES_vertex_array_object/deleteVertexArrayOES",
+ "Document/fullscreenEnabled",
+ "TextUpdateEvent/TextUpdateEvent",
+ "StorageEvent/storageArea",
+ "PerformanceServerTiming/name",
+ "PerformanceNavigation/type",
+ "InterventionReportBody/id",
+ "Window/statusbar",
+ "Document/anchors",
+ "Navigator/presentation",
+ "Bluetooth/getAvailability",
+ "USBDevice/selectConfiguration",
+ "FileSystemDirectoryHandle/entries",
+ "Element/ariaAtomic",
+ "IDBIndex/openKeyCursor",
+ "BaseAudioContext/createChannelSplitter",
+ "VideoColorSpace/transfer",
+ "MediaTrackConstraints/displaySurface",
+ "CSSPropertyRule/initialvalue",
+ "KeyframeEffect/setKeyframes",
+ "RTCStatsReport/forEach",
+ "SourceBuffer/changeType",
+ "GPURenderPassEncoder/end",
+ "RTCRtpScriptTransformer/writable",
+ "CSSNamespaceRule/prefix",
+ "ScreenDetailed/label",
+ "PaymentRequest/shippingType",
+ "MediaTrackSettings/logicalSurface",
+ "HTMLTemplateElement/content",
+ "IDBCursor/continuePrimaryKey",
+ "window/getDefaultComputedStyle",
+ "FileSystemWritableFileStream/seek",
+ "CanvasRenderingContext2D/shadowBlur",
+ "GPUCommandEncoder/copyTextureToTexture",
+ "GPURenderBundleEncoder/setPipeline",
+ "FileSystem/name",
+ "USBDevice/opened",
+ "IDBCursor/key",
+ "HTMLFencedFrameElement/height",
+ "PerformanceObserver/PerformanceObserver",
+ "Blob/stream",
+ "MediaTrackConstraints/volume",
+ "LaunchQueue/setConsumer",
+ "HTMLInputElement/stepDown",
+ "CSSStyleDeclaration/getPropertyCSSValue",
+ "BaseAudioContext/createPeriodicWave",
+ "GamepadEvent/gamepad",
+ "MouseEvent/WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN_static",
+ "SpeechSynthesisEvent/charIndex",
+ "MediaTrackSupportedConstraints/volume",
+ "BluetoothRemoteGATTCharacteristic/stopNotifications",
+ "Element/prepend",
+ "FormData/FormData",
+ "Highlight/priority",
+ "NavigateEvent/info",
+ "HTMLAudioElement/Audio",
+ "MediaKeySession/generateRequest",
].map((slugSuffix) => `/en-US/docs/Web/API/${slugSuffix}`.toLowerCase())
);
From c91cfa6f085266a256bf64ff633279c95b6bbd02 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 18 Apr 2024 22:42:47 +0200
Subject: [PATCH 12/15] chore(main): release 2.49.0 (#10933)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---
.release-please-manifest.json | 2 +-
CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++
package.json | 2 +-
3 files changed, 37 insertions(+), 2 deletions(-)
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index bce1fedf898d..91934e09276d 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "2.48.0"
+ ".": "2.49.0"
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 088457294820..0a7fcea8b4e5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,40 @@
# Changelog
+## [2.49.0](https://github.com/mdn/yari/compare/v2.48.0...v2.49.0) (2024-04-18)
+
+
+### Features
+
+* **experiment:** rewrite Web/API page titles ([#10926](https://github.com/mdn/yari/issues/10926)) ([d8173cc](https://github.com/mdn/yari/commit/d8173cc190686634cd43f0a83b4f6178a133e9f5))
+
+
+### Bug Fixes
+
+* **experiment:** replace test group for Web/API page titles ([#10955](https://github.com/mdn/yari/issues/10955)) ([1dfb5b2](https://github.com/mdn/yari/commit/1dfb5b23db7e643e8ad4c7450b9d0ceacb227cbd))
+* **playground:** dispatch DOMContentLoaded event on document + bubble ([7229dd3](https://github.com/mdn/yari/commit/7229dd334ed51281816629db88b9365858c56740))
+* **playground:** dispatch readystatechange + bubble DOMContentLoaded on document ([#10946](https://github.com/mdn/yari/issues/10946)) ([7229dd3](https://github.com/mdn/yari/commit/7229dd334ed51281816629db88b9365858c56740))
+* **playground:** dispatch readystatechange event ([7229dd3](https://github.com/mdn/yari/commit/7229dd334ed51281816629db88b9365858c56740))
+* **stage-build:** provide GH_TOKEN + specify repo in trigger job ([#10932](https://github.com/mdn/yari/issues/10932)) ([d371c0a](https://github.com/mdn/yari/commit/d371c0a8b76a6c47eb8a11d59275860559232678))
+
+
+### Enhancements
+
+* **macros/PreviousMenuNext:** use the actual title of the document by default ([#10812](https://github.com/mdn/yari/issues/10812)) ([10da897](https://github.com/mdn/yari/commit/10da8978812024f0bf3d1e21db4a36e68da33d8a))
+
+
+### Miscellaneous
+
+* **deps-dev:** bump @swc/core from 1.4.14 to 1.4.15 ([#10941](https://github.com/mdn/yari/issues/10941)) ([28f775d](https://github.com/mdn/yari/commit/28f775d91a3163b446ee8855df66d8d4b56df277))
+* **deps-dev:** bump @swc/core from 1.4.15 to 1.4.16 ([#10951](https://github.com/mdn/yari/issues/10951)) ([d099746](https://github.com/mdn/yari/commit/d09974644971491627705abd5da743fc24f65faf))
+* **deps-dev:** bump mini-css-extract-plugin from 2.8.1 to 2.9.0 ([#10938](https://github.com/mdn/yari/issues/10938)) ([672e79a](https://github.com/mdn/yari/commit/672e79a6d70bc7cd2a17cbe314a6b7e3acb221e9))
+* **deps-dev:** bump sass-loader from 14.2.0 to 14.2.1 ([#10937](https://github.com/mdn/yari/issues/10937)) ([85372d5](https://github.com/mdn/yari/commit/85372d56b9bef30c379a5e3846233feef59a1962))
+* **deps:** bump @mdn/browser-compat-data from 5.5.21 to 5.5.22 ([#10939](https://github.com/mdn/yari/issues/10939)) ([c290528](https://github.com/mdn/yari/commit/c29052859667c74d5be831d56df0c42d13e0aa62))
+* **deps:** bump @webref/css from 6.12.7 to 6.12.8 ([#10949](https://github.com/mdn/yari/issues/10949)) ([3051a61](https://github.com/mdn/yari/commit/3051a613edb2a169d63cf20415e302f56028ad7a))
+* **deps:** bump inquirer from 9.2.18 to 9.2.19 ([#10940](https://github.com/mdn/yari/issues/10940)) ([b4520ff](https://github.com/mdn/yari/commit/b4520ff50ae976be365b6ca0531f4834e3451e7a))
+* **deps:** bump openai from 4.35.0 to 4.36.0 ([#10936](https://github.com/mdn/yari/issues/10936)) ([dcda615](https://github.com/mdn/yari/commit/dcda6157cb8a0722ec43079b66bcf001fe6beb92))
+* **deps:** bump openai from 4.36.0 to 4.37.1 ([#10950](https://github.com/mdn/yari/issues/10950)) ([c6212c4](https://github.com/mdn/yari/commit/c6212c4f155db69dd464e7708cdca33570b53e15))
+* **deps:** bump web-specs from 3.7.1 to 3.8.0 ([#10952](https://github.com/mdn/yari/issues/10952)) ([126088d](https://github.com/mdn/yari/commit/126088dce86f68adeabed833943cd86883899f34))
+
## [2.48.0](https://github.com/mdn/yari/compare/v2.47.0...v2.48.0) (2024-04-16)
diff --git a/package.json b/package.json
index 252810f65190..1feec34cab2a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@mdn/yari",
- "version": "2.48.0",
+ "version": "2.49.0",
"repository": "https://github.com/mdn/yari",
"license": "MPL-2.0",
"author": "MDN Web Docs",
From bf0dd4d1ce1d17ca36247c89f596942abc89a30d Mon Sep 17 00:00:00 2001
From: Mostafa Elgreatly
Date: Fri, 19 Apr 2024 18:22:41 +0200
Subject: [PATCH 13/15] Update kumascript/macros/CSSInfo.ejs
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
---
kumascript/macros/CSSInfo.ejs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kumascript/macros/CSSInfo.ejs b/kumascript/macros/CSSInfo.ejs
index 74e11b375e16..ce61f2b6f8aa 100644
--- a/kumascript/macros/CSSInfo.ejs
+++ b/kumascript/macros/CSSInfo.ejs
@@ -283,7 +283,7 @@ if (name === "preview-wiki-content") {
if (!atRule) {
properties = properties.concat({
name: "animationType",
- label: `${localize(localStrings, "animationType")}`
+ label: web.smartLink(`/${env.locale}/docs/Web/CSS/CSS_animated_properties`, null, localize(localStrings, "animationType"))
});
}
From 19c0ab82f208ff6fc5d2562fc43a34be3e328d92 Mon Sep 17 00:00:00 2001
From: Claas Augner <495429+caugner@users.noreply.github.com>
Date: Sat, 20 Apr 2024 01:09:15 +0200
Subject: [PATCH 14/15] fix: revert yarn.lock changes
---
yarn.lock | 2 --
1 file changed, 2 deletions(-)
diff --git a/yarn.lock b/yarn.lock
index 72443b5e86d5..47a6c872b34e 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -11360,12 +11360,10 @@ open@^8.4.0:
define-lazy-prop "^2.0.0"
is-docker "^2.1.1"
is-wsl "^2.2.0"
-
openai@^4.38.1:
version "4.38.1"
resolved "https://registry.yarnpkg.com/openai/-/openai-4.38.1.tgz#375ba1e2ff9fcd6434114bfeffa7a0ef35d74b78"
integrity sha512-nmSKE9O2piuoh9+AgDqwGHojIFSxToQ2jJqwaxjbzz2ebdD5LYY9s+bMe25b18t4QEgvtgW70JfK8BU3xf5dRw==
-
dependencies:
"@types/node" "^18.11.18"
"@types/node-fetch" "^2.6.4"
From 4a071cc4eb122d100d3c09551617639211cb07df Mon Sep 17 00:00:00 2001
From: Claas Augner <495429+caugner@users.noreply.github.com>
Date: Sat, 20 Apr 2024 01:09:41 +0200
Subject: [PATCH 15/15] fix: revert yarn.lock changes
---
yarn.lock | 1 +
1 file changed, 1 insertion(+)
diff --git a/yarn.lock b/yarn.lock
index 47a6c872b34e..642d5492cd8a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -11360,6 +11360,7 @@ open@^8.4.0:
define-lazy-prop "^2.0.0"
is-docker "^2.1.1"
is-wsl "^2.2.0"
+
openai@^4.38.1:
version "4.38.1"
resolved "https://registry.yarnpkg.com/openai/-/openai-4.38.1.tgz#375ba1e2ff9fcd6434114bfeffa7a0ef35d74b78"