Граф коммитов

27520 Коммитов

Автор SHA1 Сообщение Дата
Agi Sferro ff137f141b Bug 1515662 - Copy javadoc jar to right location for publishing. r=nalexander
In Bug 1506601 we started specifying a version number which made the javadoc
jar artifact name change

from `geckoview-javadoc.jar` to `geckoview-<version>-javadoc.jar`

where `<version>` is the current GeckoView version. This is a good change but it
broke our javadoc publishing code which doesn't know about the version code in
`//taskcluster/ci/build/android-stuff.yml`.

To make that work we add a new task `copyJavadocJar${variantName}` which copies
the jar to the expected location.

Depends on D15128

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

--HG--
extra : moz-landing-system : lando
2018-12-20 19:37:42 +00:00
Agi Sferro 61a9102f42 Bug 1515662 - Make |geckoview-docs| behave like other |mach android| commands. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D15128

--HG--
extra : moz-landing-system : lando
2018-12-20 20:05:39 +00:00
Mike Taylor 1c41dddc98 Bug 1514861. Add Google Analytics params to report site issue endpoint requests. r=sebastian,mkaply
Add Google Analytics params to report site issue endpoint requests

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

--HG--
extra : moz-landing-system : lando
2018-12-20 17:45:37 +00:00
Agi Sferro cffe966865 Bug 1506658 - Add @Nullable or @NonNull to all APIs. r=snorp,rbarker,geckoview-reviewers
Upgrading apilint to the 0.1.6 release will also ensure that new APIs have
nullability annotations via the GV4 and GV5 lints, see [0].

[0]: b994c7ca9d (diff-2c7de691a2642510f69b9ddf59276d85R569)

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

--HG--
extra : moz-landing-system : lando
2018-12-20 15:22:45 +00:00
Sebastian Hengst 767c971623 Backed out 21 changesets (bug 1492664) for breaking cron task for nightlies. a=backout
Backed out changeset a7d50dbb2c8e (bug 1492664)
Backed out changeset 2d876c4ece8b (bug 1492664)
Backed out changeset c82285d253de (bug 1492664)
Backed out changeset bf6d089640eb (bug 1492664)
Backed out changeset d9a7f2ce49c3 (bug 1492664)
Backed out changeset 06c466ab4323 (bug 1492664)
Backed out changeset c1ea4a10cc8d (bug 1492664)
Backed out changeset 4c63a04fdd47 (bug 1492664)
Backed out changeset 742b038bb1dd (bug 1492664)
Backed out changeset 911b4b0fb683 (bug 1492664)
Backed out changeset 870c8cec99e5 (bug 1492664)
Backed out changeset 77699b51336b (bug 1492664)
Backed out changeset 29f33f22fd8b (bug 1492664)
Backed out changeset e7f305408708 (bug 1492664)
Backed out changeset 335a92b1f424 (bug 1492664)
Backed out changeset c566f1c8dcdf (bug 1492664)
Backed out changeset c77ae59aba41 (bug 1492664)
Backed out changeset 9c35dd209c6b (bug 1492664)
Backed out changeset a972d6b4434e (bug 1492664)
Backed out changeset 5ea6f03f845e (bug 1492664)
Backed out changeset 0699d3873e44 (bug 1492664)

--HG--
extra : histedit_source : 5cb1f7e50f25d4a875c1a58c86b7dce902e1a89c%2C20f1ab1a843b612cfcc67cf5c6ff745d65abf076
2018-12-20 12:43:22 +02:00
Razvan Maries f658ebcbab Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
Nick Alexander 801b2fd4e8 Bug 1515282 - Fix mobile/android artifact build bustage. r=froydnj
This was fallout from Bug 1509573.  That ticket pushed the Android APKs step
into the export tier, where it is required; but since most things in export are
only required for compilation, the target is not itself built by default, and
in particular, not during an artifact build.  That's not right; this fixes it.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 20:35:16 +00:00
Agi Sferro 09aa32663e Bug 1458668 - Link CHANGELOG.md in javadoc. r=snorp,geckoview-reviewers
This moves the CHANGELOG.md file to a /doc-files folder that gets picked up by
javadoc.

Our javadoc files are hosted on a github.io page which will render the markdown
file with the geckoview profile.

Depends on D13883

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

--HG--
rename : mobile/android/geckoview/CHANGELOG.md => mobile/android/geckoview/src/main/java/org/mozilla/geckoview/doc-files/CHANGELOG.md
extra : moz-landing-system : lando
2018-12-19 15:48:17 +00:00
James Willcox 4fc444bb59 Bug 1514252 - Use 160 DPI and a device pixel scale of 1.0 for GeckoView tests. r=geckoview-reviewers,mbrubeck#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D14565

--HG--
extra : moz-landing-system : lando
2018-12-19 16:43:29 +00:00
Eugen Sawin b27a383fe0 Bug 1511477 - [2.0] Extend tracking protection test. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D14792

--HG--
extra : moz-landing-system : lando
2018-12-19 15:48:47 +00:00
Margareta Eliza Balazs 2e5e28f518 Backed out 16 changesets (bug 1492664) for breaking developer artifact builds, requested by standard8 a=backout
Backed out changeset 31e500489665 (bug 1492664)
Backed out changeset f4945658d45f (bug 1492664)
Backed out changeset 6d17291b8b92 (bug 1492664)
Backed out changeset 90f3faa36137 (bug 1492664)
Backed out changeset 0b229b00818a (bug 1492664)
Backed out changeset 5eb2c77d70a9 (bug 1492664)
Backed out changeset e1ebad5d89c5 (bug 1492664)
Backed out changeset 3017e5890739 (bug 1492664)
Backed out changeset c8b7e620eabf (bug 1492664)
Backed out changeset d3dfbd848236 (bug 1492664)
Backed out changeset 5c92bb5ac895 (bug 1492664)
Backed out changeset fb7cfca6ebc3 (bug 1492664)
Backed out changeset 0c4101230d4d (bug 1492664)
Backed out changeset b93a0fcc86f3 (bug 1492664)
Backed out changeset 6dc9522ee0bf (bug 1492664)
Backed out changeset 85d7f8b330eb (bug 1492664)
2018-12-19 11:45:29 +02:00
Andrew Swan a616b3883c Bug 1511211 Re-enable addon test in testDistribution.java r=nalexander
This test formerly used a bootstrapped extension.  Converting it to a
webextension is straightforward, except for the fact that webextensions
are started asynchronously, so the test has to wait for a message from
the addon instead of just assuming it is started synchronously during
distribution handling.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 20:41:19 +00:00
Nick Alexander f509ab73ad Bug 1509573 - Part 3: Use |make -C ... stage-package| rather than special Make target. r=snorp
This splits the two stage-package invocations (which are rather slow)
between Fennec and GeckoView, hopefully speeding local GV development
up a little (in the IDE).

The stage-package invocations depend on |mach build faster|, because
the omnijar contents might need to be updated.

In addition, we feed the packaged libs (and asset libs) through.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:01:16 +00:00
Nick Alexander e22899b7cf Bug 1509573 - Part 2: Make |mach build faster| handle Android generated files. r=froydnj
This is just an awkward feature of the FasterMake build system:
without a direct consumer, GENERATED_FILES aren't handled.  We
"consume" them into a dummy directory that isn't packaged.  Sadly, the
FasterMake generic rule doesn't handle relative directories smoothly,
so we have to special case that too.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:00:59 +00:00
Nick Alexander a8199ab531 Bug 1509573 - Part 1: Use |mach build ...| rather than special Make target. r=snorp
This uses |mach build mobile/android/base/...| rather than a custom
target, reducing Make magic and making it a little easier to reason
about the Gradle build.  This is somewhat rearranging deckchairs, but
the more that gets out of Make and into moz.build, the simpler our
lives become.

The shared `onlyIf` Gradle guard will be used to make it very clear
when certain tasks are being skipped, as we move details about Gecko
binaries to depend on the Gradle task execution graph.

I also took the opportunity to improve the task logging.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:54:08 +00:00
Nick Alexander b1f817c8c9 Bug 1509573 - Part 0: Only compile Java via Gradle in export tier. r=chmanchester.mielczarek
This was always an accident of history: we forced export tier without
avoiding it in the libs tier.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:25:55 +00:00
Brindusan Cristian 4eaaa7bc4c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-18 19:37:00 +02:00
Dustin J. Mitchell 8ea05db701 Bug 1492664 - generate portable URLs for Android mach commands; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D14219

--HG--
extra : moz-landing-system : lando
2018-12-18 17:26:47 +00:00
Makoto Kato 631a33d252 Bug 1497682 - Part 3. Add junit test. r=droeh
Summary:
Add autofill hint test if using Android 8+.

Depends on D12881

Reviewers: droeh

Reviewed By: droeh

Bug #: 1497682

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

--HG--
extra : rebase_source : c4458b62d48434fe9d19f8ded04f2bc2666647ff
extra : histedit_source : 5ff01309b49965ff008e431059368ca0f05d56e6
2018-12-18 18:05:36 +09:00
Makoto Kato e305b5ca33 Bug 1497682 - Part 2. Don't set inputType to all <input type=text>. r=droeh
Summary:
LastPass will fill password to all input elements which InputType is
TYPE_CALSS_TEXT and TYPE_TEXT_VARIATION_WEB_EDIT_TEXT and has no AutofillHint.
And it will fill username when InputType and AutofillHint is nothing in
<input type="text">.

Actually, current implementation of GeckoView sets InputType only for
<input type="text">, so LastPass fills password to all <input type="text">

So as workaround, we should set InputType and AutofillHint when input element
presumes username fields.

Depends on D12880

Reviewers: droeh

Reviewed By: droeh

Bug #: 1497682

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

--HG--
extra : rebase_source : b5ab3deadf0dd67bbdb1aa7e7656fe677c6670c4
2018-12-18 17:20:10 +09:00
Kris Maglione 778252994f Bug 1513366: Part 5 - Migrate extension process script to a JSM. r=aswan
This simplifies things all around, and gets rid of one more unnecessary
component registration.

--HG--
rename : toolkit/components/extensions/extension-process-script.js => toolkit/components/extensions/ExtensionProcessScript.jsm
extra : rebase_source : 7ceb6ada0730f8241bbd5ddbd889a320da22b1b1
2018-12-12 17:58:19 -08:00
Dennis Schubert 3a160e5189 Bug 1487401 - Remove mobile UA override for eBay. r=twisniewski,kmag,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D14717

--HG--
extra : moz-landing-system : lando
2018-12-17 21:38:49 +00:00
Agi Sferro e75266a619 Bug 1502118 - Enforce GV lints with apilint. r=snorp
This makes it so that apilints lints with "GV" codes are enforced and will fail
the build.

Depends on D13882

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

--HG--
extra : moz-landing-system : lando
2018-12-17 22:32:11 +00:00
Agi Sferro ba1aba5810 Bug 1502118 - Make FinderResult non-final for testing. r=snorp,esawin
This allows mocking for embedders.

Depends on D13881

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

--HG--
extra : moz-landing-system : lando
2018-12-17 22:31:59 +00:00
Agi Sferro e03913bdda Bug 1502118 - Add threading annotations to remaining APIs. r=snorp
Depends on D13880

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

--HG--
extra : moz-landing-system : lando
2018-12-17 22:31:46 +00:00
Agi Sferro 4e6222e74d Bug 1502118 - Add @UiThread to all Delegate interfaces. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D13880

--HG--
extra : moz-landing-system : lando
2018-12-17 22:31:29 +00:00
John Lin 9ae8026add Bug 1486659 - p3: copy texture contents for remote allocated Surface. r=snorp
Child processes cannot access textures allocated in the parent process,
which is needed by the compositor to render video elements efficiently.
Unfortunately, Android doesn't expose Sufrace buffers (sharable across
processes) in the SDK/NDK as other platforms, so we need to generate
extra texture/surface in the child process and update texture images
through the surface, which is passed to the parent process for the remote
texture to copy its contents into.

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

--HG--
rename : mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/ISurfaceAllocator.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/gfx/SyncConfig.aidl
extra : moz-landing-system : lando
2018-12-14 21:34:55 +00:00
John Lin 82531b5e45 Bug 1486659 - p2: expose native GL blitter to Java. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11938

--HG--
extra : moz-landing-system : lando
2018-12-14 21:34:11 +00:00
John Lin a1926ace73 Bug 1486659 - p1: conform SharedMemory.describeContents() to Android API spec. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11936

--HG--
extra : moz-landing-system : lando
2018-12-14 21:34:09 +00:00
Petru Lingurar cd5624af54 Bug 1509434 - Part 2 - Wait for AudioFocusAgent to be initialized before starting testMediaControl;r=JanH
Inside the tests from testMediaControl audio focus is not immediately checked
as for the tests from testAudioFocus but nonetheless we should make sure
AudioFocusAgent is initialized before proceeding with the media tests.

Depends on D14417

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

--HG--
extra : moz-landing-system : lando
2018-12-16 19:48:16 +00:00
Petru Lingurar 7ad49069ce Bug 1509434 - Part 1 - Wait for AudioFocusAgent to be initialized before starting testAudioFocus;r=JanH
There is a small race between actually starting the test after Gecko:Ready and
having the AudioFocusAgent that the tests depend on initialized, which is also
done after Gecko:Ready.

To avoid this situation we will wait for Gecko:Ready and then for
AudioFocusAgent to complete it's initialization.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 07:59:44 +00:00
Jan Henning 7e0f4b06eb Bug 1492706 - Part 2: Cover common OOM causes in the Recent tabs panel. r=nalexander
Looking at Crash Stats, the most common causes of OOMs involving the RecentTabs-
Adapter happen while reading the previous session store file into memory for
parsing, respectively while stringifying the parsed data back into a flat String
for further storage.

In the former case, we give up completely, because there's nothing we can do
short of switching to a streaming JSON parser (which is out of scope for this
bug), while in the latter case, we only skip the affected tab in the hope that
at least some tabs might be small enough to not cause an OOM.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 21:08:32 +00:00
Jan Henning f085c2f73f Bug 1492706 - Part 1: Catch OOM during startup session restore. r=nalexander
We just treat this like a defective session store file and first fall back to
the backup (although if the OOM is caused by a too-large file, it is likely that
the backup will be too large as well) and then turn off session restoring
completely.

We don't plug those failures into the session restore telemetry, though, because
that is supposed to only cover truly defective files.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 21:07:39 +00:00
Timothy Guan-tin Chien 3913ded230 Bug 1510848 - Do not unattach UA Widget Shadow Root if the element is already re-attached to the tree r=emilio,smaug
This patch moves all UA Widget calls to helper functions in Element.cpp. The helper function AttachAndSetUAShadowRoot sets the shadow root in a runnable, so that it is in the same order of NotifyUAWidget* runnables.

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

--HG--
extra : moz-landing-system : lando
2018-12-15 02:48:46 +00:00
Cosmin Sabou 1186b6f937 Backed out changeset 9bfabcea5227 (bug 1514253) for geckoview crashes on geckoview.test.SessionLifecycleTest.readFromParcel_closeOpenAndLoad. CLOSED TREE 2018-12-15 01:11:34 +02:00
Agi Sferro a7360dc455 Bug 1513395 - Ask gradle to download all dependencies. r=nalexander
This adds a task to each project called `downloadDependencies`. This task will
go through each configuration and resolve every dependency so that the gradle
cache contains a copy of every file needed for building and running tests. This
is intended to be used together with our nexus oss database but it can be used
locally too.

Note: `downloadDependencies` does not download dependencies added a runtime,
e.g. by plugins like apilint, checkstyle, findbugs... so we still need to run
those tasks to collect their dependencies.

Depends on D14516

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

--HG--
extra : moz-landing-system : lando
2018-12-14 21:37:37 +00:00
Agi Sferro 46d5e9f8a4 Bug 1513395 - Vendor accessibility-test-framework in m-c. r=nalexander,geckoview-reviewers,snorp
This vendors accessibility-test-framework which has recently been remove by
accident from the Google maven repository, this library can be removed once
https://issuetracker.google.com/issues/120951637 is resolved.

Depends on D14514

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

--HG--
extra : moz-landing-system : lando
2018-12-14 21:34:06 +00:00
Agi Sferro 95c7276481 Bug 1513395 - Upgrade com.android.tools to 26.2.1. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D14514

--HG--
extra : moz-landing-system : lando
2018-12-14 21:33:05 +00:00
Gijs Kruitbosch 2ece1af1ce Bug 1503214 - remove toolkit feed processor code, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D14603

--HG--
extra : moz-landing-system : lando
2018-12-14 19:57:40 +00:00
James Willcox 0e165f3de9 Bug 1514253 - Create PanZoomController immediately in GeckoSession r=geckoview-reviewers,droeh#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D14562

--HG--
extra : moz-landing-system : lando
2018-12-14 18:42:52 +00:00
James Willcox 844bf4eca2 Bug 1511134 - Skip web extension tests on GeckoView r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D14559

--HG--
extra : moz-landing-system : lando
2018-12-14 19:35:05 +00:00
Randall Barker 5d8ff39a09 Bug 1511281 - Update GeckoView user agent override to use docShell.customUserAgent r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D13593

--HG--
extra : moz-landing-system : lando
2018-12-14 14:40:06 +00:00
Gabriele Svelto 8195e39010 Bug 618185 - Switch the default URL for sending crash reports to the *.mozilla.org domain r=ted
Differential Revision: https://phabricator.services.mozilla.com/D14003

--HG--
extra : moz-landing-system : lando
2018-12-13 19:17:54 +00:00
Dennis Schubert 49e78df13e Bug 1512907 - Import GoFaster v3.0.0 sources to Desktop and Fennec. r=kmag,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D14047

--HG--
extra : moz-landing-system : lando
2018-12-14 00:52:32 +00:00
Dylan Roeh be95b41f77 Bug 1494748 - Stop stumbler service when Fennec is killed. r=snorp 2018-12-12 11:53:49 -06:00
James Willcox e636547e69 Bug 1507947 - Be more careful when unbinding child process services r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D14065

--HG--
extra : moz-landing-system : lando
2018-12-12 14:54:03 +00:00
Shane Caraveo 712e57664e Bug 1345474 - protect access to base window and tab classes r=rpl
Depends on D4109

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

--HG--
extra : moz-landing-system : lando
2018-12-10 21:28:33 +00:00
Ciure Andrei 71bf47500f Backed out 7 changesets (bug 1500155) for multiple Android fails CLOSED TREE
Backed out changeset 0f66513c5f23 (bug 1500155)
Backed out changeset 85900c298b05 (bug 1500155)
Backed out changeset c4bc2e839a9e (bug 1500155)
Backed out changeset 4dd0b1c3524c (bug 1500155)
Backed out changeset 0d03623732b6 (bug 1500155)
Backed out changeset fcfa609101f8 (bug 1500155)
Backed out changeset a9410d9b3f16 (bug 1500155)
2018-12-12 16:24:36 +02:00
Emily Toop 0fd2d6b7ad Bug 1500155 - Part 8 - Update `geckoview_example` to use new methods. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D13423

--HG--
extra : moz-landing-system : lando
2018-12-12 13:19:16 +00:00
Emily Toop 569752adf0 Bug 1500155 - Part 7 - Update `CHANGELOG.md`. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D13422

--HG--
extra : moz-landing-system : lando
2018-12-12 13:19:04 +00:00