James Teh
b9c9fe8007
Bug 1703600 part 2: Add GetMarkupMapInfoForNode and use it wherever we aren't explicitly dealing with a specific type of element. r=eeejay
...
For now, this just uses mHTMlMarkupMap, but it might choose the MathML map in future.
In some places, we're already inside a block which explicitly checks IsHTMlElement.
In those cases, we still use mHTMlMarkupMap directly, since using GetMarkupMapInfoForNode would redundantly check the element type.
Differential Revision: https://phabricator.services.mozilla.com/D111362
2021-04-14 04:11:17 +00:00
James Teh
0e15fa6e17
Bug 1703600 part 1: Rename HTMLMarkupMapInfo to MarkupMapInfo. r=eeejay
...
We will soon have multiple markup maps using this type.
Differential Revision: https://phabricator.services.mozilla.com/D111361
2021-04-14 04:11:17 +00:00
Brad Werth
a44631d43e
Bug 1675375 Part 7: Update expectations in helper_hittest_clippath.html. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D111217
2021-04-14 03:17:42 +00:00
Brad Werth
42ff614cbd
Bug 1675375 Part 6: Break test_group_hittest.html into parts. r=botond
...
This test fails in automation, but those failures are difficult to reproduce
in local builds. When attempting to reproduce locally, the whole test sometimes
times out. Isolating specific subtests seems to affect the test outcomes as
well. Splitting the test into pieces seems to be the best way to make failures
in this test more actionable.
Differential Revision: https://phabricator.services.mozilla.com/D111167
2021-04-14 03:17:42 +00:00
Brad Werth
1c0f783fc7
Bug 1675375 Part 5: Add a polygon clip test for Fission WebRender. r=gw
...
This test was originally written by Kats, but I can't figure out how to
preserve authorship.
Differential Revision: https://phabricator.services.mozilla.com/D109947
2021-04-14 03:17:41 +00:00
Brad Werth
83f50210a8
Bug 1675375 Part 4: Perform the polygon hit test in WebRender, and add unit tests. r=gw
...
This performs a winding number calculation on the polygon and matches the
result against the fill rule of the supplied polygon.
Differential Revision: https://phabricator.services.mozilla.com/D109946
2021-04-14 03:17:41 +00:00
Brad Werth
e7629ab8c9
Bug 1675375 Part 3: Stub in polygon clipping in WebRender. r=gw
...
This defines a PolygonKey and includes it in ClipItemKind::ImageMask. The
actual process of clipping is just a stub.
Differential Revision: https://phabricator.services.mozilla.com/D105548
2021-04-14 03:17:40 +00:00
Brad Werth
fc138c46c1
Bug 1675375 Part 2: Add a polygon clips to image masks. r=gw
...
This patch augments the pushing of an image mask to allow a polygon clip
region to be attached to it.
Differential Revision: https://phabricator.services.mozilla.com/D105397
2021-04-14 03:17:40 +00:00
Brad Werth
8d29aa900e
Bug 1675375 Part 1: Define WebRender structures for polygons. r=gw
...
This patch defines a SetPoints DisplayItem for providing polygon mask points
associated with a ImageMaskClipDisplayItem. It also defines a WR enum for the
polygon fill rule. The method to provide these values to WR is mere scaffolding
until later patches in this series.
Differential Revision: https://phabricator.services.mozilla.com/D105396
2021-04-14 03:17:39 +00:00
Haik Aftandilian
63894b2c9e
Bug 1704950 - Make more tests in browser/components/places/tests/browser work with native context menus r=mac-reviewers,bradwerth,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D111949
2021-04-14 02:57:17 +00:00
Ed Lee
10c2913934
Bug 1704571 - Graduate new user onboarding to the main proton pref r=pdahiya
...
Replace browser.aboutwelcome.design usage with browser.proton.enabled and update experiment manifest to expose isProton instead of design.
Differential Revision: https://phabricator.services.mozilla.com/D111938
2021-04-14 02:14:20 +00:00
Stephen A Pohl
149b53cc35
Bug 1704971: Stop synthesizing clicks on context menus in browser_940307_panel_click_closure_handling.js to make it pass with native context menus on macOS. r=mac-reviewers,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D111983
2021-04-14 02:06:21 +00:00
Stephen A Pohl
31f40f54ee
Bug 1704890: Make browser referrer tests use openMenu(true) instead of openPopup to support native context menus on macOS. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D111910
2021-04-14 01:51:30 +00:00
Stephen A Pohl
ce8efff477
Bug 1704894: Use openMenu(true) instead of openPopup in sync contextmenu test to support native context menus on macOS. r=mac-reviewers,haik
...
Differential Revision: https://phabricator.services.mozilla.com/D111913
2021-04-14 01:51:09 +00:00
Stephen A Pohl
19ac9116c7
Bug 1704907: Start using activateItem instead of synthesized mouse events in browser_audioTabIcon.js to make this test pass on macOS with native context menus. r=mac-reviewers,bradwerth
...
Differential Revision: https://phabricator.services.mozilla.com/D111918
2021-04-14 01:50:59 +00:00
Brindusan Cristian
ff43dd2c1b
Backed out changeset f4471f33a2c5 (bug 1704079) for xpcshell failures in test_http3_trans_close.js. CLOSED TREE
2021-04-14 04:50:50 +03:00
Brendan Dahl
b19a3f2246
Bug 1704661 - Update pdf.js to version 2.9.44 r=calixte
...
Differential Revision: https://phabricator.services.mozilla.com/D111747
2021-04-14 01:38:01 +00:00
Brendan Dahl
f6d17a387d
Bug 1704661 - Fix browser_parsable_css for latest pdf.js update. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D111952
2021-04-14 01:38:01 +00:00
Dylan Roeh
8b312dabda
Bug 1700750 - Added setCookieBehaviorPrivateMode to ContentBlocking.Settings r=esawin,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D110940
2021-04-14 01:29:17 +00:00
Jeff Muizelaar
5f53667340
Bug 1704407 - Use a CLU helper like the original C++ code. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D111572
2021-04-14 01:09:37 +00:00
Glenn Watson
111df5d476
Bug 1704951 - Add SubSliceIndex and allow batch filtering with it r=gfx-reviewers,lsalzman
...
Add a struct for identifying which sub-slice a primitive exists on,
and allow filtering of batches by this field.
Since we only ever create a single sub-slice, this change has no
effect yet, until follow up patches that enable multiple sub-slices.
Differential Revision: https://phabricator.services.mozilla.com/D111959
2021-04-14 01:04:25 +00:00
Markus Stange
bb6da3ed7b
Bug 1704885 - Use openMenu(true) and activateItem in browser/components/originattributes/test/browser/browser_firstPartyIsolation_saveAs.js. r=mac-reviewers,bradwerth
...
Differential Revision: https://phabricator.services.mozilla.com/D111907
2021-04-14 00:18:45 +00:00
Markus Stange
38c95685b1
Bug 1703482 - Workaround: Set aria-hidden="true" while a popup is open as a native context menu. r=morgan
...
This is a lower risk alternative to the approach in bug 1703899 and can be
removed once bug 1703899 is fixed.
Differential Revision: https://phabricator.services.mozilla.com/D111914
2021-04-14 00:18:25 +00:00
Mike Conley
ab11a63a7b
Bug 1702690 - Update some non-default toolbar button icons. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D111861
2021-04-14 00:06:10 +00:00
Andrew Osmond
2bfdd5faff
Bug 1704954 - Ship WebRender without DirectComposition to NVIDIA high/mixed refresh rate monitor users. r=gfx-reviewers,jrmuizel
...
This patch leaves DirectComposition turned on by default on nightly but
disables DirectComposition on beta/release due to known rendering
artifact issues.
Differential Revision: https://phabricator.services.mozilla.com/D111965
2021-04-14 00:00:15 +00:00
Andrew Osmond
8f86a50a6e
Bug 1702302 - Ship Software WebRender on Linux to all users with small/medium screens. r=gfx-reviewers,jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D111964
2021-04-14 00:00:02 +00:00
Andrew Osmond
2112831ac9
Bug 1702301 - Ship WebRender on Linux to all desktop environments and NVIDIA users. r=gfx-reviewers,jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D111963
2021-04-13 23:59:42 +00:00
Andrew Osmond
b5418d7567
Bug 1702303 - Ship Software WebRender to non-D3D11, GPU process, small/medium screen users. r=gfx-reviewers,jrmuizel
...
This also lifts the 32-bit process restriction.
Differential Revision: https://phabricator.services.mozilla.com/D111962
2021-04-13 23:59:12 +00:00
Andrew Osmond
cb0f2694b3
Bug 1704927 - Allow Software WebRender for all popups on early beta and Fission users. r=gfx-reviewers,jrmuizel
...
This patch turns on Software WebRender for all widgets that don't get
acceleration by default on nightly and early beta, as well as for users
who are put into the Fission experiment. It also cleans up our prefs to
simply enable it for all popups, and not just those affected by Fission.
Differential Revision: https://phabricator.services.mozilla.com/D111958
2021-04-13 23:58:49 +00:00
Punam Dahiya
26f5a10a63
Bug 1703726 - Proton new user onboarding in RTL mode r=emcminn
...
Differential Revision: https://phabricator.services.mozilla.com/D111788
2021-04-13 23:56:34 +00:00
Glenn Watson
025b992762
Bug 1704944 - Add SubSlice struct to picture cache instances. r=gfx-reviewers,lsalzman
...
This patch adds the `SubSlice` structure as a container of both
a tile grid and native surface within a picture cache instance.
There are no functional changes in this patch - it just adds the
new structure, and only ever creates a single sub-slice, which
all primitives are added to. The intent is to make follow up patches
easier to review, by introducing this non-functional change which
causes a lot of indentation changes in the diff.
In future, multiple sub-slices will be created for picture caches
that contain compositor surfaces.
Differential Revision: https://phabricator.services.mozilla.com/D111942
2021-04-14 00:51:46 +00:00
Haik Aftandilian
61dfe7e931
Bug 1704936 - Make browser/components/places/tests/browser/browser_bookmarks_toolbar_telemetry.js work with native context menus r=mac-reviewers,bradwerth
...
Differential Revision: https://phabricator.services.mozilla.com/D111937
2021-04-13 23:13:43 +00:00
Kagami Sascha Rosylight
84d84038b4
Bug 1623717 - Make sure selection offset remains within inline editing host r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D107120
2021-04-13 23:02:41 +00:00
Nihanth Subramanya
bd04f8f2e7
Bug 1704079 - Set negotiated NPN in Http3Session::SetSecInfo. r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D111405
2021-04-13 22:59:56 +00:00
Mike Conley
4672f874be
Bug 1701920 - Assign the same font size multiplier that we use on the URL bar to all panels and subdialogs when Proton is enabled. r=Gijs
...
This also makes it so that padding in the panels and subdialogs uses em units.
Differential Revision: https://phabricator.services.mozilla.com/D111451
2021-04-13 22:53:34 +00:00
Daniel Holbert
52208dc702
Bug 1703735: Adjust test_context_properties_allowed_domains.html to wait for two rAFs (i.e. at least one paint) before taking screenshot of iframe. r=emilio
...
Previously this test was waiting for the iframe's load event; now it will wait
for one additional paint (two rAF ticks).
This should hopefully allow the iframe enough time to paint after its load
event has fired, so that we can usefully snapshot it.
Differential Revision: https://phabricator.services.mozilla.com/D111940
2021-04-13 22:45:37 +00:00
Itiel
9ab9a29d98
Bug 1703807 - Adjust non-native checkboxes and menulists focus ring for Proton r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D111559
2021-04-13 22:44:00 +00:00
Mike Conley
66625afe58
Bug 1704045 - Clamp FxA panel width to match the AppMenu width. r=emalysz
...
Differential Revision: https://phabricator.services.mozilla.com/D111905
2021-04-13 22:41:00 +00:00
Harry Twyford
edafb679ab
Bug 1704925 - Stop synthesizing context menu events in search mochitests. r=adw
...
I'm adding #mac-reviewers for visibility on the workarounds used in this patch.
Differential Revision: https://phabricator.services.mozilla.com/D111929
2021-04-13 22:36:04 +00:00
Alexandru Michis
2408151c29
Backed out 2 changesets (bug 1698595) for causing android bustages.
...
CLOSED TREE
Backed out changeset 7499c42b9196 (bug 1698595)
Backed out changeset 063efdbdbb14 (bug 1698595)
2021-04-14 03:30:52 +03:00
Edgar Chen
8031c3a6ce
Bug 1684842 - Enable implicit pointer capture for touch on early Beta; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D111745
2021-04-13 22:10:19 +00:00
Marco Bonardo
7e1d80787a
Bug 1698595 - Link SQLite and Math. r=asuth
...
Linux Gcc requires -lm to properly link the math library.
Differential Revision: https://phabricator.services.mozilla.com/D111921
2021-04-13 21:56:38 +00:00
Garima
b39729e5c0
Bug 1698595 - Remove Places-only sqrt SQL function and use the official SQLite one. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D111466
2021-04-13 21:56:37 +00:00
Mike Conley
9935ec3d81
Bug 1702958 - Update info icon in infobars. r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D111842
2021-04-13 21:41:17 +00:00
Michelle
1d145db574
Bug 1704006 - Removed expired telemetry probe preferences.use_bookmark from Scalar.yaml and home.js r=preferences-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D111738
2021-04-13 21:27:59 +00:00
Harry Twyford
cb81c0d61e
Bug 1704900 - Stop synthesizing context menu events in urlbar mochitests. r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D111912
2021-04-13 21:23:12 +00:00
Itiel
6bf778e092
Bug 1700941 - Don't overlap long text with the arrow icon in the username field, in the password panel r=emalysz
...
This also covers the case where the user may change text direction in the input.
Differential Revision: https://phabricator.services.mozilla.com/D111311
2021-04-13 21:18:44 +00:00
Caroline Cullen
1141f46c30
Bug 1704499 - Fix links for how to run tests. r=mgaudet DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D111859
2021-04-13 21:09:45 +00:00
Brindusan Cristian
afd5b89ec7
Backed out changeset b5032f19ec34 (bug 1703941) for causing bc failures in browser_highlights_section.js. CLOSED TREE
2021-04-14 03:02:46 +03:00
Haik Aftandilian
4b902c2804
Bug 1704904 - Make browser/components/places/tests/browser/browser_bookmarks_change_title.js work with native context menus r=mac-reviewers,bradwerth
...
Differential Revision: https://phabricator.services.mozilla.com/D111916
2021-04-13 21:04:38 +00:00