Commit Graph

23202 Commits

Author SHA1 Message Date
Kartikaya Gupta
9161329de8 Bug 1508652 - Put WR captures on Android into the external files dir. r=snorp,kvark
Differential Revision: https://phabricator.services.mozilla.com/D12769

--HG--
extra : moz-landing-system : lando
2018-11-26 16:26:19 +00:00
Agi Sferro
a20e4c23c7 Bug 1458668 - Enforce changelog for GeckoView; r=snorp
This patch integrates with apilint changelog feature to ensure we update the
changelog file every time the api changes.

It also adds a high level overview of the changes in v65.

See also: https://github.com/mozilla-mobile/gradle-apilint#changelog

Differential Revision: https://phabricator.services.mozilla.com/D12550

--HG--
extra : moz-landing-system : lando
2018-11-26 16:27:06 +00:00
James Willcox
7f4954743b Bug 1485045 - Make Java parts of GeckoView independent from build ABI r=jchen
This allows us to use the same Java code for any native platform,
enabling a "fat" AAR.

Differential Revision: https://phabricator.services.mozilla.com/D11497

--HG--
extra : moz-landing-system : lando
2018-11-23 20:32:40 +00:00
James Willcox
992335e0bf Bug 1486524 - Don't use XZ compression for libs on Android r=glandium,nalexander
This also uses idiomatic packaging of the native libraries, which
will allow easier downstream consumption of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D10775

--HG--
extra : moz-landing-system : lando
2018-11-23 20:31:57 +00:00
James Willcox
20a661d1da Bug 1509146 - Remove default implementations in GeckoView interfaces r=nalexander
JaCoCo chokes on default implementations in interfaces, so remove those
for now.

Differential Revision: https://phabricator.services.mozilla.com/D12607

--HG--
extra : moz-landing-system : lando
2018-11-23 19:42:26 +00:00
Jan Henning
0190b0bd51 Bug 1500023 - Only process previous session file once per app startup. r=nalexander
Even if the GeckoApp activity is destroyed, the user's tabs remain open as long
as the app process itself isn't killed.
Therefore, for users who aren't automatically restoring their previous session's
tabs on startup, there's no point in renaming the current session store file so
it appears under "Recently closed" instead of being automatically restored,
unless we're really doing a cold startup (and hence mIsRestoringActivity is
false).
This also better matches what we do when we *are* automatically restoring tabs:
We only do it when !mIsRestoringActivity, too.

Differential Revision: https://phabricator.services.mozilla.com/D11800

--HG--
extra : moz-landing-system : lando
2018-11-22 17:10:49 +00:00
Eugen Sawin
a0c2aa2449 Bug 1509018 - [2.0] Add test for bypass load flag. r=snorp
Depends on D12541

Differential Revision: https://phabricator.services.mozilla.com/D12597

--HG--
extra : moz-landing-system : lando
2018-11-22 17:11:27 +00:00
Eugen Sawin
9183f65395 Bug 1509018 - [1.1] Add load flag to bypass the URI classifier. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D12541

--HG--
extra : moz-landing-system : lando
2018-11-22 17:11:27 +00:00
Petru Lingurar
0ad87110f4 Bug 1484528 - Prevent page loading indicator running continuously; r=JanH
The page loading indicator should be animated while it is visible.
Previously for controlling the animation the visibility state of the parent
Drawable - ShiftDrawable would be checked, which in all cases would return
true, so the animation would run indefinitely.

The patch modifies setVisible() in accordance with the Framework version of
DrawableWrapper to corectly set the visibility of both the wrapper and the
wrapped drawables so that isVisible() will now return the correct value which
will allow stopping the animation.

Differential Revision: https://phabricator.services.mozilla.com/D12552

--HG--
extra : moz-landing-system : lando
2018-11-22 14:52:46 +00:00
Petru Lingurar
6151c960ad Bug 1479724 - Part 3: Logos for Dev builds; r=sdaswani,bram,JanH
This are used as logos and by SiteIdentityPopup.java

Depends on D12024

Differential Revision: https://phabricator.services.mozilla.com/D12025

--HG--
extra : moz-landing-system : lando
2018-11-22 00:07:14 +00:00
Petru Lingurar
8fc1796f00 Bug 1479724 - Part 2: Pre-Oreo icons for Dev builds; r=sdaswani,bram,JanH
Depends on D12023

Differential Revision: https://phabricator.services.mozilla.com/D12024

--HG--
extra : moz-landing-system : lando
2018-11-20 21:19:28 +00:00
Petru Lingurar
293aaebf2c Bug 1479724 - Part 1: Adaptive icons for Beta and Dev builds; r=sdaswani,bram,JanH
Differential Revision: https://phabricator.services.mozilla.com/D12023

--HG--
extra : moz-landing-system : lando
2018-11-20 19:25:10 +00:00
Timothy Guan-tin Chien
e315175685 Bug 1497940 - Part III, Remove unused pluginProblem mobile styles r=snorp
These styles and PluginHelper.js should’ve been removed back in bug 1381916.

contentPluginDisabled.png is not referenced anywhere so it is deleted together.

Differential Revision: https://phabricator.services.mozilla.com/D11701

--HG--
extra : moz-landing-system : lando
2018-11-22 05:48:42 +00:00
Dorel Luca
30a79bc822 Backed out 3 changesets (bug 1497940) for Browser-chrome in toolkit/mozapps/extensions/test/browser/browser_CTP_plugins.js
Backed out changeset 493083d55865 (bug 1497940)
Backed out changeset b503b1a1552c (bug 1497940)
Backed out changeset 6918f8e2f38c (bug 1497940)

--HG--
rename : toolkit/themes/windows/global/plugins/pluginHelp-16.png => toolkit/themes/osx/mozapps/plugins/pluginHelp-16.png
2018-11-22 05:04:55 +02:00
Timothy Guan-tin Chien
da5e72fb54 Bug 1497940 - Part III, Remove unused pluginProblem mobile styles r=snorp
These styles and PluginHelper.js should’ve been removed back in bug 1381916.

contentPluginDisabled.png is not referenced anywhere so it is deleted together.

Differential Revision: https://phabricator.services.mozilla.com/D11701

--HG--
extra : moz-landing-system : lando
2018-11-22 02:11:44 +00:00
Eitan Isaacson
30fe7d0849 Bug 1509111 - Populate viewIdResourceName correctly. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D12583

--HG--
extra : moz-landing-system : lando
2018-11-21 21:07:20 +00:00
Matt Brubeck
b059d469bb Bug 1487542 - Change LoadRequest.isUserTriggered to isRedirect. r=snorp,smaug
Differential Revision: https://phabricator.services.mozilla.com/D12370

--HG--
extra : moz-landing-system : lando
2018-11-21 22:35:42 +00:00
Coroiu Cristina
b27585482c Merge inbound to mozilla-central a=merge 2018-11-21 23:43:13 +02:00
Cosmin Sabou
6a888dd9ac Merge mozilla-central to mozilla-inbound. a=merge 2018-11-21 18:25:38 +02:00
Masayuki Nakano
0acd37ec1d Bug 1504911 - part 4: Make all script for web content dispatch "input" event with proper event interface r=smaug
Currently, some "input" event dispatchers in our script dispatch "input" event
with UIEvent.  This is completely wrong.  For conforming to HTML spec, Event
is proper event.  Additionally, for conforming to Input Events, InputEvent
is proper event only on <textarea> or <input> element which has a single line
editor.

For making us to maintain easier, this patch adds new API, "isInputEventTarget"
to MozEditableElement which returns true when "input" event dispatcher should
use InputEvent for the input element.

Finally, this makes some dispatchers use setUserInput() instead of
setting value and dispatching event by themselves.  This also makes
us to maintain them easier.

Note that this does not touch "input" event dispatchers which dispatch events
only for chrome (such as URL bar, some pages in about: scheme) for making
this change safer as far as possible.

Differential Revision: https://phabricator.services.mozilla.com/D12247

--HG--
extra : moz-landing-system : lando
2018-11-20 14:35:38 +00:00
shindli
cbbdd02331 Merge inbound to mozilla-central. a=merge 2018-11-21 05:59:34 +02:00
Matt Brubeck
4cd3160a40 Bug 1508636 - Guard against setting requestedLocales to null. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D12481

--HG--
extra : moz-landing-system : lando
2018-11-20 22:38:11 +00:00
Lina Cambridge
6c0eb32f87 Bug 1490724 - Define a stub Callbacks.HistoryDelegate instead of using default methods. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D12377

--HG--
extra : moz-landing-system : lando
2018-11-20 22:43:58 +00:00
shindli
5cc898ccc2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-20 23:48:34 +02:00
Randall Barker
0fa2594f1c Bug 1508457 - Add GeckoView API to get first composite callback after a compositor start. r=snorp,droeh
Differential Revision: https://phabricator.services.mozilla.com/D12357

--HG--
extra : moz-landing-system : lando
2018-11-20 18:18:24 +00:00
Narcis Beleuzu
5abd4e194d Backed out changeset b245aba69d76 (bug 1508457) for apilint bustages. CLOSED TREE 2018-11-20 20:06:21 +02:00
Randall Barker
3b8fcf99da Bug 1508457 - Add GeckoView API to get first composite callback after a compositor start. r=snorp,droeh
Differential Revision: https://phabricator.services.mozilla.com/D12357

--HG--
extra : moz-landing-system : lando
2018-11-20 17:41:42 +00:00
Dylan Roeh
4b0f2a82da Bug 1494748 - Add a service to kill the Fennec process when the user swipes-to-kill Fennec. r=snorp
Leaving the Fennec process running after a swipe-to-kill puts Fennec in an unrecoverable state; this ensures we kill the process anytime a user swipes-to-kill Fennec and therefore lets us recover as usual.
2018-11-20 09:35:29 -06:00
Eugen Sawin
31655128ad Bug 1508638 - [1.0] Remove default progress value to avoid stuck progress bar for about: pages. r=droeh 2018-11-20 16:25:33 +01:00
Paolo Amadini
9004df8f9b Bug 1499947 - Part 2 - Remove the "progressmeter" element and related tests. r=bgrins,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12145

--HG--
extra : rebase_source : a322611933b371e726b25dd4223456a8f761e886
2018-11-20 14:12:33 +00:00
Cosmin Sabou
49e2a3a0cf Backed out changeset 1e076b0054cc (bug 1486524) for toolchains gradle bustages. CLOSED TREE 2018-11-21 18:01:10 +02:00
Cosmin Sabou
e131918f50 Backed out changeset bae43dfd3700 (bug 1485045) for toolchains gradle bustages. CLOSED TREE 2018-11-21 17:46:44 +02:00
James Willcox
ac32419b2f Bug 1508728 - Handle autoplay permission requests in GeckoView example r=mbrubeck
Differential Revision: https://phabricator.services.mozilla.com/D12452

--HG--
extra : moz-landing-system : lando
2018-11-20 22:02:29 +00:00
James Willcox
b57f71e494 Bug 1485045 - Make Java parts of GeckoView independent from build ABI r=jchen
This allows us to use the same Java code for any native platform,
enabling a "fat" AAR.

Differential Revision: https://phabricator.services.mozilla.com/D11497

--HG--
extra : moz-landing-system : lando
2018-11-21 15:22:06 +00:00
James Willcox
976e18d241 Bug 1486524 - Don't use XZ compression for libs on Android r=glandium,nalexander
This also uses idiomatic packaging of the native libraries, which
will allow easier downstream consumption of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D10775

--HG--
extra : moz-landing-system : lando
2018-11-21 15:21:59 +00:00
Eitan Isaacson
732bfffd5e Bug 1507913 - Return root a11y node when failing to retrieve virtual child. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D12338

--HG--
extra : moz-landing-system : lando
2018-11-19 19:55:59 +00:00
Agi Sferro
87e24dcfbf Bug 1506267 - Add android-api-lint to automation; r=nalexander
Depends on D11821

Differential Revision: https://phabricator.services.mozilla.com/D12166

--HG--
extra : moz-landing-system : lando
2018-11-19 16:03:55 +00:00
Agi Sferro
7c73e99698 Bug 1506267 - Use apilint to track API changes in api.txt. r=snorp,nalexander.
Depends on D12047

Differential Revision: https://phabricator.services.mozilla.com/D11821

--HG--
extra : moz-landing-system : lando
2018-11-19 16:03:43 +00:00
Agi Sferro
b707132e54 Bug 1506267 - Add plugins.gradle.com to Nexus. r=nalexander.
Differential Revision: https://phabricator.services.mozilla.com/D12047

--HG--
extra : moz-landing-system : lando
2018-11-19 16:03:33 +00:00
Emily Toop
e4c40c72e8 Bug 1500566 - Change the default URL loaded in geckoview_example on startup to about:blank. r=geckoview-reviewers,snorp
This is to prevent the load of the Mozilla homepage on startup.

Differential Revision: https://phabricator.services.mozilla.com/D12262

--HG--
extra : moz-landing-system : lando
2018-11-19 14:34:42 +00:00
Mike Hommey
c8cb111f94 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

Differential Revision: https://phabricator.services.mozilla.com/D11984

--HG--
extra : source : 1cf7694c8aa247c169c93d279bd16201103b75a8
2018-11-16 01:15:35 +00:00
shindli
4756350be2 Backed out 6 changesets (bug 1502457) for causing Mn mozprocess automation failures in '/Users/cltbld/tasks/task_1542517470/build/venv/bin/python
Backed out changeset 9174dadf38b0 (bug 1502457)
Backed out changeset 2bc4c0bfa299 (bug 1502457)
Backed out changeset 1442604ea266 (bug 1502457)
Backed out changeset 1cf7694c8aa2 (bug 1502457)
Backed out changeset a73cfbabdd47 (bug 1502457)
Backed out changeset 2c2b09264a82 (bug 1502457)
2018-11-18 10:24:11 +02:00
Thomas Wisniewski
c5d0750aa4 Bug 1503402 - Replace Report Site Issue in Fennec with a webextension version; r=aswan
Replace Report Site Issue in Fennec with a webextension version

Differential Revision: https://phabricator.services.mozilla.com/D10447

--HG--
extra : moz-landing-system : lando
2018-11-16 22:07:31 +00:00
Cosmin Sabou
b3241c824a Backed out 3 changesets (bug 1506267) for apilint build bustage. CLOSED TREE
Backed out changeset 7a53f4ea811b (bug 1506267)
Backed out changeset 5d1c5593fdf3 (bug 1506267)
Backed out changeset 32e919db3735 (bug 1506267)
2018-11-17 00:54:14 +02:00
Agi Sferro
bb52d56064 Bug 1506267 - Add android-api-lint to automation; r=nalexander
Depends on D11821

Differential Revision: https://phabricator.services.mozilla.com/D12166

--HG--
extra : moz-landing-system : lando
2018-11-16 22:18:09 +00:00
Agi Sferro
4df8cf48ad Bug 1506267 - Use apilint to track API changes in api.txt. r=snorp,nalexander.
Depends on D12047

Differential Revision: https://phabricator.services.mozilla.com/D11821

--HG--
extra : moz-landing-system : lando
2018-11-16 20:27:14 +00:00
Agi Sferro
f4ce1f73cf Bug 1506267 - Add plugins.gradle.com to Nexus. r=nalexander.
Differential Revision: https://phabricator.services.mozilla.com/D12047

--HG--
extra : moz-landing-system : lando
2018-11-16 22:21:28 +00:00
Petru Lingurar
354ac303c9 Bug 1505685 - Part 3 - Register HeadSetStateReceiver on the main thread; r=JanH
Summary:
Speculative fix.

initialize() is called by Gecko on it's background thread after it started.
The value for the "dom.audiochannel.mediaControl" preference also comes on a
background thread.
This both can end up registering the HeadSetStateReceiver while unregistering it
happens only on the main thread.
The patch tries to avoid the race condition by making sure Receiver's
registering and unregistering is done serially on the main thread.

Depends on D12032

Reviewers: JanH

Reviewed By: JanH

Subscribers: jya

Bug #: 1505685

Differential Revision: https://phabricator.services.mozilla.com/D12033

--HG--
extra : rebase_source : 11c6b6a78f310394d91b43c0d1408e341a827d85
extra : amend_source : 07cb38f0435b58462ca0329b8bd41f5d178ff4d1
2018-11-21 12:16:34 +02:00
Petru Lingurar
62ef6c1a4e Bug 1505685 - Part 2 - Cleanup - remove second SwitchBoard.loadConfig(); r=JanH
Summary:
Executing SwitchBoard.loadConfig() on a background thread is the main purpose
of the AsyncConfigLoader so executing it immediately again in the same thread
is redundant.

Depends on D12031

Reviewers: JanH

Reviewed By: JanH

Bug #: 1505685

Differential Revision: https://phabricator.services.mozilla.com/D12032

--HG--
extra : amend_source : b8ab5400e4b0afffc918754cc2e39141c331adcf
2018-11-21 12:15:12 +02:00
Petru Lingurar
60a06a9d06 Bug 1505685 - Part 1 - Register PackageAddedReceiver on the main thread; r=JanH
Summary:
Speculative fix for avoiding the situation in which the initialization of Mma
and registering of the PackageAddedReceiver continues on the background thread
after BrowserApp is destroyed and calls for unregistering the receiver.
By registering the receiver on the main thread we have the benefit of
sequentially execution which would guarantee that the registration is done
before trying to unregister it.

Reviewers: JanH

Reviewed By: JanH

Bug #: 1505685

Differential Revision: https://phabricator.services.mozilla.com/D12031

--HG--
extra : rebase_source : 2f0512cc269b7e6d2ee825cc82bfcdc6f6ad00d6
extra : amend_source : eb979af1cd6fe567ab3fe7213c7f631d68d9c255
2018-11-21 12:12:53 +02:00