Commit graph

262 commits

Author SHA1 Message Date
roytam1
e5ac0b779f Merge remote-tracking branch 'origin/tracking' into custom 2021-09-16 10:24:34 +08:00
roytam1
cefef008d1 Bug 1721107 - block mk protocol, r=dveditz, a=RyanVM 2021-09-16 10:23:03 +08:00
roytam1
a49b1a5902 import change from tenfourfox:
- closes #647: M1724107 M1721107+backbugs M1716622 +TLDs (a3a4a114b)
2021-09-07 10:23:53 +08:00
roytam1
c0cea40182 Merge remote-tracking branch 'origin/master' into custom 2021-07-15 09:47:07 +08:00
Moonchild
3612f45a90 [network] Stop treating http and https as different for encoding schemes.
There is no reason to treat available encoding schemes for these protocols
differently.
2021-07-15 09:23:13 +08:00
roytam1
fe79e2a96a Merge remote-tracking branch 'origin/master' into custom 2021-07-08 10:54:34 +08:00
Moonchild
b33cc1faa8 [network] Enable brotli compression on http for sites that offer it. 2021-07-08 09:57:11 +08:00
roytam1
20c6498ca1 Merge remote-tracking branch 'origin/master' into custom 2021-06-24 11:13:09 +08:00
athenian200
efc6048941 Issue #1784 - Add -moz-dark-theme media query and allow prefers-color-scheme to follow it. 2021-06-24 11:10:22 +08:00
roytam1
d4582b821c Merge remote-tracking branch 'origin/master' into custom 2021-05-07 09:56:55 +08:00
Moonchild
a4b0f333ba Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
roytam1
7f6520be1a Merge remote-tracking branch 'origin/master' into custom 2021-04-02 10:50:32 +08:00
athenian200
618fa768c8 Issue #1757 - Reinstate "dom.details_element.enabled" preference
The removal of this preference was botched, all other surrounding plumbing changes appear to be working okay. The ability to use prefs to control this stylesheet might be useful in the future, so perhaps this is one of those "if it ain't broke, don't fix it" bugs where leaving well enough alone in the first place would have been the best choice.
2021-04-02 10:33:54 +08:00
roytam1
f9ded55f98 Merge remote-tracking branch 'origin/master' into custom 2021-03-25 09:26:26 +08:00
athenian200
da2461fa57 Issue #1752 - Implement "prefers-color-scheme" as a user preference.
This PR passes all current tests for this feature, and implements the "prefers-color-scheme" media query as an enumerated keyword that is controlled by an integer preference.

Currently, the possible options are 0 to see a website's fallback code and essentially behave like this isn't implemented (our current behavior), 1 to express a preference for a light theme (the default for spec reasons), and 2 to express a preference for a dark theme. Over time, this list may expand to include other preferences like a preference for a sepia theme or something, and this leaves us prepared for that future.
2021-03-25 09:05:20 +08:00
roytam1
4a010b9495 Merge remote-tracking branch 'origin/master' into custom 2021-03-19 09:08:13 +08:00
Moonchild
a29e342411 [CSS] Enable scrollbar-width keyword by default.
I totally forgot this <.<
2021-03-19 09:07:46 +08:00
roytam1
e54fcd15f1 Merge remote-tracking branch 'origin/master' into custom 2021-03-12 09:00:51 +08:00
Moonchild
0ced696351 Issue #1053 - Remove Android-specific blocks from system headers and /dom 2021-03-12 08:57:47 +08:00
roytam1
d72c60c303 Merge remote-tracking branch 'origin/master' into custom 2021-01-27 21:05:06 +08:00
Matt A. Tobin
d4324dc064 Issue #1390 - Clean up presentation api leftovers 2021-01-27 21:01:56 +08:00
Moonchild
a828a5f321 Issue #1719 - Make <menuitem> pref-controlled and disable by default.
Resolves #1719
2021-01-27 21:01:54 +08:00
Moonchild
74680d59a1 Issue #1319 - Resolve RELEASE_OR_BETA questions in all.js
- Enabled SVG transform-box property. I've tested this extensively including the
bug that prevented Mozilla from shipping until 55 which does not seem to apply
to us (most likely a stylo issue). Should be good to go.
- Moved the getRootNode pref to a better place (no change)
- Enabled inputmode property for forms. This is n/a for physical keyboards but
should improve the experience for soft keyboards that can pop up various forms
of input (e.g. numeric) depending on the mode indicated. According to BZ this is
feature complete at our level but was problematic for Android which we don't
have support for anyway.
- Restricted crashing on insecure input of text to debug only.
- Enabled shutting down the async OSFile worker if not used for 30 seconds to
be more conscientious about resource use.
- Enabled blocking of autoplay of media in the background by default, since it
is a saner default to have for the OOBE and is commonly a desired setting by
users (see forum).
- Disabled the storage manager API by default. This fine-grained control over
stored website data is already handled by various extensions and we don't have
the front-end support for it. Assuming this was necessary for Mozilla due to
limited access of WebExtensions to this kind of data.
2021-01-27 21:01:51 +08:00
roytam1
3e1ffe6299 Merge remote-tracking branch 'origin/master' into custom 2021-01-21 14:42:57 +08:00
Moonchild
07ca4f6f03 Issue #1630 - Enable W3C pointer events by default.
Resolves #1630
2021-01-21 14:31:52 +08:00
Matt A. Tobin
1f54cfa658 [Media] Enable AV1 by default if built 2021-01-21 14:31:50 +08:00
Moonchild
de53821109 Issue #1689 - Part 5: Enable DOM Animations API except the preffed-off parts.
This enables the DOM Animations API core functions with the exception of those
parts that are either unimplemented or not ready for use, which have been
preffed off in this issue's previous parts.

Also tag #1319 for enabling a previous RELEASE_OR_BETA shielded API.
2021-01-21 14:31:25 +08:00
Moonchild
15feed4c00 Issue #1689 - Part 4: Add a preference for {Document,Element}.getAnimations()
This is probably the last thing we will ship (if ever) since it needs the most
spec and implementation work for arbitrary use that is pretty far into a corner.
2021-01-21 14:31:23 +08:00
Moonchild
fdeb68f0b8 Issue #1689 - Part 3: Add a preference for animation composite modes.
This feature should not be shipped until the various definitions of addition for
each additive property are properly specified and then implemented accordingly.

Unlike other patches in this series, compositing is not frequently used
internally so there is no need to enable this by default for chrome callers.
2021-01-21 14:31:22 +08:00
Moonchild
d9693c298c Issue #1689 - Part 2: Add a preference for implicit keyframes
This preference controls whether authors are allowed to specify animations
without a 0% or 100% keyframe.

We intend to ship this but it isn't implemented yet (needs a follow-up) but this
preference acts as a safeguard in case we discover we need to disable it once
it's implemented.
2021-01-21 14:31:20 +08:00
Moonchild
ad1e2abea1 Issue #1689 - Part 1: Add pref for DOM Animation timelines API
Default false, no intent to ship for web content. Always enabled for Chrome.
2021-01-21 14:31:18 +08:00
roytam1
a324d0a18c Merge remote-tracking branch 'origin/master' into custom 2021-01-14 22:41:39 +08:00
Moonchild
8e08d8bfd3 Issue #1705 - Part 4: Add scrollbar-width CSS keyword to CSS parser.
This should be all parts needed to add a brand new enum keyword including
getting the computed style from it...
2021-01-14 22:19:55 +08:00
Matt A. Tobin
325e57e916 Issue #1624 - Fix slot access intrinsics for objects with > 16 reserved slots
Also flips ion inlining pref back on
2021-01-14 22:19:19 +08:00
roytam1
a9f63c3e7d Merge remote-tracking branch 'origin/master' into custom 2021-01-01 10:04:05 +08:00
Moonchild
b21588597c Issue #1053 - Part 1c: Remove references to mobile/android targets and paths 2021-01-01 09:59:58 +08:00
roytam1
0f5904acc6 Merge remote-tracking branch 'origin/master' into custom 2020-12-12 00:15:44 +08:00
Moonchild
de6b427be4 Revert "Issue #1391 - Disable DOM Filesystem/dirpicker APIs by default."
This reverts commit 45a976a5f1e83c3c2f7fcf85b1fa5315946f4c1a.
2020-12-10 10:31:45 +08:00
roytam1
10126898e3 Merge remote-tracking branch 'origin/master' into custom 2020-12-04 08:53:18 +08:00
Moonchild
0f4c395865 Issue #1624 - flip the inlining pref.
The default is now set to the more stable but slower global setting.
2020-12-04 08:52:52 +08:00
Moonchild
ec0865128b Issue #1624 - Make ion inlining optimizations a pref.
This also adds it to JS_SetGlobalJitCompilerOption()
2020-12-04 08:52:49 +08:00
roytam1
c5bb4ee5fa Merge remote-tracking branch 'origin/master' into custom 2020-11-20 09:32:22 +08:00
Werner Lemberg
94187c71cf [sfnt] Fix heap buffer overflow.
This is CVE-2020-15999.

* src/sfnt/pngshim.c (Load_SBit_Png): Test bitmap size earlier.
2020-11-20 09:31:30 +08:00
roytam1
2ffe6398eb Merge remote-tracking branch 'origin/master' into custom 2020-11-16 21:14:10 +08:00
Moonchild
aa16c6c7ee [UA] Change default compatibility mode version to 68.0
Since several entities have started to ban .9 versions, even if they are valid
ESR versions.
2020-11-16 21:10:36 +08:00
Moonchild
48a4d20592 Issue #1683 - Update libjar module. 2020-11-16 21:10:23 +08:00
Moonchild
390f3a6272 Issue #1683 - Update Brotli lib to 1.0.9 2020-11-16 21:10:22 +08:00
Moonchild
889311cd74 [libjar] Fix inflation logic.
This has been broken for 11 years. About time it's fixed.
Tag #1683
2020-11-16 21:10:20 +08:00
Moonchild
6d5eda3010 Issue #1682 - Remove vibrator DOM interface and support code.
Resolves #1682
2020-11-16 21:10:19 +08:00
Moonchild
8bc226c258 Issue #1391 - Disable DOM Filesystem/dirpicker APIs by default.
There don't seem to be any drawbacks to this; tested for the past month disabled
and there have been no issues with any sites visited. Adoption seems very low.
2020-11-16 21:10:18 +08:00