Skip to content

Commit

Permalink
Merge branch 'mdn:main' into Issue#36941_enterkeyhint=go
Browse files Browse the repository at this point in the history
  • Loading branch information
SASHWAT12 authored Dec 2, 2024
2 parents 7db927a + 02c34c1 commit b5bb2f5
Show file tree
Hide file tree
Showing 116 changed files with 2,133 additions and 1,282 deletions.
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
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Try to update the code below to recreate the finished example:
<details>
<summary>Click here to show the solution</summary>

Use `background-position` with ther `center` keyword and a percentage:
Use `background-position` with the `center` keyword and a percentage:

```css
.box {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ For this tutorial we'll hosting our code on [GitHub](https://github.com/), one o
> [!NOTE]
> Using SCM tools is good software development practice!
> Ths instructions provide a basic introduction to git and GitHub.
> These instructions provide a basic introduction to git and GitHub.
> To learn more, see [Learning Git](https://docs.github.com/en/get-started/start-your-journey/git-and-github-learning-resources).
### Key concepts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ For our sample project, we'll be using a toolchain specifically designed to aid

## Checking prerequisites

You should have most of the softwares already if you've been following along with the previous chapters. Here's what you should have before proceeding to the real setup steps. They only need to be done once and you don't need to repeat these again for future projects.
You should have most of the pieces of software already if you've been following along with the previous chapters. Here's what you should have before proceeding to the real setup steps. They only need to be done once and you don't need to repeat these again for future projects.

### Creating a GitHub account

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
91 changes: 90 additions & 1 deletion files/en-us/mozilla/firefox/experimental_features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Experimental features can be enabled or disabled using the [Firefox Configuratio

### Autocorrection of editable text elements

The HTML [`autocorrect`](/en-US/docs/Web/HTML/Global_attributes/autocorrect) attribute (and correspoinding {{domxref("HTMLElement.autocorrect")}} property) allow autocompletion in editable text elements including: most kinds of text {{htmlelement("input")}} elements, {{htmlelement("textarea")}} elements, and elements that have the [`contenteditable`](/en-US/docs/Web/HTML/Global_attributes/contenteditable) attribute set ([Firefox bug 1725806](https://bugzil.la/1725806)).
The HTML [`autocorrect`](/en-US/docs/Web/HTML/Global_attributes/autocorrect) attribute (and corresponding {{domxref("HTMLElement.autocorrect")}} property) allow autocorrection in editable text elements including: most kinds of text {{htmlelement("input")}} elements, {{htmlelement("textarea")}} elements, and elements that have the [`contenteditable`](/en-US/docs/Web/HTML/Global_attributes/contenteditable) attribute set ([Firefox bug 1725806](https://bugzil.la/1725806)).

<table>
<thead>
Expand Down Expand Up @@ -1328,6 +1328,46 @@ This includes: `SVGPathSegList`, [SVGPathElement.getPathSegAtLength()](/en-US/do

## JavaScript

### Intl.DurationFormat

{{jsxref("Intl.DurationFormat")}} enables locale-sensitive formatting of durations. ([Firefox bug 1648139](https://bugzil.la/1648139)).

<table>
<thead>
<tr>
<th>Release channel</th>
<th>Version added</th>
<th>Enabled by default?</th>
</tr>
</thead>
<tbody>
<tr>
<th>Nightly</th>
<td>134</td>
<td>Yes</td>
</tr>
<tr>
<th>Developer Edition</th>
<td>134</td>
<td>No</td>
</tr>
<tr>
<th>Beta</th>
<td>134</td>
<td>No</td>
</tr>
<tr>
<th>Release</th>
<td>134</td>
<td>No</td>
</tr>
<tr>
<th>Preference name</th>
<td colspan="2">NA</td>
</tr>
</tbody>
</table>

### JSON.parse with source

The [`JSON.parse` source text access proposal](https://github.com/tc39/proposal-json-parse-with-source) extends [`JSON.parse`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse) behavior to provide features to mitigate issues around loss of precision when converting values such as large floats and date values between JavaScript values and JSON text. ([Firefox bug 1913085](https://bugzil.la/1913085), [Firefox bug 1925334](https://bugzil.la/1925334)).
Expand Down Expand Up @@ -1458,6 +1498,55 @@ The {{domxref("CloseWatcher")}} interface allows developers to implement UI comp
</tbody>
</table>

### Trusted Types API

The [Trusted Types API](/en-US/docs/Web/API/Trusted_Types_API) provides mechanisms to ensure that functions that can potentially be used as vectors for XSS attacks are only able to be called with data that has been validated or sanitized.

> [!NOTE]
> At the time of writing not enough of the API has been implemented for it to be effectively testable.
> This note will be removed once it is ready.
This subset of the API has been implemented:

- {{domxref("TrustedTypePolicyFactory")}}:
- {{domxref("TrustedTypePolicyFactory/getAttributeType", "getAttributeType()")}} and {{domxref("TrustedTypePolicyFactory/getPropertyType", "getPropertyType()")}} ([Firefox bug 1917783](https://bugzil.la/1917783), [Firefox bug 1917784](https://bugzil.la/1917784)).

<table>
<thead>
<tr>
<th>Release channel</th>
<th>Version added</th>
<th>Enabled by default?</th>
</tr>
</thead>
<tbody>
<tr>
<th>Nightly</th>
<td>133</td>
<td>No</td>
</tr>
<tr>
<th>Developer Edition</th>
<td>133</td>
<td>No</td>
</tr>
<tr>
<th>Beta</th>
<td>133</td>
<td>No</td>
</tr>
<tr>
<th>Release</th>
<td>133</td>
<td>No</td>
</tr>
<tr>
<th>Preference name</th>
<td colspan="2"><code>dom.security.trusted_types.enabled</code></td>
</tr>
</tbody>
</table>

### Graphics: Canvas, WebGL, and WebGPU

#### Hit regions
Expand Down
Loading

0 comments on commit b5bb2f5

Please sign in to comment.