Commit Graph

748497 Commits

Author SHA1 Message Date
Peter Van der Beken
7b66dd701d Bug 1697900 - Remove unused XPCJSRuntime strings/ids. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D108094
2021-03-12 10:57:14 +00:00
Simon Giesecke
951cfd1012 Bug 1678374 - Fix includes in js/public. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D97615
2021-03-12 10:42:21 +00:00
Alexandru Michis
317bdfe06a Backed out changeset b63a8619b481 (bug 1685888) for causing crashtest assertion failures in 1507961-1.html
CLOSED TREE
2021-03-12 13:49:36 +02:00
Chris Martin
7aa22c0cc7 Bug 1689884 - Cache pointer information needed by media queries r=jld
Currently, every single usage of the @media (pointer) CSS query causes a
substantial amount of processing to figure out whether the device has a
pointer installed, and whether or not it's fine or coarse.

This value should probably just be cached after the first time it's called.
Furthermore, it probably shouldn't be called in content at all because it's a
win32k call.

This changes the variable to be both read in the parent process and cached
in the child.

Differential Revision: https://phabricator.services.mozilla.com/D105838
2021-03-11 17:07:42 +00:00
Chris Martin
cfef04f1a8 Bug 1689884 - Inform PresShell when tablet-mode changes occur r=emilio
Currently, PresShell is not informed when a system setting involving
Windows 10 Tablet Mode, System Dock Mode, or "Convertible Slate Mode" occur.

As this can change the result of @media (pointer) queries, layout should know
about this so it can react accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D107917
2021-03-11 17:07:42 +00:00
Tim Nguyen
64c00bef7b Bug 1697806 - De-duplicate colored extension SVG icons. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D108008
2021-03-12 10:06:18 +00:00
Paul Zuehlcke
d94f9c0a90 Bug 1695615 - Updated permission panel for double-keyed WebRTC permissions. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D107071
2021-03-12 10:06:16 +00:00
Paul Zuehlcke
f58f5ab06c Bug 1695615 - Removed obsolete per-frame permission tracking for geolocation and WebRTC permissions. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D107070
2021-03-12 10:06:16 +00:00
Paul Zuehlcke
08710869a7 Bug 1693621 - Tests for new SitePermissions expiry behavior. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106160
2021-03-12 10:06:15 +00:00
Paul Zuehlcke
5d2d56e536 Bug 1693621 - Only clear temporary block permissions on user reload. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106496
2021-03-12 10:06:15 +00:00
Paul Zuehlcke
c08d590590 Bug 1693621 - Added option to pass custom URI for setting temporary permissions. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106279
2021-03-12 10:06:15 +00:00
Paul Zuehlcke
9cbab0bd2f Bug 1693621 - Support custom expiry times for temporary SitePermissions. r=johannh
- Added a permission setter argument to pass custom expiry time.
- Refactored TemporaryPermissions to use timeouts instead of timestamps.
  This is needed, so we directly get a callback once a permission expires
  and can notify the UI.
  Previously we only knew if a permission expired if we called the getter.

Differential Revision: https://phabricator.services.mozilla.com/D105983
2021-03-12 10:06:14 +00:00
Paul Zuehlcke
9183571555 Bug 1693621 - Temporary ALLOW SitePermissions. r=johannh
This enables setting temporary permissions with state SitePermissions.ALLOW.
In order to safely support this it updates the temporary permission map
to key non-BLOCK permissions by URI prePath. BLOCK permissions are still
keyed by baseDomain to prevent DoS.

Differential Revision: https://phabricator.services.mozilla.com/D105982
2021-03-12 10:06:14 +00:00
Tim Nguyen
da94fac78a Bug 1697792 - Clean up info SVG icons in the codebase. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108001
2021-03-12 09:53:16 +00:00
Alexandru Michis
c3d50b35db Backed out changeset e072b56f8518 (bug 1696908) for causing bc failures in browser_bug1303838.js
CLOSED TREE
2021-03-12 12:00:52 +02:00
Brindusan Cristian
dda061ec1b Backed out changeset 4b9df199e40c (bug 1689599) for SM bustages. CLOSED TREE 2021-03-12 11:52:37 +02:00
Simon Giesecke
7d2448b7d5 Bug 1641178 - Add NSSCipherStrategy. r=dom-workers-and-storage-reviewers,jcj,janv
Differential Revision: https://phabricator.services.mozilla.com/D73290
2021-03-12 09:31:57 +00:00
Xidorn Quan
3c6c9eeffc Bug 1697529 - Implement visibility: collapse support for ruby text. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D107990
2021-03-12 09:28:00 +00:00
Zibi Braniecki
cee32e6733 Bug 1696546 - Don't show border-top-style over active tab in Proton. r=jaws
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D107540
2021-03-09 19:13:09 +00:00
Tim Huang
65d3f48ccc Bug 1687283 - Part 3: Add a test case for testing the redirect heuristic. r=dimi
This patch adds the test case for testing the ETP redirect heuristic.

Differential Revision: https://phabricator.services.mozilla.com/D107049
2021-03-12 08:45:30 +00:00
Tim Huang
bd22838f55 Bug 1687283 - Part 2: Modify the AntiTrackingRedirectHeuristic. r=dimi
This patch separetes the original AntiTrackingRedirectHeuristic into two
phases. The first phase will be called when we know the redirect is
about to happen. It will check necessary informance to see if we need to
process the heuristic after the classifier flag is ready for the new
channel. The second phase will be called when the classifier flag is
ready for the new channel to really save the storage access permission
for the redirect.

Differential Revision: https://phabricator.services.mozilla.com/D107048
2021-03-12 08:45:29 +00:00
Tim Huang
a39ff4c926 Bug 1687283 - Part 1: Add a flag 'needForCheckingAntiTrackingHeuristic' in loadInfo. r=kershaw,necko-reviewers
This patch adds a flag 'needForCheckingAntiTrackingHeuristic' in
loadInfo. This flag will be used for deciding if we need to check the
AntiTracking heuristic after the channel has been classified.

Differential Revision: https://phabricator.services.mozilla.com/D107047
2021-03-12 08:45:29 +00:00
Christian Holler
22238e7448 Bug 1689599 - Add Fuzzilli support code to the JS shell. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D103468
2021-03-12 08:32:02 +00:00
Alexandru Michis
9331275824 Bug 1697354 - Disable browser_target_list_frames.js on win10 fission for causing permafailures. a=disable
CLOSED TREE
2021-03-12 11:14:27 +02:00
Alexandru Michis
16809e3387 Backed out 2 changesets (bug 1689884) for causing xpcshell assertion failures in ServiceWorkerManager.cpp (Bug 1697972).
CLOSED TREE

Backed out changeset 64b2735a8fe6 (bug 1689884)
Backed out changeset 416c387ad136 (bug 1689884)
2021-03-12 11:08:15 +02:00
Simon Giesecke
415fa258ea Bug 1662652 - New non-standard move checker. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D60955
2021-03-12 08:15:32 +00:00
Mark Banner
4ff57573b9 Bug 1697685 - Turn off search suggestions for browser_searchbar_context.js so that the test doesn't hit the network. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D107993
2021-03-12 08:12:11 +00:00
Henri Sivonen
58b09235a5 Bug 1696908 - Ensure parent-managed order of setting the focused browsing context. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D98134
2021-03-12 07:45:36 +00:00
Markus Stange
4590afee0d Bug 1697350 - Simplify focus ring drawing code for search fields. r=mac-reviewers,haik
We use these searchfields in the bookmarks sidebar, and in the toolbar in the
bookmarks library window.

The old code was a workaround for missing focus rings.
It turns out that NSTextFieldCell only draws focus rings if the object passed
to inView: is an NSControl. So if we make CellDrawView inherit from NSControl,
we get the focus ring.

Depends on D107907

Differential Revision: https://phabricator.services.mozilla.com/D107961
2021-03-12 07:19:10 +00:00
Steve Fink
6e36aed705 Bug 1692308 - Add an initial delay to IdleTaskRunner r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D107504
2021-03-12 06:55:46 +00:00
Marcos Cáceres
64499177a9 Bug 1407167 - Make ARIA in HTML mapping case insensitive r=Jamie
I removed the functor and used a lambda instead.

To the tests, I added a "_mixed" case version of each role, to make sure they are all thoroughly tested.

Differential Revision: https://phabricator.services.mozilla.com/D108139
2021-03-12 05:55:17 +00:00
Alexandru Michis
09aaa7cff9 Backed out changeset 6ffdccffb2d5 (bug 1697315) for causing bc failures in browser_preferences_usage.js
CLOSED TREE
2021-03-12 08:13:05 +02:00
Nick Alexander
1ea5f174c2 Bug 1694515 - Part 3: Add BackgroundTasksUtils method for reading Telemetry client ID. r=bytesized,chutten
This will be used from the `backgroundupdate` task to fish the default
profile's Telemetry client ID in order to correlate the task's Glean
ping with regular main pings.

Differential Revision: https://phabricator.services.mozilla.com/D107712
2021-03-12 04:08:42 +00:00
Nick Alexander
d60f45d4c0 Bug 1694515 - Part 2: Add BackgroundTasksUtils module for locking profiles and reading prefs. r=bytesized,mossop
Differential Revision: https://phabricator.services.mozilla.com/D107711
2021-03-12 04:08:42 +00:00
Nick Alexander
0b77649773 Bug 1694515 - Part 1: Allow to parse prefs from data. r=KrisWright
This provides a simple API for parsing prefs from given bytes.  It's
important to not encode bytes as strings, since `libpref` is the
source of truth handling character encodings.  In particular, prefs
files are not necessarily UTF-8.

This API allows to read `prefs.js` from another profile directory, for
example.

Differential Revision: https://phabricator.services.mozilla.com/D107710
2021-03-12 04:08:41 +00:00
Nick Alexander
d785d99117 Bug 1694515 - Pre: Extract setupProfileService test helper. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D107743
2021-03-12 04:08:41 +00:00
Ted Campbell
6c839fd5f1 Bug 1697984 - Reserve inline space in CompilationGCOutput vectors. r=arai
Similar to what we do for CompilationStencil we should reserve a modest
amount of inline capacity to cover the bulk of delazifications.

Differential Revision: https://phabricator.services.mozilla.com/D108140
2021-03-12 03:54:01 +00:00
Brendan Dahl
efbd3f0442 Bug 1689264 - Extend pdf.js telemetry probes. r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D107874
2021-03-12 03:16:23 +00:00
Tim Nguyen
9904b18f95 Bug 1697623 - Improve proton compact density - round 2. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D107924
2021-03-12 03:15:12 +00:00
Timothy Nikkel
957d767576 Bug 1696802. Add test. r=botond,mstange
Creating an event with type NSEventTypeSmartMagnify does not work with either NSEvent mouseEventWithType or NSEvent otherEventWithType (they both hit an assert in the appkit code). So the best we can do is call the same function.

Differential Revision: https://phabricator.services.mozilla.com/D107792
2021-03-12 02:10:43 +00:00
Timothy Nikkel
7d1fc30871 Bug 1696802. Add code to support double tap to zoom on mac. r=botond,mstange
We already have a pref for double tap to zoom with is already enabled by default so it's kind of awkward to add another pref.

Differential Revision: https://phabricator.services.mozilla.com/D107389
2021-03-12 02:10:36 +00:00
Markus Stange
90b104e8ca Bug 1697969 - Use nsCocoaUtils::GetEventTimeStamp for wheel event timestamps. r=tnikkel
Depends on D108137

Differential Revision: https://phabricator.services.mozilla.com/D108138
2021-03-12 01:46:25 +00:00
Markus Stange
c492589050 Bug 1697964 - Remove nsCocoaUtils::GetScrollingDeltas and HasPreciseScrollingDeltas. r=mac-reviewers,tnikkel
This code has been unnecessary since we dropped suppor tfor 10.6 in Firefox 49.

Depends on D108136

Differential Revision: https://phabricator.services.mozilla.com/D108137
2021-03-12 01:46:24 +00:00
Markus Stange
e0ecba97e2 Bug 1697964 - Remove nsCocoaUtils::EventPhase and EventMomentumPhase. r=mac-reviewers,tnikkel
This has been unnecessary ever since we dropped support for 10.6 in Firefox 49.

Depends on D108135

Differential Revision: https://phabricator.services.mozilla.com/D108136
2021-03-12 01:46:24 +00:00
Markus Stange
a25fa13fd4 Bug 1697964 - Remove GetQuarantinePropKey(). r=mac-reviewers,tnikkel
GetQuarantinePropKey() used to contain a version check for pre-10.10, which
was removed in bug 1673051.

Depends on D108134

Differential Revision: https://phabricator.services.mozilla.com/D108135
2021-03-12 01:46:24 +00:00
Markus Stange
4959b893e1 Bug 1697964 - Remove respondsToSelector checks that always return true on 10.12+. r=mac-reviewers,tnikkel
Depends on D108133

Differential Revision: https://phabricator.services.mozilla.com/D108134
2021-03-12 01:46:23 +00:00
Markus Stange
a7c2dfee38 Bug 1697964 - Remove unnecessary cast. r=mac-reviewers,tnikkel
Before we required the 10.12 SDK for compilation, this cast was needed because
we were declaring the enum value outside of the enum type:
https://searchfox.org/mozilla-central/rev/ca910762568921c0faa34838d6a4efac2471dff1/widget/cocoa/VibrancyManager.mm#15-16

Differential Revision: https://phabricator.services.mozilla.com/D108133
2021-03-12 01:46:23 +00:00
Paul Bone
55cd14a12d Bug 1691135 - pt 2. Don't cancel a reload if the listener threw an exception r=nika
Differential Revision: https://phabricator.services.mozilla.com/D107803
2021-03-12 01:16:15 +00:00
Paul Bone
06cff45ef1 Bug 1691135 - pt 1. SHistoryListeners track browser ID as it is constant r=nika
Differential Revision: https://phabricator.services.mozilla.com/D106841
2021-03-12 01:16:15 +00:00
nsmoker
cde464b48d Bug 1614850 - Fixed a crash when enabling layers.progressive_paint on desktop and sandboxed platforms. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D107943
2021-03-12 00:32:01 +00:00