Skip to content

Commit

Permalink
Merge branch 'main' into webRequestAuthProvider-permission
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmedley authored Nov 29, 2023
2 parents 5130c00 + 91ddb97 commit f4df274
Show file tree
Hide file tree
Showing 607 changed files with 9,436 additions and 27,025 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Node.js environment
if: ${{ env.GIT_DIFF_CONTENT }}
if: ${{ env.GIT_DIFF_CONTENT }} || ${{ env.GIT_DIFF_FILES }}
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: yarn

- name: Install all yarn packages
if: ${{ env.GIT_DIFF_CONTENT }}
if: ${{ env.GIT_DIFF_CONTENT }} || ${{ env.GIT_DIFF_FILES }}
run: yarn --frozen-lockfile
env:
# https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
Expand Down
4 changes: 2 additions & 2 deletions .markdownlint.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"default": true,
// Disabled, as some callouts include headings.
"header-increment": false,
"heading-increment": false,
"ul-style": {
"style": "dash"
},
Expand All @@ -16,7 +16,7 @@
"spaces_per_tab": 2
},
"line-length": false,
"no-duplicate-header": {
"no-duplicate-heading": {
"allow_different_nesting": true
},
"single-title": {
Expand Down
68 changes: 43 additions & 25 deletions files/en-us/_redirects.txt

Large diffs are not rendered by default.

207 changes: 26 additions & 181 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -20931,10 +20931,6 @@
"modified": "2020-10-15T22:21:03.220Z",
"contributors": ["1valdis"]
},
"Web/API/AudioWorkletProcessor/parameterDescriptors": {
"modified": "2020-10-15T22:21:04.116Z",
"contributors": ["Sheppy", "chrisdavidmills", "1valdis"]
},
"Web/API/AudioWorkletProcessor/port": {
"modified": "2020-10-15T22:21:03.014Z",
"contributors": ["chrisdavidmills", "1valdis"]
Expand Down Expand Up @@ -37809,18 +37805,6 @@
"dhodder"
]
},
"Web/API/HTMLDialogElement/cancel_event": {
"modified": "2020-10-15T21:43:04.572Z",
"contributors": [
"mfuji09",
"fscholz",
"mfluehr",
"sideshowbarker",
"fgwang",
"rolfedh",
"cvrebert"
]
},
"Web/API/HTMLDialogElement/close": {
"modified": "2020-10-15T21:52:17.118Z",
"contributors": ["fscholz", "chrisdavidmills"]
Expand Down Expand Up @@ -37986,6 +37970,19 @@
"JesseW"
]
},
"Web/API/HTMLElement/cancel_event": {
"modified": "2023-11-04T04:52:37.782Z",
"contributors": [
"mfuji09",
"fscholz",
"mfluehr",
"sideshowbarker",
"fgwang",
"rolfedh",
"cvrebert",
"FurryR"
]
},
"Web/API/HTMLElement/change_event": {
"modified": "2020-10-31T17:59:03.510Z",
"contributors": [
Expand Down Expand Up @@ -42313,23 +42310,6 @@
"peterson.victor222"
]
},
"Web/API/History_API/Example": {
"modified": "2019-09-05T07:52:37.814Z",
"contributors": [
"irenesmith",
"RichWK",
"sunnywalker",
"teoli",
"fusionchess",
"wbamberg",
"alispivak",
"sickOfNamesPasswordsetc",
"wctaiwan",
"Sheppy",
"giabao",
"jamel"
]
},
"Web/API/History_API/Working_with_the_History_API": {
"modified": "2019-12-27T13:55:25.264Z",
"contributors": [
Expand Down Expand Up @@ -68036,30 +68016,6 @@
"JesseW"
]
},
"Web/API/Window/pageXOffset": {
"modified": "2020-10-15T21:37:54.373Z",
"contributors": [
"mfluehr",
"fscholz",
"erikadoyle",
"mrenty",
"cvrebert",
"Sheppy"
]
},
"Web/API/Window/pageYOffset": {
"modified": "2020-10-15T21:37:58.277Z",
"contributors": [
"alattalatta",
"fscholz",
"jamesdhurd",
"hannahcancode",
"Sheppy",
"erikadoyle",
"mrenty",
"cvrebert"
]
},
"Web/API/Window/pagehide_event": {
"modified": "2020-10-15T21:19:33.376Z",
"contributors": [
Expand Down Expand Up @@ -92076,101 +92032,6 @@
"ethertank"
]
},
"Web/Guide/AJAX": {
"modified": "2020-05-14T04:45:11.393Z",
"contributors": [
"ceejay",
"AL-X-dev",
"alattalatta",
"cadorej",
"mfuji09",
"chrisdavidmills",
"ZhenWang-Jen",
"Sheppy",
"angel-luis",
"renzhengyu",
"zhuangyin",
"Sebastianz",
"kendocode",
"loweir",
"sraghav",
"LoTD",
"Minat",
"Penny",
"jensen",
"morello",
"jscape",
"shneeple",
"KhaledSamir",
"fusionchess",
"Prem",
"heyoni",
"adityapunjani",
"teoli",
"lopchannorie",
"Server",
"jswisher",
"john_smith",
"frederickjansen",
"ethertank",
"gati_mahesh",
"YaniTelecom",
"allergic",
"Mohammed_Hossam",
"smarty",
"che2on",
"lazycritic",
"Hsivonen",
"avsaro",
"lbras",
"flodby",
"fscholz",
"arena",
"LiteralKa",
"Bboehr",
"daveywaterson",
"Hazemtorab",
"Mgjbot",
"Sephr",
"Summit677",
"Alaa.moustafa",
"Xunil",
"Chileric",
"Nickolay",
"Neumann",
"BijuGC",
"Blakeross",
"DJ.Maca",
"Zhuravlik",
"Federico",
"Yongsuhb.e",
"Dria",
"Toniher",
"Mirzmaster",
"Nukeador",
"Callek",
"Wdevolder",
"RuiMaciel",
"JhonnyX2003",
"gandalf",
"Robindranatt",
"Kynilyator",
"Lizator",
"Pizdorvan",
"Mcaruso",
"Chbok",
"Shimono",
"Bloggercat",
"Brendan",
"MikeChambers",
"Charles",
"Stoyan"
]
},
"Web/Guide/API": {
"modified": "2020-12-14T00:30:29.082Z",
"contributors": ["Sheppy", "steffix.h2", "shing0608"]
},
"Web/Guide/Audio_and_video_delivery": {
"modified": "2020-12-11T05:27:12.652Z",
"contributors": [
Expand Down Expand Up @@ -92523,22 +92384,6 @@
"Marsf"
]
},
"Web/Guide/Writing_forward-compatible_websites": {
"modified": "2019-03-24T00:13:54.637Z",
"contributors": [
"SphinxKnight",
"teoli",
"xfq",
"kohei.yoshino",
"yyss",
"pixelastic",
"Gerv",
"Bzbarsky",
"Sheppy",
"Hsivonen",
"jswisher"
]
},
"Web/HTML": {
"modified": "2020-12-14T11:30:14.748Z",
"contributors": [
Expand Down Expand Up @@ -129411,7 +129256,7 @@
"modified": "2020-10-15T22:27:22.788Z",
"contributors": ["chrisdavidmills", "wbamberg", "fscholz"]
},
"WebAssembly/JavaScript_interface/Module/customSections": {
"WebAssembly/JavaScript_interface/Module/customSections_static": {
"modified": "2020-10-15T21:51:48.277Z",
"contributors": [
"fscholz",
Expand All @@ -129422,7 +129267,7 @@
"svodnik"
]
},
"WebAssembly/JavaScript_interface/Module/exports": {
"WebAssembly/JavaScript_interface/Module/exports_static": {
"modified": "2020-10-15T21:51:45.300Z",
"contributors": [
"fscholz",
Expand All @@ -129435,7 +129280,7 @@
"svodnik"
]
},
"WebAssembly/JavaScript_interface/Module/imports": {
"WebAssembly/JavaScript_interface/Module/imports_static": {
"modified": "2020-10-15T21:51:45.626Z",
"contributors": [
"fscholz",
Expand Down Expand Up @@ -129502,7 +129347,11 @@
"modified": "2020-10-15T21:51:48.539Z",
"contributors": ["fscholz", "mfuji09", "sideshowbarker", "chrisdavidmills"]
},
"WebAssembly/JavaScript_interface/compile": {
"WebAssembly/JavaScript_interface/compileStreaming_static": {
"modified": "2020-10-15T21:58:23.274Z",
"contributors": ["fscholz", "wbamberg", "chrisdavidmills"]
},
"WebAssembly/JavaScript_interface/compile_static": {
"modified": "2020-10-15T21:51:47.482Z",
"contributors": [
"chharvey",
Expand All @@ -129512,11 +129361,11 @@
"lukewagner"
]
},
"WebAssembly/JavaScript_interface/compileStreaming": {
"modified": "2020-10-15T21:58:23.274Z",
"contributors": ["fscholz", "wbamberg", "chrisdavidmills"]
"WebAssembly/JavaScript_interface/instantiateStreaming_static": {
"modified": "2020-10-15T21:58:22.787Z",
"contributors": ["fscholz", "wbamberg", "chrisdavidmills", "AnimusPEXUS"]
},
"WebAssembly/JavaScript_interface/instantiate": {
"WebAssembly/JavaScript_interface/instantiate_static": {
"modified": "2020-12-06T05:01:39.378Z",
"contributors": [
"mfuji09",
Expand All @@ -129530,11 +129379,7 @@
"lukewagner"
]
},
"WebAssembly/JavaScript_interface/instantiateStreaming": {
"modified": "2020-10-15T21:58:22.787Z",
"contributors": ["fscholz", "wbamberg", "chrisdavidmills", "AnimusPEXUS"]
},
"WebAssembly/JavaScript_interface/validate": {
"WebAssembly/JavaScript_interface/validate_static": {
"modified": "2020-10-15T21:51:47.232Z",
"contributors": [
"fscholz",
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/games/techniques/audio_for_web_games/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ trackEls.forEach((el, i) => {
});
```

> **Note:** You can [see this demo in action here](https://mdn.github.io/webaudio-examples/multi-track/) and [view the source code here](https://github.com/mdn/webaudio-examples/tree/master/multi-track).
> **Note:** You can [see this demo in action here](https://mdn.github.io/webaudio-examples/multi-track/) and [view the source code here](https://github.com/mdn/webaudio-examples/tree/main/multi-track).
In the context of your game world you may have loops and samples that are played in different circumstances, and it can be useful to be able to synchronize with other tracks for a more seamless experience.

Expand Down
15 changes: 8 additions & 7 deletions files/en-us/glossary/ajax/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@ page-type: glossary-definition

{{GlossarySidebar}}

**Ajax**, which initially stood for Asynchronous {{Glossary("JavaScript")}} And {{Glossary("XML")}}, is a programming practice of building complex, dynamic webpages using a technology known as {{Glossary("XMLHttpRequest")}}.
Asynchronous JavaScript and XML (**Ajax**, or **AJAX**) is a web development technique in which a web app fetches content from the server by making asynchronous HTTP requests, and uses the new content to update the relevant parts of the page without requiring a full page load. This can make the page more responsive, because only the parts that need to be updated are requested.

Ajax allows you to collect data to update parts of the {{Glossary("DOM")}} of an {{Glossary("HTML")}} page without the need for a full page refresh. Ajax also lets you work asynchronously, meaning your code continues to run while the targeted part of your web page is trying to reload (compared to synchronously, which blocks your code from running until that part of your page is done reloading).
Ajax can be used to create {{Glossary("SPA", "single-page apps")}}, in which the entire web app consists of a single document, which uses Ajax to update its content as needed.

With interactive websites and modern web standards, Ajax is performed using functions within JavaScript frameworks and the {{domxref("Fetch API")}} Standard.
Initially Ajax was implemented using the {{domxref("XMLHttpRequest")}} interface, but the {{domxref("fetch()")}} API is more suitable for modern web applications: it is more powerful, more flexible, and integrates better with fundamental web app technologies such as [service workers](/en-US/docs/Web/API/Service_Worker_API). Modern web frameworks also provide abstractions for Ajax.

This technique is so common in modern web development that the specific term "Ajax" is rarely used.

## See also

- [Ajax](/en-US/docs/Web/Guide/AJAX)
- {{DOMxRef("XMLHttpRequest")}}
- [Fetching data from the server](/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Fetching_data)
- {{DOMxRef("Fetch API")}}
- [Using Fetch API](/en-US/docs/Web/API/Fetch_API/Using_Fetch)
- {{Glossary("SPA", "Single-page application")}}
- {{DOMxRef("XMLHttpRequest")}}
- [AJAX](https://en.wikipedia.org/wiki/AJAX) on Wikipedia
- [Synchronous vs. Asynchronous Communications](https://peoplesofttutorial.com/difference-between-synchronous-and-asynchronous-messaging/) (2014)
2 changes: 2 additions & 0 deletions files/en-us/glossary/forbidden_header_name/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Forbidden header names start with `Proxy-` or `Sec-`, or are one of the followin

> **Note:** The {{HTTPHeader("User-Agent")}} header is no longer forbidden, [as per spec](https://fetch.spec.whatwg.org/#terminology-headers) — see forbidden header name list (this was implemented in Firefox 43) — it can now be set in a Fetch [Headers](/en-US/docs/Web/API/Headers) object, or with the [setRequestHeader()](/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader) method of `XMLHttpRequest`. However, Chrome will silently drop the header from Fetch requests (see [Chromium bug 571722](https://crbug.com/571722)).
> **Note:** While the {{HTTPHeader("Referer")}} header is listed as a forbidden header [in the spec](https://fetch.spec.whatwg.org/#forbidden-request-header), the user agent does not retain full control over it and the header can be programmatically modified. For example, when using [`fetch()`](/en-US/docs/Web/API/fetch), the {{HTTPHeader("Referer")}} header can be programmatically modified via the [`referrer` option](/en-US/docs/Web/API/fetch#referrer).
## See also

{{Glossary("Forbidden response header name")}} (Glossary)
4 changes: 1 addition & 3 deletions files/en-us/glossary/input_method_editor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@ An input method editor (IME) is a program that provides a specialized user inter
## See also

- [Input method](https://en.wikipedia.org/wiki/Input_method)
- [Glossary](/en-US/docs/Glossary)

- {{Glossary("I18N")}}
- {{Glossary("Internationalization", "Internationalization (I18N)")}}
4 changes: 2 additions & 2 deletions files/en-us/glossary/vendor_prefix/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ requestAnimationFrame(callback);

## See also

- [Mozilla vendor-prefixed CSS extensions](/en-US/docs/Web/CSS/Mozilla_Extensions)
- [WebKit vendor-prefixed CSS extensions](/en-US/docs/Web/CSS/WebKit_Extensions)
- [`-moz-` vendor-prefixed CSS extensions](/en-US/docs/Web/CSS/Mozilla_Extensions)
- [`-webkit-` vendor-prefixed CSS extensions](/en-US/docs/Web/CSS/WebKit_Extensions)
- [Browser prefixes](https://en.wikipedia.org/wiki/CSS_hack#Browser_prefixes) on Wikipedia
Loading

0 comments on commit f4df274

Please sign in to comment.