Skip to content

Commit

Permalink
Merge branch 'main' into details-content
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdavidmills authored Dec 9, 2024
2 parents 83fe58b + 934dace commit 0d82bc5
Show file tree
Hide file tree
Showing 140 changed files with 1,755 additions and 1,472 deletions.
1 change: 1 addition & 0 deletions .vscode/dictionaries/code-entities.txt
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ reflectionchange
removestream
replacewithcommas
replacewithspaces
RFCOMM
RGBX
RGUI
richlistbox
Expand Down
2 changes: 2 additions & 0 deletions .vscode/dictionaries/non-english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ dezembro
Donnerstag
démonstration
erkennst
español
Esta
Februar
fers
français
française
Früh
gangnam
Expand Down
1 change: 1 addition & 0 deletions .vscode/dictionaries/terms-abbreviations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ iconset
idents
IERS
IMSC
inferencing
infobar
infobox
infoboxes
Expand Down
15 changes: 14 additions & 1 deletion files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@
/en-US/docs/Common_CSS_Questions /en-US/docs/Learn/CSS/Howto/CSS_FAQ
/en-US/docs/Common_XSLT_Errors /en-US/docs/Web/XSLT/Common_errors
/en-US/docs/Configuring_Build_Options https://firefox-source-docs.mozilla.org/setup/configuring_build_options.html
/en-US/docs/Configuring_servers_for_Ogg_media /en-US/docs/Web/HTTP/Configuring_servers_for_Ogg_media
/en-US/docs/Configuring_servers_for_Ogg_media /en-US/docs/Web/Media/Formats/Configuring_servers_for_Ogg_media
/en-US/docs/Consistent_List_Indentation /en-US/docs/Web/CSS/CSS_lists/Consistent_list_indentation
/en-US/docs/Const_statement /en-US/docs/Web/JavaScript/Reference/Statements/const
/en-US/docs/Content_negotiation /en-US/docs/Web/HTTP/Content_negotiation
Expand Down Expand Up @@ -9479,13 +9479,18 @@
/en-US/docs/Web/API/RTCIceTransport/onselectedcandidatepairchange /en-US/docs/Web/API/RTCIceTransport/selectedcandidatepairchange_event
/en-US/docs/Web/API/RTCIceTransport/onstatechange /en-US/docs/Web/API/RTCIceTransport/statechange_event
/en-US/docs/Web/API/RTCIceTransportState /en-US/docs/Web/API/RTCIceTransport/state
/en-US/docs/Web/API/RTCInboundRtpStreamStats/firCount /en-US/docs/Web/API/RTCInboundRtpStreamStats
/en-US/docs/Web/API/RTCInboundRtpStreamStats/lastPacketReceivedTimesta /en-US/docs/Web/API/RTCInboundRtpStreamStats/lastPacketReceivedTimestamp
/en-US/docs/Web/API/RTCInboundRtpStreamStats/pliCount /en-US/docs/Web/API/RTCInboundRtpStreamStats
/en-US/docs/Web/API/RTCInboundRtpStreamStats/trackId /en-US/docs/Web/API/RTCInboundRtpStreamStats
/en-US/docs/Web/API/RTCOfferAnswerOptions /en-US/docs/Web/API/RTCPeerConnection/createAnswer
/en-US/docs/Web/API/RTCOfferAnswerOptions/voiceActivityDetection /en-US/docs/Web/API/RTCPeerConnection/createAnswer
/en-US/docs/Web/API/RTCOfferOptions /en-US/docs/Web/API/RTCPeerConnection/createOffer
/en-US/docs/Web/API/RTCOfferOptions/iceRestart /en-US/docs/Web/API/RTCPeerConnection/createOffer
/en-US/docs/Web/API/RTCOutboundRtpStreamStats/firCount /en-US/docs/Web/API/RTCOutboundRtpStreamStats
/en-US/docs/Web/API/RTCOutboundRtpStreamStats/lastPacketSentTimestamp /en-US/docs/Web/API/RTCOutboundRtpStreamStats
/en-US/docs/Web/API/RTCOutboundRtpStreamStats/perDscpPacketsReceived /en-US/docs/Web/API/RTCOutboundRtpStreamStats/perDscpPacketsSent
/en-US/docs/Web/API/RTCOutboundRtpStreamStats/pliCount /en-US/docs/Web/API/RTCOutboundRtpStreamStats
/en-US/docs/Web/API/RTCPeerConnection.addStream /en-US/docs/Web/API/RTCPeerConnection/addStream
/en-US/docs/Web/API/RTCPeerConnection.close /en-US/docs/Web/API/RTCPeerConnection/close
/en-US/docs/Web/API/RTCPeerConnection.getIdentityAssertion /en-US/docs/Web/API/RTCPeerConnection/getIdentityAssertion
Expand Down Expand Up @@ -9552,6 +9557,13 @@
/en-US/docs/Web/API/RTCRtpSendParameters/encodings /en-US/docs/Web/API/RTCRtpSender/setParameters
/en-US/docs/Web/API/RTCRtpSender/getCapabilities /en-US/docs/Web/API/RTCRtpSender/getCapabilities_static
/en-US/docs/Web/API/RTCRtpSender/getCapabilities() /en-US/docs/Web/API/RTCRtpSender/getCapabilities_static
/en-US/docs/Web/API/RTCRtpStreamStats/codecId /en-US/docs/Web/API/RTCInboundRtpStreamStats
/en-US/docs/Web/API/RTCRtpStreamStats/firCount /en-US/docs/Web/API/RTCInboundRtpStreamStats
/en-US/docs/Web/API/RTCRtpStreamStats/kind /en-US/docs/Web/API/RTCInboundRtpStreamStats
/en-US/docs/Web/API/RTCRtpStreamStats/nackCount /en-US/docs/Web/API/RTCInboundRtpStreamStats/nackCount
/en-US/docs/Web/API/RTCRtpStreamStats/pliCount /en-US/docs/Web/API/RTCOutboundRtpStreamStats
/en-US/docs/Web/API/RTCRtpStreamStats/ssrc /en-US/docs/Web/API/RTCInboundRtpStreamStats
/en-US/docs/Web/API/RTCRtpStreamStats/transportId /en-US/docs/Web/API/RTCInboundRtpStreamStats
/en-US/docs/Web/API/RTCRtpSynchronizationSource /en-US/docs/Web/API/RTCRtpReceiver/getSynchronizationSources
/en-US/docs/Web/API/RTCRtpSynchronizationSource/voiceActivityFlag /en-US/docs/Web/API/RTCRtpReceiver/getSynchronizationSources
/en-US/docs/Web/API/RTCRtpTransceiverDirection /en-US/docs/Web/API/RTCRtpTransceiver/direction
Expand Down Expand Up @@ -12281,6 +12293,7 @@
/en-US/docs/Web/HTTP/Basics_of_HTTP/Resource_URLs /en-US/docs/Web/URI/Schemes/resource
/en-US/docs/Web/HTTP/CORS/Errors/Reason:_CORS_header_‘Origin’_cannot_be_added /en-US/docs/Web/HTTP/CORS/Errors/CORSOriginHeaderNotAdded
/en-US/docs/Web/HTTP/Caching_FAQ /en-US/docs/Web/HTTP/Caching
/en-US/docs/Web/HTTP/Configuring_servers_for_Ogg_media /en-US/docs/Web/Media/Formats/Configuring_servers_for_Ogg_media
/en-US/docs/Web/HTTP/Controlling_DNS_prefetching /en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control
/en-US/docs/Web/HTTP/Cookies/Cookie_Prefixes /en-US/docs/Web/HTTP/Cookies#Cookie_prefixes
/en-US/docs/Web/HTTP/Cross-Origin_Resource_Policy_(CORP) /en-US/docs/Web/HTTP/Cross-Origin_Resource_Policy
Expand Down
96 changes: 18 additions & 78 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -54157,10 +54157,6 @@
"modified": "2020-10-15T22:17:12.448Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCInboundRtpStreamStats/firCount": {
"modified": "2020-10-15T22:17:11.433Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCInboundRtpStreamStats/framesDecoded": {
"modified": "2020-10-15T22:17:13.510Z",
"contributors": ["Sheppy"]
Expand All @@ -54185,10 +54181,6 @@
"modified": "2020-10-15T22:17:13.721Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCInboundRtpStreamStats/pliCount": {
"modified": "2020-10-15T22:17:12.837Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCInboundRtpStreamStats/qpSum": {
"modified": "2020-10-15T22:17:11.627Z",
"contributors": ["Sheppy"]
Expand All @@ -54205,10 +54197,6 @@
"modified": "2020-10-15T22:17:11.541Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCInboundRtpStreamStats/trackId": {
"modified": "2020-10-15T22:17:14.607Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCOutboundRtpStreamStats": {
"modified": "2020-10-15T22:17:14.806Z",
"contributors": ["Sheppy"]
Expand All @@ -54217,10 +54205,6 @@
"modified": "2020-10-15T22:17:15.805Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCOutboundRtpStreamStats/firCount": {
"modified": "2020-10-15T22:17:15.817Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCOutboundRtpStreamStats/framesEncoded": {
"modified": "2020-10-15T22:17:15.823Z",
"contributors": ["Sheppy"]
Expand All @@ -54233,10 +54217,6 @@
"modified": "2020-10-15T22:17:15.897Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCOutboundRtpStreamStats/pliCount": {
"modified": "2020-10-15T22:17:15.902Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCOutboundRtpStreamStats/qpSum": {
"modified": "2020-10-15T22:17:16.058Z",
"contributors": ["Sheppy"]
Expand Down Expand Up @@ -54819,46 +54799,6 @@
"modified": "2020-10-15T22:33:11.726Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCRtpStreamStats": {
"modified": "2020-10-15T22:08:41.982Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCRtpStreamStats/codecId": {
"modified": "2020-10-15T22:08:51.438Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCRtpStreamStats/firCount": {
"modified": "2020-10-15T22:08:58.560Z",
"contributors": ["sideshowbarker", "Sheppy"]
},
"Web/API/RTCRtpStreamStats/kind": {
"modified": "2020-10-15T22:08:45.154Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCRtpStreamStats/nackCount": {
"modified": "2020-10-15T22:08:57.931Z",
"contributors": ["sideshowbarker", "Sheppy"]
},
"Web/API/RTCRtpStreamStats/pliCount": {
"modified": "2020-10-15T22:08:57.878Z",
"contributors": ["sideshowbarker", "Sheppy"]
},
"Web/API/RTCRtpStreamStats/qpSum": {
"modified": "2020-10-15T22:09:08.932Z",
"contributors": ["sideshowbarker", "Sheppy"]
},
"Web/API/RTCRtpStreamStats/ssrc": {
"modified": "2020-10-15T22:08:52.056Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCRtpStreamStats/trackId": {
"modified": "2020-10-15T22:08:53.310Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCRtpStreamStats/transportId": {
"modified": "2020-10-15T22:08:53.444Z",
"contributors": ["Sheppy"]
},
"Web/API/RTCRtpTransceiver": {
"modified": "2020-10-15T22:01:30.406Z",
"contributors": ["Sheppy", "bwc", "fscholz"]
Expand Down Expand Up @@ -98759,24 +98699,6 @@
"teoli"
]
},
"Web/HTTP/Configuring_servers_for_Ogg_media": {
"modified": "2019-09-10T19:10:12.290Z",
"contributors": [
"Sheppy",
"fscholz",
"bholley",
"chrisdavidmills",
"teoli",
"kscarfone",
"Dikrib",
"Sephr",
"BenB",
"cpearce",
"Zcorpan",
"Varmaa",
"sorinelpusti"
]
},
"Web/HTTP/Connection_management_in_HTTP_1.x": {
"modified": "2019-11-27T11:05:48.174Z",
"contributors": [
Expand Down Expand Up @@ -122592,6 +122514,24 @@
"modified": "2020-06-01T18:13:20.323Z",
"contributors": ["atd30", "Sheppy"]
},
"Web/Media/Formats/Configuring_servers_for_Ogg_media": {
"modified": "2019-09-10T19:10:12.290Z",
"contributors": [
"Sheppy",
"fscholz",
"bholley",
"chrisdavidmills",
"teoli",
"kscarfone",
"Dikrib",
"Sephr",
"BenB",
"cpearce",
"Zcorpan",
"Varmaa",
"sorinelpusti"
]
},
"Web/Media/Formats/Containers": {
"modified": "2020-04-18T23:02:19.945Z",
"contributors": ["sideshowbarker", "FFV47", "Sheppy", "mukhtar-github"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ If you're working on a side project just for fun, then leaving the source open w

As the name may suggest, publishers can handle the publishing of your game for you. Whether you should go that way or not depends on what your plan is for having your game distributed: Do you want to send it wherever possible, or do you want to restrict its presence to those who've bought an [exclusive license](/en-US/docs/Games/Publishing_games/Game_monetization)? It's up to you. Consider various options, experiment and conclude. Publishers will be explained in more detail in the [monetization](/en-US/docs/Games/Publishing_games/Game_monetization) article.

There are also independent portals collecting interesting games like [HTML5Games.com](https://html5games.com/), [GameArter.com](https://www.gamearter.com/), [MarketJS.com](https://www.marketjs.com/), [GameFlare](https://distribution.gameflare.com/), [GameDistribution.com](https://gamedistribution.com/), [GameSaturn.com](https://gamesaturn.com/), [Poki](https://developers.poki.com/), or [CrazyGames](https://developer.crazygames.com/) where you can send your game in and it will get some natural promotion because of the big traffic those sites attract. Some of these take your files and host them on their server, whereas others only link to your website or embed your game on their site. Such exposure may just provide [promotion](/en-US/docs/Games/Publishing_games/Game_promotion) for your game, or if you have adverts shown beside your game (or other money making options) it may also provide monetization.
There are also independent portals collecting interesting games like [HTML5Games.com](https://html5games.com/), [GameArter.com](https://www.gamearter.com/), [MarketJS.com](https://www.marketjs.com/), [GameFlare](https://distribution.gameflare.com/), [GameDistribution.com](https://gamedistribution.com/), [GameSaturn.com](https://gamesaturn.com/), [Playmox.com](https://www.playmox.com/), [Poki](https://developers.poki.com/), or [CrazyGames](https://developer.crazygames.com/) where you can send your game in and it will get some natural promotion because of the big traffic those sites attract. Some of these take your files and host them on their server, whereas others only link to your website or embed your game on their site. Such exposure may just provide [promotion](/en-US/docs/Games/Publishing_games/Game_promotion) for your game, or if you have adverts shown beside your game (or other money making options) it may also provide monetization.

### Web and native stores

Expand Down
6 changes: 3 additions & 3 deletions files/en-us/glossary/time_to_interactive/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ page-type: glossary-definition

**Time to Interactive** (TTI) is a non-standardized web performance 'progress' metric defined as the point in time when the last [Long Task](/en-US/docs/Web/API/PerformanceLongTaskTiming) finished and was followed by 5 seconds of network and main thread inactivity.

TTI, proposed by the Web Incubator Community Group in 2018, is intended to provide a metric that describes when a page or application contains useful content and the main thread is idle and free to respond to user interactions, including having event handlers registered.
TTI, proposed by the Web Incubator Community Group in 2018, was intended to provide a metric that describes when a page or application contains useful content and the main thread is idle and free to respond to user interactions, including having event handlers registered.

#### Caveat

TTI is derived by leveraging information from the [Long Task API](/en-US/docs/Web/API/PerformanceLongTaskTiming). Although available in some performance monitoring tools, TTI is not a part of any official web specification at the time of writing.
TTI is derived by leveraging information from the [Long Task API](/en-US/docs/Web/API/PerformanceLongTaskTiming). Although available in some performance monitoring tools, TTI is not a part of any official web specification.

## See also

- [Definition of TTI](https://github.com/WICG/time-to-interactive) from Web Incubator Community Group
- [Time to Interactive — focusing on human-centric metrics](https://calibreapp.com/blog/time-to-interactive) by Radimir Bitsov
- [Tracking TTI](https://web.dev/articles/user-centric-performance-metrics#tracking_tti)
- {{glossary("Time_to_first_byte", "Time to first byte (TTFB)")}}
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ h2 {
</head>
<body>
${outputBody}
<script>${code}</script>
<script>${code}<${"/"}script>
</body>
</html>`;
}
Expand Down Expand Up @@ -797,7 +797,7 @@ function outputDocument(code) {
</head>
<body>
${outputBody}
<script>${code}</script>
<script>${code}<${"/"}script>
</body>
</html>`;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Nodes are also referred to by their position in the tree relative to other nodes
- **Child node**: A node _directly_ inside another node. For example, `IMG` is a child of `SECTION` in the above example.
- **Descendant node**: A node _anywhere_ inside another node. For example, `IMG` is a child of `SECTION` in the above example, and it is also a descendant. `IMG` is not a child of `BODY`, as it is two levels below it in the tree, but it is a descendant of `BODY`.
- **Parent node**: A node which has another node inside it. For example, `BODY` is the parent node of `SECTION` in the above example.
- **Sibling nodes**: Nodes that sit on the same level in the DOM tree. For example, `IMG` and `P` are siblings in the above example.
- **Sibling nodes**: Nodes that sit on the same level under the same parent node in the DOM tree. For example, `IMG` and `P` are siblings in the above example.

It is useful to familiarize yourself with this terminology before working with the DOM, as a number of the code terms you'll come across make use of them. You may have also come across them if you have studied CSS (e.g. descendant selector, child selector).

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/mdn/community/communication_channels/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Check out the MDN-specific [discussion guidelines](/en-US/docs/MDN/Community/Dis

## Social media

You can follow MDN Web Docs on [Mastodon](https://mozilla.social/@mdn) and [X](https://x.com/MozDevNet).
You can follow MDN Web Docs on [Mastodon](https://mastodon.social/@mdn) and [X](https://x.com/MozDevNet).
Feel free to tag us in your posts if you want to share something with us or say hello, although we can't guarantee that we can respond to everything.

## Forums
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ let authorizing = browser.identity.launchWebAuthFlow(
- : `object`. Options for the flow, containing the following properties:

- `url`
- : `string`. The URL offered by the OAuth2 service provider to get an access token. The details of this URL should be given in the documentation for the service provider in question, but the URL parameters should always include:
- : `string`. The URL offered by the OAuth2 service provider to get an access token. The details of this URL should be given in the documentation for the service provider in question, but the URL parameters should always include: the [redirect URL](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/identity#getting_the_redirect_url) and the extension's [client ID](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/identity#registering_your_add-on).
- `redirect_uri` {{optional_inline}}
- : `string`. This represents the URI your extension is redirected to when the flow has finished. Not required for the flow to work on the browser side if it matches the generated redirect URL. See [Getting the redirect URL](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/identity#getting_the_redirect_url).
- `interactive` {{optional_inline}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ browser-compat: webextensions.api.sidebarAction.setTitle

{{AddonSidebar}}

Sets the sidebar's title. The title is displayed anywhere the browser lists available sidebars. For example, Firefox will show it in the "View > Sidebar" menu. It's also shown at the top o the sidebar when the sidebar is open.
Sets the sidebar's title. The title is displayed anywhere the browser lists available sidebars. For example, Firefox will show it in the "View > Sidebar" menu. It's also shown at the top of the sidebar when the sidebar is open.

## Types of title

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ browser.tabs.onUpdated.addListener(handleUpdated);

### Filtering examples

Log changes only to tabs whose `url` property is [matched](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns) by `https://developer.mozilla.org/*` or `https://mozilla.social/@mdn`:
Log changes only to tabs whose `url` property is [matched](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns) by `https://developer.mozilla.org/*` or `https://mastodon.social/@mdn`:

```js
const pattern1 = "https://developer.mozilla.org/*";
const pattern2 = "https://mozilla.social/@mdn";
const pattern2 = "https://mastodon.social/@mdn";

const filter = {
urls: [pattern1, pattern2],
Expand Down Expand Up @@ -176,11 +176,11 @@ function handleUpdated(tabId, changeInfo, tabInfo) {
browser.tabs.onUpdated.addListener(handleUpdated, filter);
```

Combine both the previous filters, log only when the `pinned` property of tabs changes for tabs whose `url` property is [matched](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns) by `https://developer.mozilla.org/*` or `https://mozilla.social/@mdn`:
Combine both the previous filters, log only when the `pinned` property of tabs changes for tabs whose `url` property is [matched](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns) by `https://developer.mozilla.org/*` or `https://mastodon.social/@mdn`:

```js
const pattern1 = "https://developer.mozilla.org/*";
const pattern2 = "https://mozilla.social/@mdn";
const pattern2 = "https://mastodon.social/@mdn";

const filter = {
urls: [pattern1, pattern2],
Expand All @@ -196,11 +196,11 @@ function handleUpdated(tabId, changeInfo, tabInfo) {
browser.tabs.onUpdated.addListener(handleUpdated, filter);
```

Log changes only when the `pinned` property of tabs changes for tabs whose `url` property is [matched](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns) by `https://developer.mozilla.org/*` or `https://mozilla.social/@mdn` where the tab was part of the current browser window when the update event fired:
Log changes only when the `pinned` property of tabs changes for tabs whose `url` property is [matched](/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns) by `https://developer.mozilla.org/*` or `https://mastodon.social/@mdn` where the tab was part of the current browser window when the update event fired:

```js
const pattern1 = "https://developer.mozilla.org/*";
const pattern2 = "https://mozilla.social/@mdn";
const pattern2 = "https://mastodon.social/@mdn";

const filter = {
urls: [pattern1, pattern2],
Expand Down
Loading

0 comments on commit 0d82bc5

Please sign in to comment.