Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16304,12 +16304,14 @@
/en-US/docs/Web/Security/Do_not_track_field_guide/Tutorials/3_Collecting_aggregate_data_based_on_DNT /en-US/docs/Web/HTTP/Reference/Headers/DNT
/en-US/docs/Web/Security/Do_not_track_field_guide/Tutorials/Additional_resources /en-US/docs/Web/HTTP/Reference/Headers/DNT
/en-US/docs/Web/Security/HTTP_strict_transport_security /en-US/docs/Web/HTTP/Reference/Headers/Strict-Transport-Security
/en-US/docs/Web/Security/IFrame_credentialless /en-US/docs/Web/HTTP/Guides/IFrame_credentialless
/en-US/docs/Web/Security/Insecure_passwords /en-US/docs/Web/Security/Authentication/Passwords
/en-US/docs/Web/Security/Mixed_content /en-US/docs/Web/Security/Defenses/Mixed_content
/en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content /en-US/docs/Web/Security/Defenses/Mixed_content#developer_console
/en-US/docs/Web/Security/Practical_implementation_guides/CSRF_prevention /en-US/docs/Web/Security/Attacks/CSRF
/en-US/docs/Web/Security/Practical_implementation_guides/Clickjacking /en-US/docs/Web/Security/Attacks/Clickjacking
/en-US/docs/Web/Security/Public_Key_Pinning /en-US/docs/Web/Security/Defenses/Certificate_Transparency
/en-US/docs/Web/Security/Referer_header:_privacy_and_security_concerns /en-US/docs/Web/Privacy/Guides/Referer_header:_privacy_and_security_concerns
/en-US/docs/Web/Security/Same-origin_policy /en-US/docs/Web/Security/Defenses/Same-origin_policy
/en-US/docs/Web/Security/Secure_Contexts /en-US/docs/Web/Security/Defenses/Secure_Contexts
/en-US/docs/Web/Security/Secure_Contexts/features_restricted_to_secure_contexts /en-US/docs/Web/Security/Defenses/Secure_Contexts/features_restricted_to_secure_contexts
Expand Down
24 changes: 12 additions & 12 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -121179,6 +121179,18 @@
"antoinegrant"
]
},
"Web/Privacy/Guides/Referer_header:_privacy_and_security_concerns": {
"modified": "2020-07-22T14:05:46.803Z",
"contributors": [
"mfuji09",
"bradyhanna",
"chrisdavidmills",
"..",
"vriojtg",
"cg",
"wbamberg"
]
},
"Web/Progressive_web_apps": {
"modified": "2020-12-14T07:30:15.695Z",
"contributors": [
Expand Down Expand Up @@ -124733,18 +124745,6 @@
"Mathieu Deaudelin"
]
},
"Web/Security/Referer_header:_privacy_and_security_concerns": {
"modified": "2020-07-22T14:05:46.803Z",
"contributors": [
"mfuji09",
"bradyhanna",
"chrisdavidmills",
"..",
"vriojtg",
"cg",
"wbamberg"
]
},
"Web/URI": {
"modified": "2020-11-16T01:23:20.622Z",
"contributors": [
Expand Down
14 changes: 14 additions & 0 deletions files/en-us/mozilla/firefox/experimental_features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,20 @@ The CSS `text-decoration-trim` property allows you to specify {{cssxref("text-de
- `layout.css.text-decoration-trim.enabled`
- : Set to `true` to enable.

### `@custom-media` at-rule

The [`@custom-media`](/en-US/docs/Web/CSS/Reference/At-rules/@custom-media) CSS at-rule defines aliases for long or complex media queries. Instead of repeating the same hardcoded `<media-query-list>` in multiple `@media` at-rules, it can be defined once in a `@custom-media` at-rule and referenced throughout the stylesheet whenever needed. ([Firefox bug 1991105](https://bugzil.la/1744292)).

| Release channel | Version added | Enabled by default? |
| ----------------- | ------------- | ------------------- |
| Nightly | 146 | No |
| Developer Edition | 146 | No |
| Beta | 146 | No |
| Release | 146 | No |

- `layout.css.custom-media.enabled`
- : Set to `true` to enable.

## SVG

**No experimental features in this release cycle.**
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/mozilla/firefox/releases/146/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,7 @@ You can find more such features on the [Experimental features](/en-US/docs/Mozil

Nightly builds now support the Navigation API, which provides the ability to initiate, intercept, and manage browser navigation actions. It can also examine an application's history entries. This is a successor to previous web platform features such as the {{domxref("History API", "", "", "nocode")}} and {{domxref("window.location")}}, which solves their shortcomings and is specifically aimed at the needs of {{glossary("SPA", "single-page applications (SPAs)")}}.
([Firefox bug 1979288](https://bugzil.la/1979288)).

- **Custom media queries**: `layout.css.custom-media.enabled`

The [`@custom-media`](/en-US/docs/Web/CSS/Reference/At-rules/@custom-media) CSS at-rule defines aliases for long or complex media queries. Instead of repeating the same hardcoded `<media-query-list>` in multiple `@media` at-rules, it can be defined once in a `@custom-media` at-rule and referenced throughout the stylesheet whenever needed. ([Firefox bug 1991105](https://bugzil.la/1744292)).
2 changes: 1 addition & 1 deletion files/en-us/web/api/cssstylesheet/insertrule/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The newly inserted rule's index within the stylesheet's rule-list.
- `SyntaxError` {{domxref("DOMException")}}
- : Thrown if more than one rule is given in the `rule` parameter.
- `InvalidStateError` {{domxref("DOMException")}}
- : Thrown if `rule` is {{cssxref("@namespace")}} and the rule-list has more than just `@import` at-rules and/or `@namespace` at-rules.
- : Thrown if `rule` is {{cssxref("@namespace")}} and the [rule-list](/en-US/docs/Web/CSS/Reference/Values/rule-list) contains at-rules other than `@import` and `@namespace` at-rules.

## Examples

Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/document/parsehtml_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ A {{domxref("Document")}}.

- `TypeError`
- : This is thrown if `options.sanitizer` is passed a:
- non-normalized {{domxref("SanitizerConfig")}} (one that includes both "allowed" and "removed" configuration settings).
- {{domxref("SanitizerConfig")}} that isn't [valid](/en-US/docs/Web/API/SanitizerConfig#valid_configuration).
For example, a configuration that includes both "allowed" and "removed" configuration settings.
- string that does not have the value `"default"`.
- value that is not a {{domxref("Sanitizer")}}, {{domxref("SanitizerConfig")}}, or string.

Expand Down
5 changes: 3 additions & 2 deletions files/en-us/web/api/document/parsehtmlunsafe_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ A {{domxref("Document")}}.
- : This is thrown if:
- `html` is passed a string when [Trusted Types](/en-US/docs/Web/API/Trusted_Types_API) are [enforced by a CSP](/en-US/docs/Web/API/Trusted_Types_API#using_a_csp_to_enforce_trusted_types) and no default policy is defined.
- `options.sanitizer` is passed a:
- value that is not a {{domxref("Sanitizer")}}, {{domxref("SanitizerConfig")}}, or string.
- non-normalized {{domxref("SanitizerConfig")}} (one that includes both "allowed" and "removed" configuration settings).
- {{domxref("SanitizerConfig")}} that isn't [valid](/en-US/docs/Web/API/SanitizerConfig#valid_configuration).
For example, a configuration that includes both "allowed" and "removed" configuration settings.
- string that does not have the value `"default"`.
- value that is not a {{domxref("Sanitizer")}}, {{domxref("SanitizerConfig")}}, or string.

## Description

Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/element/sethtml/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ None (`undefined`).

- `TypeError`
- : This is thrown if `options.sanitizer` is passed a:
- non-normalized {{domxref("SanitizerConfig")}} (one that includes both "allowed" and "removed" configuration settings).
- {{domxref("SanitizerConfig")}} that isn't [valid](/en-US/docs/Web/API/SanitizerConfig#valid_configuration).
For example, a configuration that includes both "allowed" and "removed" configuration settings.
- string that does not have the value `"default"`.
- value that is not a {{domxref("Sanitizer")}}, {{domxref("SanitizerConfig")}}, or string.

Expand Down
5 changes: 3 additions & 2 deletions files/en-us/web/api/element/sethtmlunsafe/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ None (`undefined`).
- : This is thrown if:
- `input` is passed a string when [Trusted Types](/en-US/docs/Web/API/Trusted_Types_API) are [enforced by a CSP](/en-US/docs/Web/API/Trusted_Types_API#using_a_csp_to_enforce_trusted_types) and no default policy is defined.
- `options.sanitizer` is passed a:
- value that is not a {{domxref("Sanitizer")}}, {{domxref("SanitizerConfig")}}, or string.
- non-normalized {{domxref("SanitizerConfig")}} (one that includes both "allowed" and "removed" configuration settings).
- {{domxref("SanitizerConfig")}} that isn't [valid](/en-US/docs/Web/API/SanitizerConfig#valid_configuration).
For example, a configuration that includes both "allowed" and "removed" configuration settings.
- string that does not have the value `"default"`.
- value that is not a {{domxref("Sanitizer")}}, {{domxref("SanitizerConfig")}}, or string.

## Description

Expand Down
Loading
Loading