Disable replaceAll quirk by default

Fixes #6208
This commit is contained in:
Florian Bruhin 2021-04-13 09:52:26 +02:00
parent 929d635dc5
commit d7738719f3
3 changed files with 18 additions and 3 deletions

View File

@ -112,6 +112,12 @@ Changed
valid, but was never customized.
- The `statusbar.widgets` setting now understands `text:...` entries which
allows adding a hard-coded text to the statusbar.
- The polyfill for `String.replaceAll` (required for Nextcloud Calendar < 2.2.0
with QtWebEngine < 5.15.3) is now disabled by default, as it's not fully
compliant to the ECMAScript spec and might cause issues on other websites.
If you still need it (e.g. if you're still on an old Nextcloud Calendar
version), remove `js-string-replaceall` from
`content.site_specific_quirks.skip`.
Fixed
~~~~~

View File

@ -2683,6 +2683,7 @@ Default: +pass:[true]+
[[content.site_specific_quirks.skip]]
=== content.site_specific_quirks.skip
Disable a list of named quirks.
The js-string-replaceall quirk is needed for Nextcloud Calendar < 2.2.0 with QtWebEngine < 5.15.3. However, the workaround is not fully compliant to the ECMAScript spec and might cause issues on other websites, so it's disabled by default.
Type: <<types,FlagList>>
@ -2698,7 +2699,9 @@ Valid values:
* +misc-krunker+
* +misc-mathml-darkmode+
Default: empty
Default:
- +pass:[js-string-replaceall]+
[[content.tls.certificate_errors]]
=== content.tls.certificate_errors

View File

@ -552,8 +552,14 @@ content.site_specific_quirks.skip:
- misc-krunker
- misc-mathml-darkmode
none_ok: true
default: []
desc: 'Disable a list of named quirks.'
default: ["js-string-replaceall"]
desc: >-
Disable a list of named quirks.
The js-string-replaceall quirk is needed for Nextcloud Calendar < 2.2.0 with
QtWebEngine < 5.15.3. However, the workaround is not fully compliant to the
ECMAScript spec and might cause issues on other websites, so it's disabled by
default.
# emacs: '