Commit graph

283 commits

Author SHA1 Message Date
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
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
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
roytam1
56aaf6a15a Merge remote-tracking branch 'origin/master' into custom 2020-09-25 22:18:48 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild
8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
roytam1
d8c338b6d9 Merge remote-tracking branch 'origin/master' into custom 2020-09-18 20:54:18 +08:00
Moonchild
abb3630983 Issue #1643 - Part 2: Implement ResizeObserver API
Implements ResizeObserver, ResizeObserverEntry and ResizeObservation
2020-09-18 20:53:14 +08:00
Roy Tam
eeb44de4a1 Merge remote-tracking branch 'origin/master' into custom 2020-09-04 22:34:20 +08:00
athenian200
9532970df5 Issue #1641 - Implement CSS flow-root keyword
This is just a clean port of 1322191 and follow-up 1325970. It really seems to add create a new way to access existing code relating to block formatting and floating elements rather than implementing new functionality, and it is mercifully straightforwards.
2020-09-04 22:31:00 +08:00
Roy Tam
312cd43c03 Merge remote-tracking branch 'origin/master' into custom 2020-08-29 08:18:57 +08:00
Moonchild
209eb0a245 [media] Only include source error details in debugging scenarios.
Unless a user is debugging media errors, this detail is unnecessary to report
and could include sensitive data which could be abused by third-party
requesters. This aligns it with the standard success/error paradigms in normal
browsing situations.
2020-08-29 08:11:13 +08:00
Roy Tam
16c504ba17 Merge remote-tracking branch 'origin/master' into custom 2020-08-19 16:22:57 +08:00
athenian200
42d14af9a3 Issue #1629 - Part 3: Implement behind preference.
This is not very "clean," and is mostly done in the same sloppy way as Emilio did it because that's basically the only way you can do it. Note well that this does NOT actually turn off everything I've done in a clean fashion like ifdefs would. For instance, the Explicitly Enabled flag is still present, but is now always false because the only condition that can set it true is behind the pref and therefore inert when this pref is off. Also, because the arguments of SetDisabled have changed, my modifications to SetMozDisabled must be present regardless of whether the pref is on or off. What I have done is turn off the actual reflection of the disabled attribute in Disabled and SetDisabled, as well as in AfterSetAttr.

However, turning the pref off seems to restore more or less our old behavior, though there may be subtle differences unlike with an ifdef since this is, unfortunately, not an exact science and I can only turn off changes that happen within individual functions and not changes in how functions interact with each other.
2020-08-19 16:21:22 +08:00
Roy Tam
f477d50790 Merge remote-tracking branch 'origin/master' into custom 2020-08-14 09:02:23 +08:00
Andy
9f48a59946 Issue #1620 - Enable Intrinsic Ratio by Default
A simpler name feels so much cleaner.
2020-08-14 08:59:37 +08:00
Andy
be1f68f39e Issue #1620 - Use Intrinsic Aspect Ratio for Images
https://bugzilla.mozilla.org/show_bug.cgi?id=1547231
https://bugzilla.mozilla.org/show_bug.cgi?id=1559094
https://bugzilla.mozilla.org/show_bug.cgi?id=1633434
https://bugzilla.mozilla.org/show_bug.cgi?id=1565690
https://bugzilla.mozilla.org/show_bug.cgi?id=1602047

Make use of Aspect Ratios in Image frames before Images are loaded.
- Check for width and height HTML properties and create a ratio with them.
- Overwrite HTML size values with actual image dimensions on load.
- Collapse any frames with srcless images.

Comments:
dom/html/nsGenericHTMLElement.cpp:1483
layout/generic/nsImageFrame.cpp:289
2020-08-14 08:59:33 +08:00
Roy Tam
e682016889 Merge remote-tracking branch 'origin/master' into custom 2020-08-08 07:00:38 +08:00
Moonchild
26990a1d74 Pref and disable getRootNode()
This is apparently used for fallback selection and if available it is "assumed"
Shadow DOM is also available, while this is a utility function.

Webcompat is a nightmare sometimes.
2020-08-08 06:56:50 +08:00
Roy Tam
61e493cf30 Merge remote-tracking branch 'origin/master' into custom 2020-07-31 08:12:40 +08:00
Moonchild
b33e80b186 Issue #1391 - Remove the DOM battery API 2020-07-31 08:07:41 +08:00
Roy Tam
f35488b465 Merge remote-tracking branch 'origin/master' into custom 2020-07-25 06:31:41 +08:00
Moonchild
b36f73fc57 [css] Enable various arbitrarily-disabled CSS features in the platform.
These should all be spec-compliant and were (for release-trickling of features)
arbitrarily disabled by Mozilla at our fork point. There's no real reason to
keep them disabled since they are used in the wild.
2020-07-25 06:25:48 +08:00
Matt A. Tobin
ed0edf6a22 Issue #1611 - Enable WASM by default but only enable jit when 64bit 2020-07-25 06:25:44 +08:00
Roy Tam
0444ab984c Merge remote-tracking branch 'origin/master' into custom 2020-06-12 22:15:24 +08:00
Moonchild
1b3eeca9eb Issue #1587 - Part 10: Expose controlling pref and enable by default 2020-06-12 22:12:39 +08:00
Roy Tam
6ef287a52e Merge remote-tracking branch 'origin/master' into custom 2020-06-10 21:03:13 +08:00
Moonchild
7900742344 Issue #1585 - Replace node.rootNode with node.getRootNode()
This removes the (default disabled) node.rootNode readonly attribute
and replaces it with a node.getRootNode() function per WhatWG
spec discussion.
Based on work by John Dai <jdai@mozilla.com>
2020-06-10 21:00:36 +08:00
Lootyhoof
564f1026d5 Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK 2020-06-10 21:00:30 +08:00
Roy Tam
bd1e07b203 Merge remote-tracking branch 'origin/master' into custom 2020-05-09 07:01:19 +08:00
Moonchild
d62f0a0dd2 Issue #1517 - Remove dom.event.highrestimestamp.enabled pref
This resolves #1517
2020-05-09 06:55:11 +08:00
Roy Tam
924da4a2cc Merge remote-tracking branch 'origin/master' into custom 2020-04-18 07:25:50 +08:00
Matt A. Tobin
04a69cbc34 Issue #1375 - Merge CustomElements pref with Webcomponents Pref 2020-04-18 07:07:23 +08:00
wolfbeast
78a9717bc3 Issue #1517 - Enable high-resolution DOM timestamps on trunk
At the very least we should enable these short term, with the potential
removal of it pending.
2020-04-18 07:02:07 +08:00
Roy Tam
4ecaa49dd0 Merge remote-tracking branch 'origin/master' into custom 2020-04-03 09:57:28 +08:00
wolfbeast
ff8c58e8db Issue #1498 - Part 6: Remove STS preloadlist pref. 2020-04-03 09:22:00 +08:00
Roy Tam
55828393ce Merge remote-tracking branch 'origin/master' into custom 2020-02-27 07:37:41 +08:00