Commit Graph

750549 Commits

Author SHA1 Message Date
Lee Salzman
4bd68ce06a Bug 1698156 - Set up SWGLPP env target with null CFLAGS and CXXFLAGS. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D109525
2021-03-25 04:54:16 +00:00
Punam Dahiya
bb37e6fe8b Bug 1698202 - Add AboutWelcome Proton default rule r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D109266
2021-03-25 04:15:32 +00:00
Botond Ballo
306c83cbc9 Bug 1700251 - Move the code to set the LayersId on the event into InputHandlingResult::Finish(). r=tnikkel
This allows that code (and in the future, other code that needs
to run for every input type) to be in just one place.

Depends on D109460

Differential Revision: https://phabricator.services.mozilla.com/D109461
2021-03-25 03:41:01 +00:00
Botond Ballo
5ff95760dc Bug 1700251 - Move the HitTestResult into the InputHandlingState. r=tnikkel
Depends on D109459

Differential Revision: https://phabricator.services.mozilla.com/D109460
2021-03-25 03:41:01 +00:00
Botond Ballo
8afb24e3fb Bug 1700251 - Factor out a HitTestResult::CopyWithoutScrollbarNode() helper. r=tnikkel
Depends on D109458

Differential Revision: https://phabricator.services.mozilla.com/D109459
2021-03-25 03:41:00 +00:00
Botond Ballo
16fade4fa5 Bug 1700251 - Inline the local hitResult variable in ReceiveInputEvent(). r=tnikkel
Depends on D109457

Differential Revision: https://phabricator.services.mozilla.com/D109458
2021-03-25 03:41:00 +00:00
Botond Ballo
3831d01bb8 Bug 1700251 - Introduce InputHandlingState. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D109457
2021-03-25 03:40:59 +00:00
Alexandru Michis
75057cbe4c Backed out changeset b4c24acb1025 (bug 1700717) for causing wrench bustages.
CLOSED TREE
2021-03-25 05:39:32 +02:00
Jeff Muizelaar
593097f5a2 Bug 1700717 - Build SWGL with -ffast-math. r=lsalzman
Most GLSL compilers will do the kinds of optimizations that
fast-math allows so we should take advantage of them too.

Differential Revision: https://phabricator.services.mozilla.com/D109657
2021-03-25 03:08:36 +00:00
Markus Stange
b7f729bf73 Bug 1700706 - Clear active and capturing content before opening native menus. r=tnikkel
This is copied from the nsMenuPopupFrame::ShowPopup just a few lines below.
The native menu consumes mouseup events so we need to clear :active and capturing content just before opening the menu.

Differential Revision: https://phabricator.services.mozilla.com/D109672
2021-03-24 23:51:05 +00:00
sotaro
502d8c18c3 Bug 1700532 - Block fallback from RenderCompositorOGLSWGL to RenderCompositorSWGL in RenderCompositor::Create() r=nical
On Android, we do not want to fallback from RenderCompositorOGLSWGL to RenderCompositorSWGL.

Differential Revision: https://phabricator.services.mozilla.com/D109573
2021-03-24 23:49:36 +00:00
sotaro
ce45a5f8b7 Bug 1700538 - Add error log to RenderCompositorLayersSWGL::MapTile() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D109576
2021-03-24 23:49:08 +00:00
Emilio Cobos Álvarez
2ed15e6702 Bug 1699088 - Fix a test that wasn't waiting for pref changes to actually apply.
MANUAL PUSH: orange CLOSED TREE
2021-03-25 01:10:40 +01:00
Emilio Cobos Álvarez
a7f14f1da3 Bug 1700640 - Annotate an extra reftest pass.
MANUAL PUSH: new passes CLOSED TREE
2021-03-25 00:54:57 +01:00
Adam Gashlin
de0d973173 Bug 1696276 - Don't display UAC prompt or progress UI from a background task. r=application-update-reviewers,nalexander
If a prompt would be required to elevate, set an error update status, which
will be reset by the update service.

Also fix restarting from a background task: keep the --backgroundtask arg
until it can be saved in gRestartArgv.

Differential Revision: https://phabricator.services.mozilla.com/D108899
2021-03-24 23:24:34 +00:00
Marco Bonardo
c304d1cd46 Bug 1691454 - Hide the Page actions overflow (meatball) menu from the address bar. r=adw
The page actions menu is normally hidden.
When the window is smaller than a threshold, and there's more than one action,
the single actions are hidden while the menu is shown. This allows for a nicer
overflow experience.

This patch introduces a pageActions-proton test folder where we'll move proton
tests temporarily. The head.js file is just a copy of the original one, we'll
clean it up in bug 1700582 after porting the other tests.

Differential Revision: https://phabricator.services.mozilla.com/D109606
2021-03-24 23:19:14 +00:00
Asumu Takikawa
0326b528a5 Bug 1700602 - fix compile errors when Wasm exceptions are off r=rhunt
Fixes compile errors for recent Wasm exception handling changes when the feature's
compilation flag is turned off.

Differential Revision: https://phabricator.services.mozilla.com/D109652
2021-03-24 23:09:35 +00:00
Emilio Cobos Álvarez
f91affad79 Bug 1699088 - Use a single system font definition rather than two. r=cmartin
Follow the pattern we use for system colors.

Differential Revision: https://phabricator.services.mozilla.com/D108822
2021-03-24 22:57:37 +00:00
Emilio Cobos Álvarez
73ff1d89ad Bug 1699088 - Cache fonts / floats / ints in nsXPLookAndFeel. r=cmartin
And make FontID's indexing setup more similar to FloatID / IntID / ColorID. The
values no longer need to match the style constants since Stylo. We could also
cache whether the lookup succeeded for floats / ints, but it might not be worth
it, your call though.

Differential Revision: https://phabricator.services.mozilla.com/D108765
2021-03-24 22:57:36 +00:00
Brindusan Cristian
1e204d2ddd Backed out changeset 59459024d4ae (bug 1698202) for causing bc failures in browser_aboutwelcome_multistage.js. CLOSED TREE 2021-03-25 00:48:53 +02:00
Brindusan Cristian
53931c7cda Backed out 2 changesets (bug 1596165) for bc failures in browser_bookmarkProperties_folderSelection.js and browser_doorhanger_submit_telemetry.js. CLOSED TREE
Backed out changeset 4eccbb3d6549 (bug 1596165)
Backed out changeset 7d8fb53c8fcb (bug 1596165)
2021-03-25 00:48:01 +02:00
Emilio Cobos Álvarez
7f5364389c Bug 1700640 - Map width and height to aspect-ratio in <canvas>, <input type=image>, and <video>. r=boris
As per https://html.spec.whatwg.org/#attributes-for-embedded-content-and-images:

> The width and height attributes map to the aspect-ratio property on
> img, canvas, and video elements, and input elements with a type
> attribute in the Image Button state.

See https://github.com/whatwg/html/issues/6527 for the parsing issue
with canvas and zero. For now allow both behaviors in the tests.

We also remove the width-and-height-map-to-aspect-ratio pref, as it is
true everywhere and has been for a while.

Differential Revision: https://phabricator.services.mozilla.com/D109618
2021-03-24 22:18:55 +00:00
Punam Dahiya
c961ad004f Bug 1698202 - Add AboutWelcome Proton default rule r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D109266
2021-03-24 21:59:41 +00:00
Itiel
82ca8369f8 Bug 1700655 - Contain the menuitems buttons' outline inside the about:logins menu r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D109670
2021-03-24 21:54:31 +00:00
Agi Sferro
585952f6de Bug 1567341 - Disable failing tests in extensions/test/xpcshell. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D109557
2021-03-24 21:49:42 +00:00
Agi Sferro
f624964341 Bug 1567341 - Disable failing tests in netwerk/test/unit. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D109556
2021-03-24 21:49:42 +00:00
Agi Sferro
9b8c61f3ff Bug 1567341 - Use UUID IDs for isolated processes. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D109561
2021-03-24 21:49:41 +00:00
Agi Sferro
2f2ff0fda4 Bug 1567341 - Unbind with a busy connection before trying a new one. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D109560
2021-03-24 21:49:41 +00:00
Agi Sferro
1e86fa929b Bug 1567341 - Generate content process ID randomly. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D109559
2021-03-24 21:49:40 +00:00
Agi Sferro
11764ebeee Bug 1567341 - Fix typo in removeContentConnection. r=aklotz
The code as written does not remove the connection from both
mContentConnections and mNonStartedContentConnections since && short circuits.

Since the connection is always present in mContentConnections, we just check
that.

Differential Revision: https://phabricator.services.mozilla.com/D109443
2021-03-24 21:49:40 +00:00
Agi Sferro
e6082b32a6 Bug 1567341 - Kill child process when Gecko exits. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D109442
2021-03-24 21:49:40 +00:00
Agi Sferro
c768fc8ee8 Bug 1567341 - Re-enable antitracking xpcshell. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D108122
2021-03-24 21:49:39 +00:00
Agi Sferro
d5d1cea3af Bug 1567341 - Re enable netwerk/test/unit_ipc/xpcshell.ini on Android. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D106214
2021-03-24 21:49:39 +00:00
Agi Sferro
3120e2e816 Bug 1567341 - Run xpcshell-test in a service on Android. r=firefox-build-system-reviewers,mhentges
This is done so that xpcshell-test runs with a Dalvik VM and has access to all
the java-implemented bits of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D106213
2021-03-24 21:49:39 +00:00
Agi Sferro
c056964bc7 Bug 1567341 - Add XpcshellTestRunnerService. r=owlish
This service, based off of TestRunnerActivity, can be used to run an
xpcshell-test instance.

It supports up to 10 concurrent instances, although we can add more if we need
to.

Local testing indicates that with more than 4 concurrent instances there's not
gain in test running performance.

This also adds a new intent action
|org.mozilla.geckoview.test.XPCSHELL_TEST_MAIN| that can be used by the test
harness to start the main application and gain foreground priority without
starting Gecko (which would interfere with the xpcshell runner services).

Differential Revision: https://phabricator.services.mozilla.com/D106212
2021-03-24 21:49:38 +00:00
Agi Sferro
34624a6abf Bug 1567341 - Allow geckoview.test to run xpcshell. r=esawin
This commit adds a new command line option |-xpcshell| that, when passed, will
run an xpcshell instead of launching a full Gecko instance.

This command line option is restricted to org.mozilla.geckoview.test for now,
as it's really hard to use and not really a usecase outside mozilla. We can
revisit this if there's interest.

Differential Revision: https://phabricator.services.mozilla.com/D106211
2021-03-24 21:49:38 +00:00
Agi Sferro
bc9ab239dc Bug 1567341 - Add --no-install to xpcshell-test for Android. r=firefox-build-system-reviewers,nalexander
This is consistent to geckoview-junit and mochitest.

Differential Revision: https://phabricator.services.mozilla.com/D106210
2021-03-24 21:49:37 +00:00
Agi Sferro
2f4fe0da3f Bug 1567341 - Don't listen to xpcom-shutdown twice in nsAppShell. r=esawin
nsBaseAppShell already listens to xpcom-shutdown and calls |Exit| when it
receives it so we don't need to also listen for it in nsAppShell (which causes
two calls to xpcom-shutdown instead of one).

Differential Revision: https://phabricator.services.mozilla.com/D106209
2021-03-24 21:49:37 +00:00
Agi Sferro
122215de9e Bug 1567341 - Send arguments using array instead of one string in adb.py. r=firefox-build-system-reviewers,mhentges,owlish
Sending arguments in one string breaks arguments that contain a space, e.g. in
xpcshell-test.

Differential Revision: https://phabricator.services.mozilla.com/D106208
2021-03-24 21:49:37 +00:00
Agi Sferro
92b119c179 Bug 1567341 - Add _TEST_CWD to xpcshell's head.js file. r=jmaher
This variable can be used by platforms to modify the current directory, useful
on Android as the process where the xpcshell test runs does not really have the
concept of CWD.

Differential Revision: https://phabricator.services.mozilla.com/D106207
2021-03-24 21:49:36 +00:00
Agi Sferro
1a5219c2fd Bug 1567341 - Add launch_service to adb.py. r=firefox-build-system-reviewers,gbrown,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D106206
2021-03-24 21:49:36 +00:00
Agi Sferro
888d230519 Bug 1567341 - Initialize GeckoViewWebExtensions when getting extension-installed. r=esawin
When getting the *-extension-installed messages we should always notify
GeckoViewWebExtension.

This currently works because we always install the test support extension which
causes us to initialize GeckoViewWebExtension. On xpcshel tests, however, there
is no support extension so we need to account for that in GeckoViewStartup.

Differential Revision: https://phabricator.services.mozilla.com/D106319
2021-03-24 21:49:36 +00:00
Agi Sferro
04b86a5bf7 Bug 1567341 - Wait for the AddonManager to start up in GeckoViewWebExtension. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D106205
2021-03-24 21:49:35 +00:00
Agi Sferro
32e27b2a7c Bug 1567341 - Release EventDispatcher listeners on xpcom-shutdown. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D106204
2021-03-24 21:49:35 +00:00
Agi Sferro
abb7600c37 Bug 1567341 - Remove unused serviceManager argument. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D106203
2021-03-24 21:49:34 +00:00
Agi Sferro
1f3a058709 Bug 1567341 - Properly initialize GeckoView in xpcshell-test. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D106202
2021-03-24 21:49:34 +00:00
Agi Sferro
66b035f4a2 Bug 1567341 - Add outFile, errFile parameters to XREShellData. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D106201
2021-03-24 21:49:34 +00:00
Agi Sferro
a208f94178 Bug 1567341 - Initialize SafeBrowsing in geckoview.js. r=esawin
We don't need to initialize SafeBrowsing _immediately_ at startup and we can
wait until the InitLater stage.

This has the added benefit of not crashing xpcshell-test which doesn't have
SafeBrowsing support.

Differential Revision: https://phabricator.services.mozilla.com/D106200
2021-03-24 21:49:33 +00:00
Michelle Goossens
1a08eedf0c Bug 1693815 - Remove illustrations on error pages r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D108883
2021-03-24 21:48:48 +00:00
Michelle Goossens
5391deaa4c Bug 1671274 - Convert SearchSettings.jsm and SearchService.jsm to no longer use OS.File r=barret
Differential Revision: https://phabricator.services.mozilla.com/D97205
2021-03-24 21:07:18 +00:00