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

27655 Коммитов

Автор SHA1 Сообщение Дата
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
Jared Wein acfe9c8baf Bug 1507595 - Test fixes. r=flod,Gijs
There are multiple fixes contained in this patch:
- fixes for Android/mobile support
- adding extra strings to the ftl file that were never defined before, and previously the ID was just printed to the page
- update test_l10n.py to not rely on about:support anymore
- changing Troubleshoot.jsm to return and ID and args for the strings that should be displayed, so it is compatible with the Fluent API
- misc. fixes so strings that are not localized don't go through the Fluent codepath

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

--HG--
extra : moz-landing-system : lando
2018-12-28 19:40:33 +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
Emily Toop ff213e4b62 Bug 1500155 - Part 6 - address review comments r=esawin,snorp. Update changelog.
Differential Revision: https://phabricator.services.mozilla.com/D13421

--HG--
extra : moz-landing-system : lando
2018-12-12 13:18:52 +00:00
Emily Toop 9eec7f0443 Bug 1500155 - Part 4 - Add Builder to `GeckoSessionSettings` to handle setting of init only fields. r=snorp
* Make setters for init only fields protected.
* Remove tests that ensure that init only fields throw an error when set on the fly as this is no longer possible.
* Update tests to use builder when init-ing settings.
* Update API doc to reflect new public API.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 13:18:39 +00:00
Emily Toop 7074d987b3 Bug 1500155 - Part 3 - Migrate existing code to use these new methods instead of the exisiting get/set<DataType>(Key, Value) methods. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D13419

--HG--
extra : moz-landing-system : lando
2018-12-12 13:18:25 +00:00
Emily Toop 4994f964c7 Bug 1500155 - Part 2 - Make old methods and fields for get/set<DataType> in `GeckoSessionSettings` private. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D13418

--HG--
extra : moz-landing-system : lando
2018-12-12 13:18:13 +00:00
Emily Toop 8daa68665d Bug 1500155 - Part 1 - Add methods for each setting in `GeckoSessionSettings`. r=snorp
Migrate existing code to use these new methods instead of the exisiting get/set<DataType>(Key, Value) methods.

This commit does not tackle making the old functions inaccessible publicly as this requires a complete refactoring of the Setting @interface in `GeckoSessionTestRule.java`. There may be a follow up commit if this is something we want to do.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 13:18:01 +00:00
Emily Toop 0dea83755d Bug 1513245 - Add `RetentionPolicy.SOURCE` to type def annotations r=geckoview-reviewers,agi,esawin
These annotations do no need to be kept by the compiler and can be discarded.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 16:45:57 +00:00
Joel Maher ce5a6bc787 Bug 1508794 - skip on debug org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS. r=gbrown
skip on debug org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS

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

--HG--
extra : moz-landing-system : lando
2018-12-11 20:47:40 +00:00
Hiroyuki Ikezoe 6bebce8600 Bug 1512037 - Bail out from prefersReducedMotion() if the target device is Android 4.1 or older. r=snorp
Settings.Global can't be used on such devices.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 23:38:26 +00:00
Mark Banner 0304564ac7 Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:40 +00:00
James Willcox d3663591d0 Bug 1513242 - Queue native calls in GeckoSystemStateListener r=geckoview-reviewers,esawin
Sometimes Gecko isn't running yet when we get our first notifications.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 20:33:52 +00:00
James Willcox ef1ac803d8 Bug 1507159 - Import NotificationDB.jsm in GeckoView r=geckoview-reviewers,mbrubeck
Differential Revision: https://phabricator.services.mozilla.com/D13301

--HG--
extra : moz-landing-system : lando
2018-11-29 22:26:51 +00:00
James Willcox a3138042ef Bug 1511063 - Only send GeckoView history messages when there are listeners r=lina,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D13432

--HG--
extra : moz-landing-system : lando
2018-12-10 22:58:31 +00:00
Mike Hommey ab48d17e1a Bug 1513134 - Detect unnecessary --help dependencies. r=firefox-build-system-reviewers,gps
Depends on D14125

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

--HG--
extra : moz-landing-system : lando
2018-12-11 19:34:28 +00:00
Petru Lingurar 3813e1403f Bug 1497148 - Log warning for custom profile with null dir and avoid throwing exception. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D13969

--HG--
extra : moz-landing-system : lando
2018-12-11 17:56:11 +00:00
Csoregi Natalia 9e970681f2 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Emily Toop 2775037874 Bug 1510644 - Address `Incorrect constant` Android lint error. r=geckoview-reviewers,esawin
* Suppressed warnings for `GeckoMediaDrmBridgeV21` and `WebRequestError`
* `GeckoSession` was providing the arguments to `WebRequestError` in the incorrect order.
* Enforced `actions` array to be `SelectionActionDelegate.Action` types.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 16:47:51 +00:00
Csoregi Natalia 354257650e Merge mozilla-central to autoland. CLOSED TREE 2018-12-11 18:29:02 +02:00
Emily Toop bf58ba978d Bug 1510610 - Override `performClick` for `onTouchEvents`. r=geckoview-reviewers,snorp
This is to ensure that accessibility readers have touch events handled.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 15:02:03 +00:00
Emily Toop 608eb2e2bf Bug 1510611 - Ensure that the correct API levels are being enforced andx handled. r=geckoview-reviewers,snorp
- `GeckoSurfaceTexture`: Added `@RequiresApi` annotation to contructor that uses `KITKAT` level superclass constructor it is not used incorrectly.
- `VsyncSource`: Added `@RequiresApi` annotation to `getRefreshRate` method, plus comment explaining that the `DisplayManager` class used by this method is API level 17+
- `GeckoMediaDRMBridgeV21`: Added `@TargetAPI` annotation to class definition as the entire class uses code API level 18 upwards.
- `JellyBeanAsyncCodec`: Removed brackets from around version check so the linter recognises it as a valid API check. Updated code to use `BUILD_VERSION` flag rather than hardcoded version number.
- `LollipopAsyncCodec`: Added `@TargetAPI` annotation to class definition as the entire class is API level 21 upwards.
- `MediaDrmProxy`: Suppress "NewAPI" lint warnings. Version is being done inside `isSystemSupported` method and therefore not picked up by linter. Updated `isSystemSupported` to use `VERSION_CODES` constant.
- `ContentUriUtils`: Suppress "NewAPI" lint warnings. Version is being checked from `isKitKat` variable and therefore not picked up by linter.
- `GeckoAppShell`: Update `getAudioOutputFramesPerBuffer` & `getAudioOutputSampleRate` methods to use `VERSION` and `VERSION_CODES` inside version check so it is picked up by linter.
- `GeckoSystemStateListener`: Added `@RequiresApi` annotation to `prefersReducedMotion` method, plus comment explaining that the `Settings.Global` class used by this method is API level 17+
- `SpeechSynthesisService`: Add version check to `run` to ensure that `TextToSpeech#getDefaultLanguage` is only called under the correct version.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 14:43:44 +00:00
Emily Toop 5b120fc9e9 Bug 1482725 - Don't call `onCreate` when device orientation changes. r=geckoview-reviewers,snorp
To prevent the default URI reloading on app rotate, prevent `GeckoViewActivity` from restarting on orientation and screen size changes.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 14:26:45 +00:00
Mark Banner 1abdc8687f Bug 1415483 - Apply the new options to reject-importGlobalProperties across the codebase, remove unnecessary importGlobalProperties. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13754

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:44 +00:00
Csoregi Natalia ea7eda334f Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-12-11 11:40:09 +02:00
Narcis Beleuzu 208387527a Merge mozilla-central to inbound. a=merge 2018-12-11 07:26:37 +02:00
Brindusan Cristian cab76a96b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-11 00:11:47 +02:00
Brindusan Cristian c0be6a4290 Merge inbound to mozilla-central. a=merge 2018-12-11 00:05:18 +02:00
Geoff Brown dc6d556802 Bug 1512408 - Build crash symbol artifacts for Android x86-64 debug artifact builds; r=nalexander 2018-12-10 13:37:26 -07:00
Cosmin Sabou c794cea671 Bug 1501688 - Fix eslint failures for trailing spaces. r=eslint-fix 2018-12-10 18:46:32 +02:00
Andrei Lazar a8f34c194a Bug 1501688 Temporary files generated by opening external files with content:// scheme should be sanitized r=JanH
Implemented cache sanitizing for files generated by handling the content:// scheme.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 15:57:48 +00:00
Daisuke Akatsuka 4c9372bcb0 Bug 1497450: Get DOMTitleChanged event of Android from DevTools server. r=ochameau,jdescottes
Currently, when `about:debugging` is displaying, even if move to another URL on
Android, its update does not reflect to `about:debugging` page. Because the `DOMTitleChanged` event on message manager comes from only in case of remote browser. In this patch, get the event on even not remote browser, then notify to clients.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 02:16:25 +00:00
Brindusan Cristian 34343d1067 Backed out changeset d7b73b7ab1a5 (bug 1507947) for mochitest failures on test_expanding_selection_per_page.html. 2018-12-11 02:00:55 +02:00
Brindusan Cristian 989d78f3d0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-11 00:10:08 +02:00
Andrei Lazar 665d5ab5ed Bug 1501024 WifiScanner should use ApplicationContext r=JanH
Fixed lint warning regarding memory leak inside WifiManager constructor.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 09:33:18 +00:00
Andrei Lazar 8e83a68e66 Bug 1501024 WifiScanner should use ApplicationContext r=JanH
Fixed lint warning regarding memory leak inside WifiManager constructor.

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

--HG--
extra : moz-landing-system : lando
2018-12-07 18:54:56 +00:00
John Lin 356abac240 Bug 1495053 - p2: add setServerCertificate() to Java/JNI proxy classes. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D7791

--HG--
extra : moz-landing-system : lando
2018-12-07 14:44:10 +00:00
John Lin b691f2d917 Bug 1495053 - p1: support setting server certificate in MediaDrm bridge. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D7790

--HG--
extra : moz-landing-system : lando
2018-12-07 14:43:33 +00:00
John Lin eb4a57903b Bug 1510424 - fix AAC and FLAC EME support configuration. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D13135

--HG--
extra : moz-landing-system : lando
2018-12-07 14:40:50 +00:00
Neil Deakin 323ddeb5ad Bug 1492326, don't use 'instanceof nsiDOMXUL*' in toolkit and mobile files, r=paolo 2018-12-04 11:33:06 -05:00
James Willcox ac06b38301 Bug 1510448 - Disallow invalid forms in GeckoView r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D13143

--HG--
extra : moz-landing-system : lando
2018-11-29 18:40:26 +00:00
James Willcox e7544e70d7 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-10 15:46:19 +00:00
Eitan Isaacson e027ad57e6 Bug 1507713 - Provide heading level in roleDescription. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D13504

--HG--
extra : moz-landing-system : lando
2018-12-05 20:13:07 +00:00
Qinghao_Jack_Song 12bc2f9591 Bug 1511454 - Migrate about:plugins to use Fluent for localization r=flod,Gijs,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D13681

--HG--
extra : moz-landing-system : lando
2018-12-05 16:06:15 +00:00
Eitan Isaacson 2cd7977288 Bug 1510794 - Implement AccessibilityNodeInfo.ACTION_CLICK natively. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D13321

--HG--
extra : moz-landing-system : lando
2018-12-05 16:08:01 +00:00
Eitan Isaacson 8e0b1240c1 Bug 1510791 - Add action count to BatchData and set isClickable correctly in Android. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D13320

--HG--
extra : moz-landing-system : lando
2018-12-05 15:37:24 +00:00
Ehsan Akhgari 0dcf936804 Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance 2018-12-03 14:27:53 -05:00
Andrei Lazar 6e2e2a7b48 Bug 1499618 Crash in java.lang.IllegalArgumentException: at android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java) r=JanH
Added fallback for the cases where trying to obtain a file absolute path from
external storage was throwing an exception.

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

--HG--
extra : rebase_source : 7f6386e0dd47e503c412e6e9b552e8bf935851c9
extra : source : 3ad6353532ad19cc566c6f44bb47eb514987cc99
2018-11-21 16:33:38 +00:00
James Willcox 14dbb6a926 Bug 1501748 - Avoid synchronous wait when creating VsyncSource r=geckoview-reviewers,droeh#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15747

--HG--
extra : moz-landing-system : lando
2019-01-04 23:24:44 +00:00
Dustin J. Mitchell acac7b3b34 Bug 1492664 - generate portable URLs for Android mach commands; r=nalexander
--HG--
extra : rebase_source : 47be441691ca127844525b98f2c06d4871e83ef8
extra : source : bf6d089640eb8c79b183129186cc936ac854a0bf
2018-09-24 16:59:32 +00:00
Dustin J. Mitchell e2912e1a9f Bug 1492664 - generate portable URLs for Android mach commands; r=nalexander
--HG--
extra : rebase_source : 1b66dd75378363538464db33ba54ee8b73d0faa0
2018-09-24 16:59:32 +00:00
Coroiu Cristina 3564dfde3b Merge inbound to mozila-central a=merge 2018-12-01 07:46:00 +02:00
Hiroyuki Ikezoe 5a914f5919 Bug 1510214 - Set initial-scale=1 to avoid the content elements are placed at unexpected positions. r=eeejay
Depends on D13172

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

--HG--
extra : moz-landing-system : lando
2018-11-30 17:21:09 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Razvan Maries 77d87d9972 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-30 05:13:14 +02:00
Razvan Maries 530163105d Merge mozilla-inbound to mozilla-central a=merge 2018-11-30 05:05:29 +02:00
Andrew Swan 48f9912c8b Bug 857456 Follow-up: temporarily disable addon test in testDistribution.java rs=nalexander
--HG--
extra : rebase_source : 42558b53fd64c91f130c091ed415dbf25e61f06b
extra : amend_source : 0ebf6a2af83981b7350d3ac18f32e1776ed10e4f
2018-11-29 15:42:08 -08:00
Razvan Maries 326dd87a7b Backed out 4 changesets (bug 1509573) for unexpected bustages a=backout.
Backed out changeset ace2d2ada8ef (bug 1509573)
Backed out changeset 059741f95cf4 (bug 1509573)
Backed out changeset 36cf7b9ce095 (bug 1509573)
Backed out changeset d7e0661e34c2 (bug 1509573)

--HG--
extra : amend_source : b2bd61c3d8c9db3686bf0d9773f0b53e69174789
2018-11-30 01:40:06 +02:00
Kartikaya Gupta 012998beae Bug 1510946 - Guard against a null external files dir. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D13401

--HG--
extra : moz-landing-system : lando
2018-11-29 14:24:24 +00:00
Coroiu Cristina 3ba5c153be Merge mozilla-central to autoland a=merge 2018-11-29 06:38:18 +02:00
Coroiu Cristina e92b0f1d7f Merge inbound to mozilla-central a=merge 2018-11-29 06:27:40 +02:00
Geoff Brown bea83b7523 Bug 1505536 - Add Android x86-64 debug builds; r=nalexander 2018-11-28 15:46:37 -07:00
Geoff Brown 35c2d7106c Bug 1467868 - Support Android aarch64 artifact builds; r=nalexander 2018-11-28 15:46:37 -07:00
Coroiu Cristina b8bc09a5b5 Merge mozilla-central to inbound a=merge on a CLOSED TREE
--HG--
rename : python/mozrelease/test/data/Firefox-62.0b11.update.json => python/mozrelease/test/data/Firefox-64.0b13.update.json
extra : rebase_source : 6eb078869182f40343e201993c0d0442ed96ad46
2018-11-29 00:34:07 +02:00
Coroiu Cristina d4aafa8e1c Merge inbound to mozilla-central a=merge 2018-11-28 23:49:09 +02:00
Andrei Lazar 1244b5fed9 Bug 1502721 Crash in java.lang.NumberFormatException: at java.lang.Long.parseLong(Long.java) r=JanH
Added catch for NumberFormatException that may be thrown when trying to open some downloaded files with Fennec.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 20:45:44 +00:00
Nick Alexander 017054253f Bug 1509573 - Part 4: 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).

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-11-28 19:47:48 +00:00
Nick Alexander f5cdc551cb Bug 1509573 - Part 2: Use |mach build faster| rather than special Make target. r=snorp
This uses |mach build faster| rather than a custom target, reducing
Make magic and making it easier to reason about the Gradle build.  I
also took the opportunity to improve the task logging.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 19:46:35 +00:00
Nick Alexander 28bf110c5c Bug 1509573 - Part 1: 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-11-28 19:46:16 +00:00
Brindusan Cristian eb07b312bf Backed out 3 changesets (bug 1486659) as requested by jhlin on irc for breaking video playback on Android and causing regression Bug 1510464. a=backout
Backed out changeset 9c2834ca8823 (bug 1486659)
Backed out changeset 5d897c0c7a25 (bug 1486659)
Backed out changeset b0fdcebfd20d (bug 1486659)
2018-11-28 19:09:13 +02:00
Cosmin Sabou e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Randall Barker 2b3ed2f223 Bug 1503039 - Add tests for GeckoView MediaElement r=snorp,esawin,imanol
Differential Revision: https://phabricator.services.mozilla.com/D10137

--HG--
extra : moz-landing-system : lando
2018-11-27 21:58:46 +00:00
Ryan Hendrickson c81dc8dd55 Bug 1500479 - Part 2: expose tab successors in browser.tabs; r=mixedpuppy,rpl
1. Add successorTabId to the Tab type, so that it will be returned in, e.g.,
   browser.tabs.get calls

2. Extend or create the following methods on the browser.tabs API:
  - update: add successorTabId as an optional property on the provided
    updateProperties object
  - moveInSuccession: new method that manipulates tab successors in bulk

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

--HG--
extra : moz-landing-system : lando
2018-11-26 04:17:00 +00:00
Ryan Hendrickson 86f002c544 Bug 1500479 - Part 1: browser.tabs.onActivated; r=mixedpuppy,rpl,JanH
Add an optional previousTabId property to the onActivated event,
which is present if the previously activated tab is still open.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 04:16:30 +00:00
Eugen Sawin 29cc0db15f Bug 1509266 - [2.0] Update onContextMenu delegate implementations. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D12968

--HG--
extra : moz-landing-system : lando
2018-11-27 20:30:47 +00:00
Eugen Sawin 29411ef725 Bug 1509266 - [1.3] Extend element information passed to ContentDelegate.onContextMenu. r=snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D12967

--HG--
extra : moz-landing-system : lando
2018-11-27 20:29:04 +00:00
Andrea Marchesini f399725b04 Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - fix tests, r=me 2018-11-28 08:22:06 +01:00
Razvan Maries d696b8eb57 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-29 23:46:52 +02:00
James Willcox 8b93c8d019 Bug 1507206 - Load error pages in TestRunnerActivity r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D11909

--HG--
extra : moz-landing-system : lando
2018-11-27 17:02:14 +00:00
Gabriele Svelto 566f669d07 Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12728

--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Petru Lingurar 93fd1e4504 Bug 1504780 - Prevent crash if GeckoProfile path is not known; r=geckoview-reviewers,snorp
In this case the profile name will be null, situation already handled, in which
a telemetry ping about the crash will not be sent but the crash can still be
reported to crash-stats.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:21:56 +00:00
Agi Sferro 8c2506838e Bug 1508442 - add protected constructor to field-only classes in GeckoView. r=snorp,esawin
This adds a dummy `protected`, empty constructor to all field-only classes that
don't have one or can't because the constructor uses a private API. This will
allow embedders to mock our field-only classes or construct them without having
to use reflection.

Depends on D12550

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

--HG--
extra : moz-landing-system : lando
2018-11-27 04:14:11 +00:00
Daniel Varga ef4c0efcc4 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-27 07:36:22 +02:00
Geoff Brown 829a65fd2e Bug 1483478 - Store memory dump artifacts in awsy-lite; r=glandium 2018-11-26 17:59:05 -07:00
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
Nick Alexander 7fb85f7972 Bug 1509572 - Part 6: Don't always generate annotations from Gradle. r=snorp
Before, we always ran the "generate JNI wrappers" command and had the
command be smart about updating the output.  Now we move the smarts to
the Gradle side to streamline the build.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:44:00 +00:00
Nick Alexander 7c4f786ab2 Bug 1509572 - Part 5: Depend on bundle, not assemble. r=snorp
This will be exploited later, when we start making the
`withGeckoBinaries` switch conditional on the tasks that Gradle is
going to execute.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:43:41 +00:00
Nick Alexander 989700629b Bug 1509572 - Part 4: Make `geckoview:generateSDKBindings` work without arguments. r=snorp
I'm not sure how this ever worked in the `android-gradle-dependencies`
task -- it must have been because of `--continue`.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:43:30 +00:00
Nick Alexander a8b2dbfa07 Bug 1509572 - Part 3: Don't dump R.txt for every build. r=snorp
This has never been as useful as anticipated: we really aren't seeing
resource mismatches in the wild that need diagnostic aids.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:43:26 +00:00
Nick Alexander 92b3b36751 Bug 1509572 - Part 2: Don't pass --console=plain and --continue through to Gradle. r=snorp
--console=plain is critical in automation, but it's not always helpful
locally.  Let's try without it for a while.

--continue tries to build additional tasks even after the first
failing task.  It can be useful in automation ('cuz you might see more
errors) but it can also be confusing (because the build fails but
produces additional output).  Let's try without it, too.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:43:22 +00:00
Dorel Luca 508e50ac02 Backed out 6 changesets (bug 1509572) for linting failure. CLOSED TREE
Backed out changeset 9f6a7e664cef (bug 1509572)
Backed out changeset f6653c7d2967 (bug 1509572)
Backed out changeset 122d6f1a1136 (bug 1509572)
Backed out changeset bc6911d14ae0 (bug 1509572)
Backed out changeset bd0729ff0bbc (bug 1509572)
Backed out changeset c4087e8ea340 (bug 1509572)
2018-11-26 23:21:28 +02:00
Nick Alexander 08717a6883 Bug 1509572 - Part 6: Don't always generate annotations from Gradle. r=snorp
Before, we always ran the "generate JNI wrappers" command and had the
command be smart about updating the output.  Now we move the smarts to
the Gradle side to streamline the build.

Depends on D12794

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:02:52 +00:00
Nick Alexander 61ca6a2dc5 Bug 1509572 - Part 5: Depend on bundle, not assemble. r=snorp
This will be exploited later, when we start making the
`withGeckoBinaries` switch conditional on the tasks that Gradle is
going to execute.

Depends on D12793

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:16:16 +00:00
Nick Alexander 87610d0bca Bug 1509572 - Part 4: Make `geckoview:generateSDKBindings` work without arguments. r=snorp
I'm not sure how this ever worked in the `android-gradle-dependencies`
task -- it must have been because of `--continue`.

Depends on D12792

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:16:39 +00:00
Nick Alexander bd978792e9 Bug 1509572 - Part 3: Don't dump R.txt for every build. r=snorp
This has never been as useful as anticipated: we really aren't seeing
resource mismatches in the wild that need diagnostic aids.

Depends on D12791

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:16:51 +00:00
Nick Alexander af14dfeaf0 Bug 1509572 - Part 2: Don't pass --console=plain and --continue through to Gradle. r=snorp
--console=plain is critical in automation, but it's not always helpful
locally.  Let's try without it for a while.

--continue tries to build additional tasks even after the first
failing task.  It can be useful in automation ('cuz you might see more
errors) but it can also be confusing (because the build fails but
produces additional output).  Let's try without it, too.

Depends on D12790

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

--HG--
extra : moz-landing-system : lando
2018-11-26 19:17:24 +00:00
John Lin e43dca7804 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-11-26 19:41:31 +00:00
John Lin 66a5045667 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-11-26 19:41:29 +00:00
John Lin 3e8536f24a 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-11-26 19:40:37 +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
Cosmin Sabou 06634a920c Backed out 3 changesets (bug 1505685) for android checkstyle failures on GeckoMediaControlAgent.
Backed out changeset 6e2a67a9a9c9 (bug 1505685)
Backed out changeset a46710b7723f (bug 1505685)
Backed out changeset 9344087c8d8e (bug 1505685)
2018-11-21 11:45:59 +02:00
Petru Lingurar 286432badb 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 : 97cc2d3aa8f0753e62c119a614bd8f0a7a648663
extra : histedit_source : 05f5060e9f7fd87a0f4cbce4d3f6539c3a4605d3
2018-11-21 11:21:52 +02:00
Petru Lingurar 462bc4427d 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 : histedit_source : 05022137e5831b0bda948580f6879f5364771e96
2018-11-21 11:21:01 +02:00
Petru Lingurar db2a5ca2c4 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 : a3503eae5210d285ac9834ec808cd3b008177ccb
extra : histedit_source : 281412cabb12cd615b838ccec713596cbe034d0e
2018-11-21 11:18:41 +02:00
Randall Barker f65f0ce0b9 Bug 1507369 - Add GeckoView API to set an arbitrary user agent string r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D12069

--HG--
extra : moz-landing-system : lando
2018-11-16 18:02:26 +00:00
Lina Cambridge 91bb9eef1d Bug 1494713 - Add `HistoryDelegate` and wire up the Java history handlers. r=jchen,snorp
Differential Revision: https://phabricator.services.mozilla.com/D11291

--HG--
extra : moz-landing-system : lando
2018-11-16 17:32:04 +00:00
Lina Cambridge 2e957c8eaf Bug 1494713 - Implement a `GeckoViewHistory` backend. r=jchen,snorp,smaug
Differential Revision: https://phabricator.services.mozilla.com/D11290

--HG--
extra : moz-landing-system : lando
2018-11-16 17:32:02 +00:00
Lina Cambridge 69ee079fa0 Bug 1494713 - Pass the widget for the DocShell to `IHistory::VisitURI`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D11287

--HG--
extra : moz-landing-system : lando
2018-11-16 17:29:57 +00:00
James Willcox 4431298c45 Bug 1505897 - Initialize GeckoSystemStateListener in child process r=agi
Differential Revision: https://phabricator.services.mozilla.com/D11517

--HG--
extra : moz-landing-system : lando
2018-11-16 14:34:48 +00:00
Jim Chen e78fbd8ab8 Bug 1507328 - 2. Make new text input tests pass; r=esawin
Make some fixes in GeckoEditable and GeckoEditableSupport to make the
new tests pass under e10s.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 10:29:30 +00:00
Jim Chen 908dab8248 Bug 1507328 - 1. Add InputConnection tests in TextInputDelegateTest; r=esawin
Port over some test cases from the testInputConnection robocop test.
Tests that involve JS are not currently ported over.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 10:29:22 +00:00
Bogdan Tara 647b9eb109 Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
Mike Hommey 9cc79e2096 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 : moz-landing-system : lando
2018-11-16 01:15:35 +00:00
Narcis Beleuzu df50f67e20 Backed out 6 changesets (bug 1502457) for build bustages. CLOSED TREE
Backed out changeset febdb867785a (bug 1502457)
Backed out changeset 7ea52c602445 (bug 1502457)
Backed out changeset 73bb6a74cad0 (bug 1502457)
Backed out changeset b172bda6e983 (bug 1502457)
Backed out changeset 0e283ddc6c3b (bug 1502457)
Backed out changeset 638fa0251123 (bug 1502457)
2018-11-16 02:13:57 +02:00
Mike Hommey b1fdc6b2a4 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 : moz-landing-system : lando
2018-11-15 23:22:24 +00:00
Narcis Beleuzu 9a9848c838 Backed out changeset ef83f24a68ac (bug 1505897) for mochitest crashes on test_mq_prefers_reduced_motion_dynamic.html. CLOSED TREE 2018-11-16 00:31:41 +02:00
James Willcox eaee9639fd Bug 1505897 - Initialize GeckoSystemStateListener in child process r=agi
Differential Revision: https://phabricator.services.mozilla.com/D11517

--HG--
extra : moz-landing-system : lando
2018-11-15 19:26:19 +00:00
Narcis Beleuzu 7ea4ed8008 Backed out 2 changesets (bug 1500479) for bc failures on browser_ext_tabs_update_highlighted.js. CLOSED TREE
Backed out changeset e93f7c2b5263 (bug 1500479)
Backed out changeset 838185d7a6e7 (bug 1500479)
2018-11-15 21:05:39 +02:00
Matt Brubeck 6a58ec9253 Bug 1493306 - Make GeckoView setLocale API accept a locale list. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D9457

--HG--
extra : moz-landing-system : lando
2018-11-14 23:14:12 +00:00
Ryan Hendrickson 1a95942b97 Bug 1500479 - Part 2: expose tab successors in browser.tabs; r=mixedpuppy,rpl
1. Add successorTabId to the Tab type, so that it will be returned in, e.g.,
   browser.tabs.get calls

2. Extend or create the following methods on the browser.tabs API:
  - update: add successorTabId as an optional property on the provided
    updateProperties object
  - moveInSuccession: new method that manipulates tab successors in bulk

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

--HG--
extra : moz-landing-system : lando
2018-11-14 22:40:52 +00:00
Ryan Hendrickson 23e955ddbf Bug 1500479 - Part 1: browser.tabs.onActivated; r=mixedpuppy,rpl,JanH
Add an optional previousTabId property to the onActivated event,
which is present if the previously activated tab is still open.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 15:17:16 +00:00
Andrea Marchesini c0950f9d8a Bug 1480544 - Allow Console API to log messages on stdout, r=bgrins
This patch introduces 2 new prefs:
- devtools.console.stdout.chrome: if true, console API writes on stdout when
                                  used by chrome code
- devtools.console.stdout.content: console API write on stdout when used by
                                   content code.
2018-11-15 21:47:58 +01:00