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

29035 Коммитов

Автор SHA1 Сообщение Дата
Thomas Wisniewski d1694a0fd4 Bug 1564594 - Add an Enhanced Search webcompat site patch r=nalexander,denschub
This patch ultimately overrides the user-agent which Fennec users send to Google Search pages, choosing a phone- or tablet-specific UA as appropriate.

It involves adding four new metadata keys to the webcompat addon's metadata for user-agent overrides: blocks, permanentPref, experiment, telemetryKey:

- "blocks" specifies URLs for which any requests should be aborted. This allows us to block the Google service worker for now, as it has caused "content corrupted" issues in the past with other enhanced search addons (see https://github.com/wisniewskit/google-search-fixer/issues/1).
- "permanentPref" specifies an about:config preference, which dictates whether the injection is used. Users may set this to `false` to disable the injection outright, and permanently; `true` or `undefined` values allow the injection to function normally.
- "experiment" specifies the name of the experiment this feature is optionally gated behind. Only a Fennec-specific implementation is provided in this patch. The implementation simply queries Switchboard to determine if the experiment is active.
- "telemetryKey" specifies which telemetry key should be flipped to "true" when this injection runs. We will use this to note whether enhanced search has actually been enabled for this profile. Only a Fennec-specific implementation is given in this patch, which actually just sets a Fennec Shared Preference, which Fennec's core telemetry ping later reads in Java to know what the ping should contain.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:32:27 +00:00
Alvina Waseem 32e325ac2f Bug 1533057 - Created Web Notifications API. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D36342

--HG--
extra : moz-landing-system : lando
2019-08-21 16:49:49 +00:00
Thomas Nguyen bbd6f51a56 Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41955

--HG--
extra : moz-landing-system : lando
2019-08-21 13:28:23 +00:00
Coroiu Cristina 23291e6c74 Backed out changeset 4711ec9dec74 (bug 1572392) for lint failure at java/org/mozilla/geckoview/GeckoSession.java on a CLOSED TREE 2019-08-21 16:31:44 +03:00
Emily Toop 57c1506131 Bug 1572392 - Ensure TabSessions can be restored from state after returning from the background in GVE r=geckoview-reviewers,agi
When returning from being backgrounded, GeckoView Example was trying to restore a `TabSession`, but only the underlying `GeckoSession` was being saved, resulting in a `ClassCastException` on restore.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 12:14:20 +00:00
Sylvestre Ledru 7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Ashley Rose 56b7e39dcf Bug 1574028: Fix ColorStateLists on Android Q r=petru
Differential Revision: https://phabricator.services.mozilla.com/D42703

--HG--
extra : moz-landing-system : lando
2019-08-21 07:39:07 +00:00
Nick Alexander 6790ecb3a2 Bug 1550146 - Part 2: Make mach "build" run "stage-package && android assemble-app" for mobile/android. r=glandium
Android artifacts (GeckoView AARs, GeckoViewExample (and Fennec) APKs)
require native libraries (`libxul.so`) and an omnijar (`omni.ja`).
These are produced by `mach package` (really, the `stage-package`
target).  Engineers essentially never want a build without a package
for mobile/android.  This adds mobile/android-only tiers that run
`mach package` and then `mach android assemble-app`.  The latter
consumes `libxul.so` and `omni.ja` to produce _all the things_
relevant to GeckoView engineers.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 03:07:16 +00:00
Agi Sferro 2a2991648a Bug 1564920 - [geckoview] Add logging for loading Profile. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D42233

--HG--
extra : moz-landing-system : lando
2019-08-20 20:17:57 +00:00
Brad Arant c049730cc6 Bug 1359363 - Apply diffutil to search list updates for smoother ui experience.;r=petru
Differential Revision: https://phabricator.services.mozilla.com/D37733

--HG--
extra : moz-landing-system : lando
2019-07-22 06:58:29 +00:00
chrmod 3aafa3960e Bug 1562844 - GeckoView webextensions tabs and webnavigation listeners support r=robwu,rpl,snorp
This changes provide basic support for webextenion tabs and webNavigation listeners by implementing missing objects on which Fennec implementation was relying.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 18:59:55 +00:00
Mark Banner b1970e6a2f Bug 1571466 - Cleanup unnecessary ESLint global definitions. r=mossop
These are raised as redeclares or unused variables by ESLint 6.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:11:56 +00:00
Vlad Baicu 9b9c9fbffe Bug 1573868 - Upload Mobile activation ping in onStart. r=nalexander
Bug 1534451 added a non-trivial amount of background computation during
onCreate. This introduced regressions by tickling the balance of existing
race conditions.

We're changing this by now uploading in onStart. Ideally we want to send
this mobile activation ping at least once from every client at startup. This change
should have minimal impact and keep the same consistency with the core ping.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 22:55:38 +00:00
Robert Helmer eb7c0990a0 Bug 1573285 - set system add-on enable pref on by default for Fennec r=snorp
This was originally added in bug 1428459 to separate system add-on updates from app updates, but the pref only made it to desktop and not mobile.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 13:52:14 +00:00
Randall E. Barker 393595d494 Bug 1574341 - Add devtools.console.stdout.chrome to GeckoRuntimeSettings.Builder.debugLogging() r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D42230

--HG--
extra : moz-landing-system : lando
2019-08-16 16:02:08 +00:00
Oana Pop Rus cc55a912e9 Backed out changeset 6d823f106e69 (bug 1533057) for Android mochitest failure in AndroidAlerts.cpp on a CLOSED TREE 2019-08-16 02:28:42 +03:00
Nicholas Nethercote 00f929e261 Bug 1572590 - Indent conditionally-defined prefs in geckoview-prefs.js. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D41317

--HG--
extra : moz-landing-system : lando
2019-08-15 21:07:38 +00:00
Nicholas Nethercote e39e833d20 Bug 1572590 - Indent conditionally-defined prefs in mobile.js. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D41316

--HG--
extra : moz-landing-system : lando
2019-08-15 21:07:26 +00:00
Alvina Waseem b465cfd307 Bug 1533057 - Created Web Notifications API. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D36342

--HG--
extra : moz-landing-system : lando
2019-08-15 20:13:57 +00:00
Brindusan Cristian d674f265db Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : layout/reftests/mathml/dir-6-ref.html => testing/web-platform/tests/mathml/presentation-markup/direction/direction-006-ref.html
2019-08-15 12:50:36 +03:00
Brindusan Cristian 3a61fb322f Merge inbound to mozilla-central. a=merge 2019-08-15 12:45:55 +03:00
Mike Hommey c173540215 Bug 1573435 - Use toolchain fetches for all remaining toolchain uses. r=nalexander
The remaining uses all need adjustements to in-tree mozconfigs, so they
all need to be done at once.

However, to make things slightly more intelligible, we do this in two
steps. This is step 1: we modify the use_toolchain transform to take care of
the transformation, while keeping the task definitions intact, so that
we only deal with mozconfig and build script adjustements here.

Differential Revision: https://phabricator.services.mozilla.com/D41890
2019-08-15 11:21:52 +09:00
Nick Alexander 44608f65ab Bug 1570411 - Add --without-fennec to make `mach package` not produce Fennec APK. r=chmanchester
When working on GeckoView, there's no need to produce a Fennec APK.
This commit avoids doing that work at `mach package` time.  There are
many other things we'd like to stop doing as we remove Fennec from the
tree, so we add a general flag to guard such things.

Depends on D41447

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

--HG--
extra : moz-landing-system : lando
2019-08-14 20:40:00 +00:00
Kristen Wright 49185e9481 Bug 1573268 - Convert zoom.maxPercent and zoom.minPercent to static prefs. r=njn
Converts zoom.maxPercent and zoom.minPercent to static prefs, which creates a new "zoom" category on StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 18:29:55 +00:00
kriswright 6a396a8167 Bug 1573268 - Convert 3 font.size.inflation.* prefs to static prefs. r=njn
Converts font.size.inflation.minTwips, font.size.inflation.emPerLine, and font.size.inflation.mappingIntercept to static prefs and removes their associated functions from nsLayoutUtils. There are associated member variables in PresShell, but since documentation specified that these variables are set specifically to prevent changes to the cache from being read until page reload, I made the decision to leave these and set them to the static prefs.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 18:19:33 +00:00
Agi Sferro 6c7bbc59e7 Bug 1511129 - Add Request Desktop Site to GVE. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D42045

--HG--
extra : moz-landing-system : lando
2019-08-14 23:40:18 +00:00
Nick Alexander 3a8b516942 Bug 1570690 - Synchronously extract system addons before Gecko startup in Fennec. r=VladBaicu,Grisha
Right now, there are a lot of things that race to complete before
Gecko creates or first reads the profile.  One of those things is
extracting system addons (the `assets/features/` directory of the APK)
to disk, ready for the Gecko profile code to enumerate them.

Bug 1534451 added a non-trivial amount of background
computation during `onCreate`.  This tickled the existing race
conditions such that system addon extraction frequently loses the
race, making system addons unreliable.

In addition, for reasons unknown, `PostUpdateHandler` did its work
during `onStart`.  But the Gecko profile was created/first read
earlier, in `onCreate`.  This widened the race window.

This commit pulls the update handler into `onCreate`, which is at
least early enough for it to have a chance of winning the race; and it
makes the work synchronous, which is the simplest way to ensure that
it is actually in place before Gecko startup (and profile
creation/first read).  Since system addons are our "get out of jail"
card in many situations, the cost of extracting earlier seems like a
good trade-off.  That is, I'm sure the early disk access will appear
in profiles, and it may even regress Raptor -- but it's a good
trade-off.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 18:10:55 +00:00
Agi Sferro 2841328338 Bug 1553515 - Enable geckoview-test on debug x86_64. r=snorp
This turns off geckoview-test on arm debug.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 16:29:43 +00:00
Ciure Andrei 566e7e2e28 Backed out 6 changesets (bug 1572590) for causing browser_parsable_script.js to perma fail CLOSED TREE
Backed out changeset ebe2ebcca7b3 (bug 1572590)
Backed out changeset 2b5c252ee874 (bug 1572590)
Backed out changeset 5f0649891808 (bug 1572590)
Backed out changeset fedd2e1da156 (bug 1572590)
Backed out changeset 8dc530a45e3f (bug 1572590)
Backed out changeset 1bba9cf0078b (bug 1572590)
2019-08-14 16:40:02 +03:00
Nicholas Nethercote 951ae08e7e Bug 1572590 - Indent conditionally-defined prefs in geckoview-prefs.js. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D41317

--HG--
extra : moz-landing-system : lando
2019-08-14 08:19:29 +00:00
Nicholas Nethercote 7e78f0a44b Bug 1572590 - Indent conditionally-defined prefs in mobile.js. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D41316

--HG--
extra : moz-landing-system : lando
2019-08-14 08:19:17 +00:00
Olli Pettay 1373bb3701 Bug 1563587, Make history.back/forward/go asynchronous, r=farre
The main part of the change is the change to ChildSHistory - make it possible to have Go() to be called asynchronously
and also let one to cancel pending history navigations. History object (window.history) can then use either the sync or
async Go(), depending on the dom.window.history.async pref.

LoadDelegate, which is used by GeckoView, needs special handling, since
it spins event loop nestedly. With session history loads and same-document loads we can just
bypass it.
To deal with same-document case, MaybeHandleSameDocumentNavigation is split to IsSameDocumentNavigation,
which collects relevant information about the request and returns true if same-document navigation should happen,
and then later HandleSameDocumentNavigation uses that information to trigger the navigation.
SameDocumentNavigationState is used to pass the information around.

referrer-policy-test-case.sub.js is buggy causing tests to pass only on Firefox with sync history API.

nested-context-navigations-iframe.html.ini is added because of https://bugzilla.mozilla.org/show_bug.cgi?id=1572932

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

--HG--
extra : moz-landing-system : lando
2019-08-14 06:38:47 +00:00
Randall E. Barker 7da0095edf Bug 1573697 - Prevent GeckoSystemStateListener.nativeOnDeviceChanged() from asserting when called off of the UI thread. r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41871

--HG--
extra : moz-landing-system : lando
2019-08-14 00:06:37 +00:00
Randall E. Barker 5f55a3830a Bug 1573304 - Add GeckoRuntimeSettings.debugLogging() function to control logging r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D41647

--HG--
extra : moz-landing-system : lando
2019-08-14 00:19:45 +00:00
Nicholas Nethercote 3aa9f46986 Bug 1572336 - Merge marionette.js into all.js. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D41151

--HG--
extra : moz-landing-system : lando
2019-08-13 23:49:39 +00:00
Andrei Lazar 3045c46408 Bug 1568674 Leanplum startup problem in Fennec 68.0 r=VladBaicu
Enabled bidirectional realtime variable updates for production mode.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 14:00:13 +00:00
Agi Sferro 5e07bfcb44 Bug 1572879 - [geckoview] Add bug links to the CHANGELOG. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D41457

--HG--
extra : moz-landing-system : lando
2019-08-13 16:52:15 +00:00
Csoregi Natalia c2bc86bafd Backed out changeset a3d80ef3d9b9 (bug 1568674) for Android build bustage on MmaStubImp.java:20. CLOSED TREE 2019-08-13 16:51:36 +03:00
Andrei Lazar 52a9e277bd Bug 1568674 Leanplum startup problem in Fennec 68.0 r=VladBaicu
Enabled bidirectional realtime variable updates for production mode.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 12:32:49 +00:00
Nick Alexander 8e0d872e6e Bug 1542004 - Add `android-javadoc` lint. r=agi
This also applies the error listener just to the Javadoc tasks
(previously, it applied to the `apiGenerate*` tasks as well, 'cuz they
inherit from `Javadoc`).

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

--HG--
extra : moz-landing-system : lando
2019-08-13 01:45:03 +00:00
Dylan Roeh 5debf9550f Bug 1573251 - Add missing @returns in ContentBlocking. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D41628

--HG--
extra : moz-landing-system : lando
2019-08-12 20:04:11 +00:00
Nick Alexander 3ee28a80a5 Bug 1570764 - Include MOZ_SOURCE_* fields in GeckoView POM files. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D40306

--HG--
extra : moz-landing-system : lando
2019-08-12 20:12:08 +00:00
Narcis Beleuzu 8df7891fe5 Backed out changeset a432a8f794b4 (bug 1570764) for toolchain bustages on build.gradle . CLOSED TREE 2019-08-12 22:15:22 +03:00
Nick Alexander 8c1a58244c Bug 1570764 - Include MOZ_SOURCE_* fields in GeckoView POM files. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D40306

--HG--
extra : moz-landing-system : lando
2019-08-02 04:07:46 +00:00
Brad Arant 31ac644a83 Bug 1565488 - Wrong panel from welcome screen is highlighted after clearing data;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D39797

--HG--
extra : moz-landing-system : lando
2019-07-30 16:22:11 +00:00
Cosmin Sabou 4569ff802f Backed out changeset 2a9a7371947a (bug 1562844) for Android mochitest failures on test_ext_tabs_onUpdated. CLOSED TREE 2019-08-12 19:18:01 +03:00
Agi Sferro de8452c468 Bug 1571288 - Fix gradle warnings about obsolete APIs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D41440

--HG--
extra : moz-landing-system : lando
2019-08-12 15:18:23 +00:00
chrmod 25488b089e Bug 1562844 - GeckoView webextensions tabs and webnavigation listeners support r=robwu,rpl,snorp
This changes provide basic support for webextenion tabs and webNavigation listeners by implementing missing objects on which Fennec implementation was relying.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 12:51:52 +00:00
Nicholas Nethercote d138bffba8 Bug 1572582 - Merge healthreport-prefs.js into all.js. r=chutten
This makes prefs definition simpler, more consistent, and less error-prone.

The patch also changes the form of the "not Android" condition to one used more
widely in all.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-11 23:31:30 +00:00
Jan Henning 59c8af08af Bug 1511177 - Part 0b: Keep changelog order consistent. r=snorp
It seems like we can't quite decide whether the change log for a version should
grow top-down or bottom-up. hg blame and the numbering of references seems to
somewhat favour the latter, though.

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

--HG--
extra : moz-landing-system : lando
2019-08-10 11:46:40 +00:00
Jan Henning 0b70544171 Bug 1511177 - Part 0a: Fix Javadoc comment. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D40680

--HG--
extra : moz-landing-system : lando
2019-08-10 11:46:33 +00:00
Eitan Isaacson 3194a92923 Bug 1572256 - Clear virtual cursor position when focus clear action is invoked. r=geckoview-reviewers,Jamie,snorp
Differential Revision: https://phabricator.services.mozilla.com/D41114

--HG--
extra : moz-landing-system : lando
2019-08-09 00:07:21 +00:00
Botond Ballo 84e43ba944 Bug 1528775 - Disable immediate handoff on all platforms. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D41434

--HG--
extra : moz-landing-system : lando
2019-08-09 19:45:57 +00:00
Dylan Roeh 94defbb792 Bug 1567268 - [2.0] Update GVE and tests to reflect better ETP reporting. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D40695

--HG--
extra : moz-landing-system : lando
2019-08-09 14:17:57 +00:00
Dylan Roeh 8ac0d59281 Bug 1567268 - [1.0] Report all ETP-related blocking and non-blocking. r=geckoview-reviewers,snorp,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D40694

--HG--
rename : mobile/android/modules/geckoview/GeckoViewContentBlocking.jsm => mobile/android/chrome/geckoview/GeckoViewContentBlockingChild.js
extra : moz-landing-system : lando
2019-08-09 14:17:35 +00:00
Agi Sferro a2f05cba15 Bug 1566367 - [4.0] Add test for onTelemetryReceived. r=chutten,Dexter,snorp
Differential Revision: https://phabricator.services.mozilla.com/D40774

--HG--
extra : moz-landing-system : lando
2019-08-09 04:51:05 +00:00
Eugen Sawin 5efb6dc130 Bug 1566367 - [3.0] Add GVE example telemetry delegate. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38900

--HG--
extra : moz-landing-system : lando
2019-08-09 04:51:07 +00:00
Eugen Sawin 092914a88e Bug 1566367 - [1.0] Add GV RuntimeTelemetry delegate. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38898

--HG--
extra : moz-landing-system : lando
2019-08-09 04:49:57 +00:00
Makoto Kato ed054cb14d Bug 1563640 - Swiftkey keyboard doesn't work correctly on textboxes. r=geckoview-reviewers,snorp
This issue is race condition of Gecko thread and InputConnection thread.

When inputting `[ENTER]` in VKB, Switftkey generates keyboard event (down and up), then set empty span to current position.

It means that the following occurs.

1. Inserting CR by [ENTER] key event of Swiftkey.
2. Swiftkey sets empty span with current selection position. Then GV sets new selection with it due to adding span.
3. By 1., text and selection are updated, then GV receives new selection position by 1.
4. Selection notification by 2. is received, then selection is back to previous position unfortunately.

Although we should use 1 and 3's selection, GV uses 4's selection since this is last notification. But 2's selection is current selection until we don't update text. So it is unnecessary to set same selection again by 2.

Also, most IMEs don't send key event by 1, and they replace with new text without 1 and 2 So this issue occurs on Switftkey only.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 14:22:35 +00:00
Daniel Varga c9464b0e91 Backed out 3 changesets (bug 1511177) for web-platform-tests-reftests at /css/css-tables/percent-width-cell-dynamic.html on a CLOSED TREE
Backed out changeset bbe9d07407c9 (bug 1511177)
Backed out changeset 13004b37170e (bug 1511177)
Backed out changeset 23282c683f67 (bug 1511177)

--HG--
extra : rebase_source : d92b55d541e4e366aca8db62d9398bdb23209e7b
2019-08-09 01:28:23 +03:00
Jan Henning 16f913ef60 Bug 1511177 - Part 1: Make desktop mode viewport width configurable in GeckoRuntimeSettings. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D40679

--HG--
extra : moz-landing-system : lando
2019-08-08 19:38:35 +00:00
Jan Henning 0a96e15b6e Bug 1511177 - Part 0b: Keep changelog order consistent. r=snorp
It seems like we can't quite decide whether the change log for a version should
grow top-down or bottom-up. hg blame and the numbering of references seems to
somewhat favour the latter, though.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 19:38:28 +00:00
Jan Henning 549f9e6c4a Bug 1511177 - Part 0a: Fix Javadoc comment. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D40680

--HG--
extra : moz-landing-system : lando
2019-08-08 19:38:11 +00:00
Bogdan Tara 27fee7c535 Backed out changeset 987353e173e1 (bug 1572191) for triggering many android failures CLOSED TREE 2019-08-08 19:46:32 +03:00
Dylan Roeh 392fd88eee Bug 1572191 - Set memory-only permission manager DB pref in GV. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D41072

--HG--
extra : moz-landing-system : lando
2019-08-08 14:17:27 +00:00
Dylan Roeh 7c3a0439ed Bug 1499394 - [3.0] Update tests, BasicGeckoViewActivity, and CHANGELOG around PromptDelegate changes. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D40684

--HG--
extra : moz-landing-system : lando
2019-08-08 13:51:00 +00:00
Dylan Roeh 20d90cca70 Bug 1499394 - [2.0] Add new PromptDelegate and handlePromptEvent. r=geckoview-reviewers,snorp,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D40683

--HG--
extra : moz-landing-system : lando
2019-08-08 13:50:33 +00:00
Dylan Roeh 077fdb41dc Bug 1499394 - [1.0] Kill off old PromptDelegate, PromptCallback, and handlePromptEvent. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D40682

--HG--
extra : moz-landing-system : lando
2019-08-08 13:50:06 +00:00
Julian Descottes 3df7a88f3b Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D41009

--HG--
rename : devtools/server/main.js => devtools/server/debugger-server-connection.js
rename : devtools/server/main.js => devtools/server/debugger-server.js
extra : moz-landing-system : lando
2019-08-08 12:44:13 +00:00
Randall E. Barker 5911905e7c Bug 1571088 - Add LOAD_FLAGS_REPLACE_HISTORY to GeckoSession LoadFlags r=geckoview-reviewers,snorp,droeh
Bug 1571088 - Add LOAD_FLAGS_REPLACE_HISTORY to GeckoSession LoadFlags

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

--HG--
extra : moz-landing-system : lando
2019-08-07 22:58:48 +00:00
James Willcox b69eb546f3 Bug 1570661 - Don't save GeckoView state in Fennec r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41017

--HG--
extra : moz-landing-system : lando
2019-08-07 14:54:46 +00:00
Ehsan Akhgari 672b7500be Bug 1571770 - Part 2: Package antitracking.manifest in packaged builds; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D40844

--HG--
extra : moz-landing-system : lando
2019-08-07 14:44:07 +00:00
Mike Hommey 0d49eb3466 Bug 1571562 - Make tooltool-download.sh download and extract to MOZ_FETCHES_DIR. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40712
2019-08-07 13:54:18 +09:00
rdalal 43acd674ea Bug 1569330 - Disable telemetry check in Normandy recipe runner r=mythmon,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39576

--HG--
extra : moz-landing-system : lando
2019-08-06 23:54:34 +00:00
Makoto Kato 9f979c6057 Bug 1571605 - Don't use file separator to find classes.jar. r=agi
I have landed bug 1527796 to support artifact build on Windows, but after bug 1515248 is landed, it is broken again. Path separator on Windows is '\', not '/'.  So we should use leaf name instead.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 23:10:13 +00:00
Agi Sferro 14e46e06a2 Bug 1566367 - [0.0] Fix javadoc in WebExtensionController. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D40773

--HG--
extra : moz-landing-system : lando
2019-08-06 22:03:20 +00:00
Agi Sferro ed26ad726a Bug 1565422 - Fix intermittent crashContentMultipleSessions. r=droeh
This test makes the implicit assumption that the two events cannot happen near
instantaneously, but as evidence from the test results, sometimes they do. This
patch fixes the intermittent by waiting for both events at the same time.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 18:49:10 +00:00
Emily Toop 67f8b741c4 Bug 1564815 - Fix broken CHANGELOG links. r=agi
1. Move all link referneces into single list to make is easier to spot duplicates
2. Remove duplicates
3. Update links that are broken
4. Create variable for javadoc_url so that broken relative paths are not a problem.
5. Add links to changelog entries that did not have them, but should have.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 16:41:18 +00:00
Agi Sferro 060d39ba77 Bug 1571326 - Update to apilint 0.2.5. r=droeh
Before this version, apilint would not include CHANGELOG errors in the json
report. After Bug 1512487 we started ignoring apilint output (and erorr code)
and only consider the json report, so the CHANGELOG erorrs broke.

Updating to 0.2.5 makes it so the CHANGELOG errors are included in the json
report correctly. E.g.:

```
mobile/android/geckoview/src/main/java/org/mozilla/geckoview/doc-files/CHANGELOG.md
  384:14  error  The api changelog file is out of date. Please update the file
          and modify the [api-version] line as follows: [api-version]:
          a0b1e88e8bb3045a22c0942d736f4e9b4532bdeb  wrong_api_version
          (android-api-lint)
```

The apilint fix is here:
9cadbd0686

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

--HG--
extra : moz-landing-system : lando
2019-08-05 17:48:21 +00:00
Nicholas Nethercote eb6de3be4d Bug 1570212 - Convert dom.disable_window_print to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40158

--HG--
extra : moz-landing-system : lando
2019-08-02 11:59:05 +00:00
Gabriele Svelto 50f416564f Bug 1570789 - Remove the unused field from GeckoView/Fennec crash reports r=nalexander,agi
Differential Revision: https://phabricator.services.mozilla.com/D40331

--HG--
extra : moz-landing-system : lando
2019-08-02 08:26:05 +00:00
Kris Maglione 22592538f5 Bug 1561015: Part 1 - Use BrowsingContext in window provider APIs. r=bzbarsky,mossop
This is the first step in making it possible to return remote WindowProxy
objects from window.open() and related APIs.

This patch also incidentally fixes a bug where getContentWindowOrOpenURI
returned the top-level browser window rather than the new content window when
passed OPEN_NEWWINDOW for the `aWhere` parameter. This was not the expected
behavior, and was a potentially major footgun for any new users who expected
to always get the content window for the URL they were loading, rather than
sometimes getting a chrome browser window instead.

For now, that case just returns null, which is only a minor footgun, rather
than the major one we had before.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:48:33 +00:00
Nick Alexander e592c76817 Bug 1512487 - Part 4: Deprecate `mach android {api-lint,checkstyle,findbugs,lint,test}`. r=agi
It's a pity that Mach's conditions facility can't handle subcommands,
but it's a deep enough limitation that it's not worth addressing for
this patch.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:30:30 +00:00
Nick Alexander c5f931e3b5 Bug 1512487 - Part 3: Convert Android-specific code analyses into mozlints. r=ahal,agi
API lint is arguably the most valuable lint of all, but it's also hard
to fit into the Phab ecosystem, since there's no place to hang the
"API hash not correct" message in the case when the hash hasn't been
updated at all.  Therefore, this commit doesn't convert it.  See also
https://github.com/mozilla-mobile/gradle-apilint/issues/61 for adding
file/line information to API lint.

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

--HG--
rename : mobile/android/config/mozconfigs/android-api-16-frontend/nightly => mobile/android/config/mozconfigs/android-api-16/nightly-android-lints
extra : moz-landing-system : lando
2019-08-02 20:34:23 +00:00
Nick Alexander 524e59dc74 Bug 1512487 - Pre: Expose `gradle_lock` to consumers. r=agi
It's not worth accommodating all the ways to invoke commands from
Python, so expose the lock itself so that consumers can use
subprocess, Popen, etc as they choose.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:29:46 +00:00
Nick Alexander 1b457812c6 Bug 1512487 - Pre: Remove unused android-api-16-gradle mozconfig. r=agi
This was Gradle-only and then !Gradle-only.  Now Gradle is required
and this is unused.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:29:39 +00:00
Andreea Pavel 55a6aabc6b Bug 1555656 - disabled testDeviceRecordingEventAudio on android debug r=fluffyemily
Differential Revision: https://phabricator.services.mozilla.com/D40359

--HG--
extra : moz-landing-system : lando
2019-08-02 13:51:28 +00:00
Cosmin Sabou 2a61037dec Backed out changeset 8f1beb012fe9 (bug 1555656) for causing Android build bustages. 2019-08-02 14:43:57 +03:00
Andreea Pavel 4f94425441 Bug 1555656 - disabled testDeviceRecordingEventAudio on android debug r=fluffyemily
Differential Revision: https://phabricator.services.mozilla.com/D40359

--HG--
extra : moz-landing-system : lando
2019-08-02 09:53:25 +00:00
Ciure Andrei d7ec6fb695 Backed out changeset 6862186e032b (bug 1570764) for causing toolchains bustages CLOSED TREE 2019-08-02 06:57:44 +03:00
Nick Alexander aba3c8f154 Bug 1570764 - Include MOZ_SOURCE_* fields in GeckoView POM files. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D40306

--HG--
extra : moz-landing-system : lando
2019-08-02 01:05:07 +00:00
Brad Arant 228c3aa18d Bug 1562622 - Calling getViewTreeObserver again to get new object to test isAlive().;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D39929

--HG--
extra : moz-landing-system : lando
2019-07-31 14:35:08 +00:00
Imanol Fernandez 613d14e352 Bug 1570383 - Call GeckoThread.onPause() and onResume() on GeckoRuntime lifecycle events. r=snorp,rbarker
Call GeckoThread.onPause() and onResume() on GeckoRuntime lifecycle events.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 16:02:56 +00:00
Grisha Kruglov 33327053e3 Bug 1570496 - Forward-compatible treatment of 'action' WebChannel payload param r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40118

--HG--
extra : moz-landing-system : lando
2019-08-01 00:09:23 +00:00
Bogdan Tara 331634801e Backed out changeset bcdd64c29e02 (bug 1570496) for ES Lint failure on FxAccountsWebChannel.jsm CLOSED TREE 2019-08-01 02:44:24 +03:00
Grisha Kruglov b86d74ef84 Bug 1570496 - Forward-compatible treatment of 'action' WebChannel payload param r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40118

--HG--
extra : moz-landing-system : lando
2019-07-31 23:01:22 +00:00
Grisha Kruglov eaeb821d6a Bug 1568605 - Send corrent Leanplum events during signin, signup and reconnect r=nalexander
This patch augments FxA messages sent to native code with just enough information that we are able
to differentiate between "signin", "signup" and "reconnect" events.

Corresponding Leanplum events are sent on the receiving end of the FxA messages.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 18:28:25 +00:00
Olli Pettay 85a74a85cd Bug 1507495, Enable Pointer events on GeckoView by default, r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D39965

--HG--
extra : moz-landing-system : lando
2019-07-31 01:02:32 +00:00
Johan Lorenzo 13648fa0df Bug 1563711 - Remove target.maven.zip r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38175

--HG--
extra : moz-landing-system : lando
2019-07-30 15:35:12 +00:00
Petru Lingurar 54ed625fc0 Bug 1568810 - Intersect platform TLS ciphers with our desired ones; r=nalexander
This would ensure we will not use ciphers not supported by the platform.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 15:55:46 +00:00
Dylan Roeh 1e945a8dd6 Bug 1553603 - Support "capture" attribute in Gecko and expose in GV. r=geckoview-reviewers,smaug,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D38746

--HG--
extra : moz-landing-system : lando
2019-07-30 18:13:05 +00:00
ksenia 8f578bcca2 Bug 1568636 - Import WebCompat GoFaster 5.0.2 sources r=denschub,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D39351

--HG--
rename : browser/extensions/webcompat/AboutCompat.jsm => browser/extensions/webcompat/about-compat/AboutCompat.jsm
rename : browser/extensions/webcompat/aboutCompat.css => browser/extensions/webcompat/about-compat/aboutCompat.css
rename : browser/extensions/webcompat/aboutCompat.html => browser/extensions/webcompat/about-compat/aboutCompat.html
rename : browser/extensions/webcompat/aboutCompat.js => browser/extensions/webcompat/about-compat/aboutCompat.js
rename : browser/extensions/webcompat/aboutPage.js => browser/extensions/webcompat/about-compat/aboutPage.js
rename : browser/extensions/webcompat/aboutPage.json => browser/extensions/webcompat/about-compat/aboutPage.json
rename : browser/extensions/webcompat/aboutPageProcessScript.js => browser/extensions/webcompat/about-compat/aboutPageProcessScript.js
rename : browser/extensions/webcompat/ua_overrides.js => browser/extensions/webcompat/data/ua_overrides.js
rename : browser/extensions/webcompat/aboutConfigPrefs.js => browser/extensions/webcompat/experiment-apis/aboutConfigPrefs.js
rename : browser/extensions/webcompat/aboutConfigPrefs.json => browser/extensions/webcompat/experiment-apis/aboutConfigPrefs.json
rename : browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css => browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css
rename : mobile/android/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js => browser/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js
rename : mobile/android/extensions/webcompat/AboutCompat.jsm => mobile/android/extensions/webcompat/about-compat/AboutCompat.jsm
rename : browser/extensions/webcompat/aboutCompat.css => mobile/android/extensions/webcompat/about-compat/aboutCompat.css
rename : mobile/android/extensions/webcompat/aboutCompat.html => mobile/android/extensions/webcompat/about-compat/aboutCompat.html
rename : mobile/android/extensions/webcompat/aboutCompat.js => mobile/android/extensions/webcompat/about-compat/aboutCompat.js
rename : mobile/android/extensions/webcompat/aboutPage.js => mobile/android/extensions/webcompat/about-compat/aboutPage.js
rename : browser/extensions/webcompat/aboutPage.json => mobile/android/extensions/webcompat/about-compat/aboutPage.json
rename : browser/extensions/webcompat/aboutPageProcessScript.js => mobile/android/extensions/webcompat/about-compat/aboutPageProcessScript.js
rename : mobile/android/extensions/webcompat/ua_overrides.js => mobile/android/extensions/webcompat/data/ua_overrides.js
rename : browser/extensions/webcompat/aboutConfigPrefs.js => mobile/android/extensions/webcompat/experiment-apis/aboutConfigPrefs.js
rename : browser/extensions/webcompat/aboutConfigPrefs.json => mobile/android/extensions/webcompat/experiment-apis/aboutConfigPrefs.json
rename : browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css => mobile/android/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css
rename : mobile/android/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js => mobile/android/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js
extra : moz-landing-system : lando
2019-07-30 17:07:40 +00:00
Alex Catarineu 536fd2e65f Bug 1561322 - Allow spoofing strings in HTML forms r=baku,Pike
When privacy.spoof_english = 2, we should hide the user's
locale in content. So we use en-US default strings for HTML
form elements, such as a Submit button.

We also force GetLocalizedEllipsis() to always return the
ellipsis used by en-US.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 13:22:22 +00:00
Andrei Lazar 95c2abace2 Bug 1566406 Upgrade Leanplum SDK from 3.0.2 to 4.2.7 r=petru
Differential Revision: https://phabricator.services.mozilla.com/D38675

--HG--
extra : moz-landing-system : lando
2019-07-24 14:27:19 +00:00
Emily Toop 8a99fa75f8 Bug 1562301: Stop URL bar hiding tab switcher in GVE. r=geckoview-reviewers,agi
The URL bar was expanding to cover the tab switcher button, meaning that a new tab could not be navigated to after opening.

This is needed so that members of the Gecko media team can replicate an issue in GVE that causes images not to be displayed in Fenix.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 15:40:20 +00:00
James Willcox 6c9d00461e Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:45 +00:00
James Willcox 4274c61812 Bug 1561079 - Add a `GeckoSession.loadUri()` overload that takes a referring `GeckoSession` r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:40 +00:00
Thomas Nguyen 180aa6b0a1 Bug 1566833 - Update to use ReferrerInfo in nsIWebBrowserChrome3 r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D38381

--HG--
extra : moz-landing-system : lando
2019-07-29 10:13:45 +00:00
Makoto Kato 9285dad516 Bug 1545393 - Remove layout.reflow.synthMouseMove setting from GeckoView r=geckoview-reviewers,agi
`layout.reflow.synthMouseMove` was added by Fennec/Maemo era (bug 657844) since this was low-end device. Since `layout.reflow.synthMouseMove` is false even if now, sampling rate of GeckoView's mouse event is still very sparse.

Since today is 2019, so we should change this to match sampling rate of mouse event with desktop.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 16:59:08 +00:00
Agi Sferro 089df843eb Bug 1566704 - Prevent stall if GV is initialized with a non-Activity context. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D39418

--HG--
extra : moz-landing-system : lando
2019-07-26 21:29:17 +00:00
chrmod 271cd169eb Bug 1565782 - Implement browser.tabs.remove for GeckoView webextensions APIs r=agi,robwu,rpl,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D38216

--HG--
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/background.js => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs-create/background.js
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/manifest.json => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs-create/manifest.json
extra : moz-landing-system : lando
2019-07-26 20:26:47 +00:00
Agi Sferro 194ec7662a Bug 1568982 - Include source line information in apilint. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39401

--HG--
extra : moz-landing-system : lando
2019-07-25 20:31:38 +00:00
Emily Toop 5c825f981a Bug 1560641: Add a lock around `mCapturePixelsResults`. @geckoview-reviewers r=geckoview-reviewers,snorp
This is to ensure that multiple completions cannot be attempted on the same `GeckoResult`, resulting in crashes.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:23:30 +00:00
Grisha Kruglov 09a27de816 Bug 1568352 - Add Firefox Preview Nightly to AuthStateProvider's whitelist r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39113

--HG--
extra : moz-landing-system : lando
2019-07-24 21:22:54 +00:00
Bobby Holley 5d23efb2eb Bug 1566583 - Bridge GeckoResult to MozPromise and return a GeckoResult from GeckoProcessManager::start. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38436

--HG--
extra : moz-landing-system : lando
2019-07-24 21:10:14 +00:00
Bobby Holley 59bcd549ee Bug 1566583 - Associate each GeckoResult listener with an explicit dispatcher. r=snorp
This paves the way for us to use a dispatcher other than mDispatcher,
which will be useful in the MozPromise integration in the coming
patches.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 21:10:12 +00:00
Bobby Holley e887cf0b8d Bug 1566583 - Generalize GeckoResult.mHandler to a Dispatcher interface. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D39089

--HG--
extra : moz-landing-system : lando
2019-07-24 21:10:11 +00:00
Coroiu Cristina f3386dea34 Backed out 4 changesets (bug 1566583) for apilint and checkstyle failure at geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java on a CLOSED TREE
Backed out changeset 3700ef585384 (bug 1566583)
Backed out changeset fbc829be6c4f (bug 1566583)
Backed out changeset 14ea9c84bb0e (bug 1566583)
Backed out changeset 92f3b1bb34a4 (bug 1566583)
2019-07-24 22:59:54 +03:00
Agi Sferro 094f958c69 Bug 1522795 - Update android gradle plugin to 3.4.2. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39106

--HG--
extra : moz-landing-system : lando
2019-07-24 18:48:54 +00:00
Bobby Holley 53719788a1 Bug 1566583 - Bridge GeckoResult to MozPromise and return a GeckoResult from GeckoProcessManager::start. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38436

--HG--
extra : moz-landing-system : lando
2019-07-24 19:19:40 +00:00
Bobby Holley c92332afaf Bug 1566583 - Associate each GeckoResult listener with an explicit dispatcher. r=snorp
This paves the way for us to use a dispatcher other than mDispatcher,
which will be useful in the MozPromise integration in the coming
patches.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 19:19:38 +00:00
Bobby Holley 79668e85e1 Bug 1566583 - Generalize GeckoResult.mHandler to a Dispatcher interface. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D39089

--HG--
extra : moz-landing-system : lando
2019-07-24 19:19:31 +00:00
Kershaw Chang 0bcf85d6e8 Bug 1566030 - Remove nsIClientAuthUserDecision r=keeler,snorp
This patch removes nsIClientAuthUserDecision and add another output parameter to nsIClientAuthDialogs.chooseCertificate.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 17:49:45 +00:00
Coroiu Cristina 075c52994f Backed out 4 changesets (bug 1561079, bug 1561913) for mochitest failures at dom/base/test/test_bug375314.html on a CLOSED TREE
Backed out changeset 0d1eaf86253f (bug 1561913)
Backed out changeset 1d1be67a5950 (bug 1561079)
Backed out changeset 528a46ffe2af (bug 1561079)
Backed out changeset f562e67e38cf (bug 1561079)
2019-07-24 20:56:30 +03:00
James Willcox ffd5747f58 Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-24 16:34:00 +00:00
James Willcox 3d039180df Bug 1561079 - Add a `GeckoSession.loadUri()` overload that takes a referring `GeckoSession` r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-24 16:33:52 +00:00
Imanol Fernandez d37254f9ca Bug 1567232 - Add more proguard rules for R8 compatibility. r=agi,rbarker
Add more proguard rules for R8 compatibility

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:13:15 +00:00
Bogdan Tara e82c5fe738 Backed out 4 changesets (bug 1561079, bug 1561913) for apilint and checkstyle failures CLOSED TREE
Backed out changeset 50244d8132f9 (bug 1561913)
Backed out changeset 9abb44cca93b (bug 1561079)
Backed out changeset e6e23c902808 (bug 1561079)
Backed out changeset e48cf42b707f (bug 1561079)
2019-07-24 19:23:44 +03:00
Andrei Lazar 4f11cdabb3 Bug 1568521 Tracking protection doorhanger's Enable/Disable states don't work r=VladBaicu
Now using lastURI instead of principal and now we are using the right functions in order to test permissions.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 16:00:32 +00:00
James Willcox 83bfba712a Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-24 15:48:02 +00:00
James Willcox b06b598252 Bug 1561079 - Add a `GeckoSession.loadUri()` overload that takes a referring `GeckoSession` r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-24 15:48:00 +00:00
Bogdan Tara 6d06c40c7c Backed out 2 changesets (bug 1561079, bug 1561913) for apilint and checkstyle failures CLOSED TREE
Backed out changeset c21bf3dfa6e5 (bug 1561913)
Backed out changeset 77ef4f2e0a8d (bug 1561079)
2019-07-24 18:34:06 +03:00
James Willcox c6482d6bcf Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-24 14:52:42 +00:00
James Willcox c0a84486f6 Bug 1561079 - Add a `GeckoSession.loadUri()` overload that takes a referring `GeckoSession` r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-24 15:03:36 +00:00
James Willcox 5f8a13fc44 Bug 1510314 - Add some initial basic tests for the GeckoView class r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D36113

--HG--
extra : moz-landing-system : lando
2019-07-24 14:53:19 +00:00
James Willcox 72ccde08db Bug 1510314 - Don't manage GeckoSession opening/closing in GeckoView class r=geckoview-reviewers,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D34226

--HG--
extra : moz-landing-system : lando
2019-07-24 14:51:36 +00:00
Boris Zbarsky a818800ec5 Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39065

--HG--
extra : moz-landing-system : lando
2019-07-24 01:26:07 +00:00
Grisha Kruglov d3afb838d4 Bug 1568336 - Share credentials in Cohabiting as well as Married states r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39111

--HG--
extra : moz-landing-system : lando
2019-07-23 23:13:27 +00:00
Boris Zbarsky 3381384634 Bug 1568279. Remove some unnecessary QIs to nsIDOMChromeWindow. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39066

--HG--
extra : moz-landing-system : lando
2019-07-23 19:08:55 +00:00
Nick Alexander 1acd86f7f7 Bug 1566359 - Pack GeckoView-specific `metrics.yaml` file into published AAR. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D38698

--HG--
extra : moz-landing-system : lando
2019-07-22 20:06:30 +00:00
Eugen Sawin 69fe17c8a6 Bug 1501108 - [6.0] Update changelog.
Differential Revision: https://phabricator.services.mozilla.com/D38727

--HG--
extra : moz-landing-system : lando
2019-07-21 17:23:16 +00:00
Eugen Sawin 54c69d2380 Bug 1501108 - [5.1] Ensure that the context ID string is safe for Gecko processing. r=Ehsan,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D38188

--HG--
extra : moz-landing-system : lando
2019-07-21 17:36:41 +00:00
Eugen Sawin 10b4aa39cc Bug 1501108 - [3.6] Extend StorageController API to delete session context data. r=baku,snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D23732

--HG--
extra : moz-landing-system : lando
2019-07-21 17:20:19 +00:00
Eugen Sawin a953b9ae74 Bug 1501108 - [2.4] Add Session Context ID test. r=snorp,baku
Differential Revision: https://phabricator.services.mozilla.com/D20008

--HG--
extra : moz-landing-system : lando
2019-07-21 17:19:51 +00:00
Eugen Sawin 532f60a55d Bug 1501108 - [1.7] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D19182

--HG--
extra : moz-landing-system : lando
2019-07-21 17:18:37 +00:00
Agi Sferro d0cb127dad Bug 1515248 - Upgrade to Android-Gradle plugin 3.2.1 and build-tools 28.0.3. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D15159

--HG--
extra : moz-landing-system : lando
2019-07-20 17:27:53 +00:00
Agi Sferro c0e92a8ba1 Bug 1515248 - Run android lints against GeckoView. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38787

--HG--
extra : moz-landing-system : lando
2019-07-20 17:27:53 +00:00
Daniel Varga d3c740b0f9 Backed out changeset e9cc61207fb8 (bug 1507495) for mochitest failure at dom/tests/mochitest/general/test_interfaces.html. On a CLOSED TREE
--HG--
extra : rebase_source : df6aab0131cd9a71548976ade368a8f341311d23
extra : amend_source : 4cd50e2d275ad32dddd5da186cd72febd09babdd
2019-07-20 00:10:09 +03:00
Eugen Sawin a01ada2c8a Bug 1489669 - [2.2] Add test for Storage Controller API. r=baku,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32154

--HG--
extra : moz-landing-system : lando
2019-07-19 19:50:39 +00:00
Olli Pettay 4d0364f7ec Bug 1507495, Enable Pointer events on GeckoView by default,
Differential Revision: https://phabricator.services.mozilla.com/D38719

--HG--
extra : moz-landing-system : lando
2019-07-19 19:01:47 +00:00
ksenia e8e4790c10 Bug 1567198 - create UA override for corporate.santander.co.uk r=denschub,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D38509

--HG--
extra : moz-landing-system : lando
2019-07-19 17:40:28 +00:00
Edwin Gao ae0d488344 Bug 1559975 - fix python2 linter errors in mobile r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37667

--HG--
extra : moz-landing-system : lando
2019-07-16 17:46:25 +00:00
Bogdan Tara 52d02305c2 Backed out changeset db7b66954bde (bug 1507495) for ES lint failure on geckoview.js CLOSED TREE 2019-07-19 19:42:47 +03:00
Olli Pettay 345ad4ab17 Bug 1507495, Enable Pointer events on GeckoView by default, r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D38528

--HG--
extra : moz-landing-system : lando
2019-07-19 13:31:56 +00:00
Luca Greco d8f68f5ee3 Bug 1472740 - Remove usage of deprecated lwt aliases from Fennec robocop tests. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D38300

--HG--
extra : moz-landing-system : lando
2019-07-17 14:21:56 +00:00
Nathan Froyd bde244933a Bug 1486042 - switch all existing `MOZ_LTO` configs to use cross-language LTO; r=dmajor
This change is a no-op for win64 configs, as they had this feature before.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 02:39:16 +00:00
Agi Sferro 9312511318 Bug 1567314 - Add missing docs for TabDelegate.onNewTab. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38574

--HG--
extra : moz-landing-system : lando
2019-07-18 21:49:40 +00:00
Imanol Fernandez 83b19f30bb Bug 1567232 - Add extra proguard rules for R8 compatibility. r=agi
Summary Add extra proguard rules for R8 compatibility.:

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

--HG--
extra : moz-landing-system : lando
2019-07-18 17:18:32 +00:00
John Lin afc3f16477 Bug 1560611 - remember valid buffers only. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D38129

--HG--
extra : moz-landing-system : lando
2019-07-18 00:05:57 +00:00
Alvina Waseem bf830a7844 Bug 1557096 - Add ContentDelegate.onKill() to differentiate between content process crashes and kills. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D35874

--HG--
extra : moz-landing-system : lando
2019-07-18 15:12:28 +00:00
ksenia 64dcd6ee69 Bug 1510067 - change structure of console log messages reporting, create preview of objects and arrays r=twisniewski,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37675

--HG--
extra : moz-landing-system : lando
2019-07-15 20:34:38 +00:00
Agi Sferro 2b4677581d Bug 1565410 - Don't expose BundleEventListener in the API. r=esawin
This also updates apilint to 0.2.2 to ensure that future instances of this
problem will be caught automatically.

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

--HG--
extra : moz-landing-system : lando
2019-07-17 15:48:58 +00:00
Gurzau Raul a40be3ff67 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-17 06:53:00 +03:00
Gurzau Raul b34b6dead9 Merge autoland to mozilla-central. a=merge 2019-07-17 06:43:28 +03:00
Gurzau Raul 9e92bbfdc8 Backed out 2 changesets (bug 1557096, bug 1565410) for multiple regressions linked to Bug 1557096. a=backout CLOSED TREE
Backed out changeset d35d90d0322b (bug 1565410)
Backed out changeset 4629e855ea33 (bug 1557096)

--HG--
extra : amend_source : a32a416570e06b3905d482ebf313a0da21e53cb6
2019-07-17 00:07:39 +03:00
Jared Wein d046711c81 Bug 1550171 - Don't apply Password Manager to about: pages. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D37998

--HG--
extra : moz-landing-system : lando
2019-07-15 21:14:12 +00:00
Thomas Nguyen b0fa7cedfe Bug 1554947 - Update saveURL to use referrerInfo class instead of referrer and referrerr policy r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D33939

--HG--
extra : moz-landing-system : lando
2019-07-16 17:59:28 +00:00
Byron Campen [:bwc] a381540292 Bug 1555792: Update android manifest files to include the socket process. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D34885

--HG--
extra : moz-landing-system : lando
2019-07-11 14:50:17 +00:00
Andrei Lazar 7322b26929 Bug 1564082 The app crash after reopening the recent closed tabs r=petru
The cursor was trying to move to first record after it was closed which lead into
IllegalStateException.
In order to avoid this exception, we should simply check if the cursor was already
closed before trying to move to the first record.

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

--HG--
extra : moz-landing-system : lando
2019-07-15 15:04:31 +00:00
Brad Arant 2eabf6d0f6 Bug 1268019 - Return default icon for download files that do not have intent for handling.;r=VladBaicu
Depends on D34386

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

--HG--
extra : moz-landing-system : lando
2019-07-15 09:36:47 +00:00
Cosmin Sabou d55b8e80a6 Backed out changeset b8f19d6b8762 (bug 1564846) for causing high failure rate in bug 1565072. 2019-07-13 13:13:47 +03:00
Agi Sferro 61f5744ce6 Bug 1565410 - Don't expose BundleEventListener in the API. r=esawin
This also updates apilint to 0.2.2 to ensure that future instances of this
problem will be caught automatically.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 20:04:38 +00:00
Alvina Waseem 485de70925 Bug 1557096 - Add ContentDelegate.onKill() to differentiate between content process crashes and kills. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D35874

--HG--
extra : moz-landing-system : lando
2019-07-11 22:03:43 +00:00
Petru Lingurar 6177d83601 Bug 1480031 - Truncate floating menu labels if they overflow screen width; r=VladBaicu
There's currently a bug in Android's framework that manifests by placing the
floating menu off-screen if a menu label overflows the menu's width.
https://issuetracker.google.com/issues/137169336
To overcome this we'll manually check and truncate any menu label that could
cause issues based on the floating menu style declared upstream.

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

--HG--
extra : moz-landing-system : lando
2019-07-12 11:30:48 +00:00
Sam Foster ae8c1da8cb Bug 1559994 - Add 'attention'-styled dismissed doorhanger when auto-saving a generated password. r=MattN
* Add a new optional 'notifySaved' argument to promptToSavePassword
* Give the notification an attention style when showing a login doorhanger for an auto-saved login with a generated password

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

--HG--
extra : moz-landing-system : lando
2019-07-12 00:34:08 +00:00
Csoregi Natalia fcccd2b6b0 Merge mozilla-central to autoland. CLOSED TREE 2019-07-12 02:06:45 +03:00
Petru Lingurar 31fcdf1aac Bug 1529557 - Mutate share drawable to prevent against it being reused from cache; r=VladBaicu
Summary:
The share drawable is used in multiple places in code.
Android would cache it and subsequently serve a now dirty version of it with
transformations potentially added.
By mutating it into a new drawable we ensure we'll always have it clean.

Reviewers: VladBaicu

Reviewed By: VladBaicu

Subscribers: emilio

Bug #: 1529557

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

--HG--
extra : rebase_source : 864946cb3d5a256b26a380fbf6a0cbe70a20ca12
extra : histedit_source : 941d909f040426046d71028b21644d0652fa1238
2019-07-11 23:15:30 +03:00
Bogdan Tara 556047a14b Backed out changeset 81f121f3a7cb (bug 1557096) for ES lint failure on GeckoViewContent.jsm CLOSED TREE 2019-07-12 00:40:18 +03:00
Agi Sferro 1726d85fea Bug 1563844 - Add @ReflectionTarget to DebugConfig. r=csadilek,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D37753

--HG--
extra : moz-landing-system : lando
2019-07-11 20:48:11 +00:00
Alvina Waseem 133133e12f Bug 1557096 - Add ContentDelegate.onKill() to differentiate between content process crashes and kills. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D35874

--HG--
extra : moz-landing-system : lando
2019-07-11 18:34:55 +00:00
Rob Wu 1b2dc590f5 Bug 1539144 - Follow-up checkstyle fix in WebExtensionController.java
Verified with `./mach android checkstyle`

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

--HG--
extra : moz-landing-system : lando
2019-07-11 11:57:40 +00:00
chrmod 8e1240dc4b Bug 1539144 - GeckoView extensions support chrome.tabs.create r=snorp,agi,geckoview-reviewers,robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D32796

--HG--
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/messaging/background.js => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/background.js
extra : moz-landing-system : lando
2019-07-11 11:35:25 +00:00
Brindusan Cristian 8594594498 Backed out changeset aebbb469f1d5 (bug 1539144) for ESlint failure at background.js:2:1 and checkstyle bustage. CLOSED TREE 2019-07-11 13:44:29 +03:00
Nicholas Nethercote 0d47e90e70 Bug 1562305 - Remove browser.cache.compression_level pref. r=michal
It's unused.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 04:13:45 +00:00
chrmod eb49662142 Bug 1539144 - GeckoView extensions support chrome.tabs.create r=snorp,agi,geckoview-reviewers,robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D32796

--HG--
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/messaging/background.js => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/background.js
extra : moz-landing-system : lando
2019-07-11 10:18:02 +00:00
John Lin 95099600d5 Bug 1563734 - always sync session ID from remote decoder. r=jya
In bug 1552607/D36382, RemoteDataDecoder always increases session ID but
CodecProxy only performs flush IPC when neccessary. This will cause the
ID numbers out of sync and prevent remote decoder from receiving any
more input. By reading the session ID in dequeued input samples, the
numbers can always be in sync.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 07:25:30 +00:00
Nicholas Nethercote 4dada5f88a Bug 1562305 - Make browser.cache.memory.capacity a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37182

--HG--
extra : moz-landing-system : lando
2019-07-11 04:11:39 +00:00
Nicholas Nethercote 678da168fa Bug 1562305 - Make browser.cache.disk.smart_size.enabled a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37181

--HG--
extra : moz-landing-system : lando
2019-07-11 04:40:17 +00:00
Nicholas Nethercote dcb65203e0 Bug 1562305 - Make browser.cache.memory.enable a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37178

--HG--
extra : moz-landing-system : lando
2019-07-11 04:10:13 +00:00
Nicholas Nethercote 17b83b6b8b Bug 1562305 - Make browser.cache.disk.enable a static pref. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D37177

--HG--
extra : moz-landing-system : lando
2019-07-11 04:09:50 +00:00
Agi Sferro cbde79674f Bug 1545931 - Double timeout for CrashTest.crashContent. r=bholley
This test is a little slow sometimes and times out (even though nothing is
going wrong). Doubling the timeout seems to be enough.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 03:31:57 +00:00
Gijs Kruitbosch c71b8f39cc Bug 1565064 - remove obsolete pref from default files, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D37657

--HG--
extra : moz-landing-system : lando
2019-07-10 22:26:35 +00:00
James Willcox d8e61a2603 Bug 1564846 - Do better at managing secondary windows in TestRunnerActivity r=kats
Differential Revision: https://phabricator.services.mozilla.com/D37570

--HG--
extra : moz-landing-system : lando
2019-07-10 15:36:15 +00:00
Petru Lingurar 76bca06a4f Bug 1529557 - Use smaller share image to ensure consistency; r=AndreiLazar
Differential Revision: https://phabricator.services.mozilla.com/D38195

--HG--
extra : moz-landing-system : lando
2019-07-16 15:25:20 +00:00
ksenia 956774ff41 Bug 1563839 - add UA for rolb.santanderbank.com r=twisniewski,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D37455

--HG--
extra : moz-landing-system : lando
2019-07-09 18:14:03 +00:00
Ciure Andrei f372470e10 Merge inbound to mozilla-central. a=merge 2019-07-10 12:41:47 +03:00
Nicholas Nethercote 40fa4b7402 Bug 1563996 - [Attempt 2] Make consoleservice.logcat a static pref. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D37203
2019-07-09 20:59:59 +10:00
Csoregi Natalia d574162f0d Backed out changeset fb76e4e1d9e0 (bug 1563996) for crashes on consoleservice.logcat. CLOSED TREE 2019-07-09 13:26:14 +03:00
Nicholas Nethercote 508aad2c70 Bug 1563996 - Make consoleservice.logcat a static pref. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D37203

--HG--
extra : moz-landing-system : lando
2019-07-09 07:59:41 +00:00
Nicholas Nethercote 7c43c6f952 Bug 1563996 - Make browser.xul.error_pages.enabled a static pref. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D37201

--HG--
extra : moz-landing-system : lando
2019-07-09 07:59:03 +00:00
Agi Sferro 68d3e0d0c1 Bug 1553515 - Always send navigation events for about:blank. r=snorp
Some background information on this change:

DocShell loads about:blank when first starting up. This initial load can be
avoided by setting `nodefaultsrc` on the browser element, but this will still
cause some load events related to `about:blank` to fire anyway, as they are
specified in the DOM spec (see e.g. bz's Comment #2 Bug 1447406). In particular
`onSecurityChange` and `onLocationChange` are still fired, `onPageStart` and
onPageStop` are not.

These messages are unreliable and sometimes do not fire, to unrestand why it's
helpful to look at a timeline of the events when starting up a GeckoSession.

page           about:blank ---------------------------------------------------------

nsDocShell     --- startup --- onPageStart --- onLocationChange --- onPageStop -----

busyState      idle ---------- busy ------------------------------------------ idle-
                ^           ^               ^                    ^               ^
geckoview.js   (0)         (1)             (2)                  (3)             (4)

geckoview.js loads in parallel with nsDocShell startup process (and loading of
about:blank). This means that consumers of GeckoView might start receiving
navigation events at any of the points marked with (0) - (4). E.g. if geckoview
starts up at (4) a consumer waiting for onPageStop for `about:blank` will
actually wait forever (this is what happens before this change for our tests).

As it can be seen there's not really a way to detect in which of the (0) - (4)
state DocShell is when starting up geckoview.js. Checking for the busy state is
not enough as an `idle` busy state might mean that we're in (0) or (4).
Furthermore a consumer of geckoview has no way to know which onPageStop
messages to wait for after an initial loadUri as e.g. the following is what
would happen if geckoview.js happens to startup at (3):

- loadUri(hello.html)
- onPageStop (for about:blank)
- onLoadRequest (for hello.html)

which confuses any code that just waits for onPageStop.

Desktop deals with this in `TabProgressListener.onStateChange` where the
initial `about:blank` navigation is ignored and fake events are triggered at a
convenient time.

To patch implements a very similar behavior for geckoview, we ignore the
initial `about:blank` `onLoadRequest` call, set `nodefaultsrc` so `onPageStart`
and `onPageStop` events don't fire and fire the above calls when the
`GeckoViewProgress` module has finished loading.

This makes `about:blank` events deterministic with the exception of reloading
an empty `GeckoSession`, which will often not fire any extra events. To account
for that we load a dummy html page before the tests that used to rely on this
behavior (which would actually fail occasionally due to the startup race
condition explained above).

This makes the tests pass reliably on x86_64 (20/20 runs passed in try).

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:32 +00:00
Agi Sferro c33d97d67e Bug 1553515 - Re-enable geckoview-junit on x86_64. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D35949

--HG--
extra : moz-landing-system : lando
2019-07-09 00:13:28 +00:00
Agi Sferro faad566428 Bug 1551278 - Make WebExtension listeners per-extension. r=snorp
Right now listeners for a given native app receive messages from all
WebExtensions. This is wrong as listeners should be extension specific so that
only the intended extension can send messages to the app.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:15 +00:00
Agi Sferro 32c65ee29f Bug 1553515 - Wait for link color in HistoryDelegateTest.getVisited. r=snorp
This helps making this test more reliable.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:29 +00:00
Agi Sferro f7f8ee977b Bug 1553515 - Remove all remaining bits of RDP for tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32594

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:22 +00:00
Agi Sferro 53e4399d87 Bug 1553515 - Move getLinkColor to WebExtension. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32593

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:20 +00:00
Agi Sferro 0f3dc76ea8 Bug 1553515 - Use WebExtension to set prefs in tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32592

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:18 +00:00
Agi Sferro 47985d1c39 Bug 1553515 - Fix for ContentDelegateTest.autoFill_navigation. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32591

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:16 +00:00
Agi Sferro 9c675d278a Bug 1553515 - Add GeckoSessionTestRule.createFromParcel. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32590

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:14 +00:00
Agi Sferro e022f20c31 Bug 1553515 - Use .equals instead of == for GeckoSession. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32589

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:07 +00:00
Agi Sferro 5364996b9f Bug 1553515 - Use WebExtension to run content javascript in tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32587

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:05 +00:00
Agi Sferro 55537adc42 Bug 1553515 - Make sure runtime has started before running tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32584

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:44 +00:00
Agi Sferro f23e6ab814 Bug 1553515 - Replace loopUntilIdle -> waitForCondition. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32583

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:42 +00:00
Agi Sferro c54dc66a26 Bug 1553515 - Add GeckoResult.accept. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32582

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:35 +00:00
Agi Sferro f3c69e1f87 Bug 1553515 - Add waitForCondition. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32581

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:33 +00:00
Agi Sferro 7371119f56 Bug 1553515 - Use lambads in GeckoResultTest for readability. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32580

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:31 +00:00
Agi Sferro 2948bcd9a2 Bug 1553515 - Add FOREGROUND_SERVICE for CrashTest. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32579

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:29 +00:00
Agi Sferro 346d13b264 Bug 1553515 - Never reuse session. r=snorp
Reusing sessions doesn't actually save that much time and avoids a lot of
hard-to-debug intermittents.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:27 +00:00
Agi Sferro ba4c3abb36 Bug 1553515 - Use javascript to track scrolling instead of ScrollDelegate. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32577

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:25 +00:00
Agi Sferro a9366e6af5 Bug 1553515 - Account for errors in PermissionDelegateTest.geolocation. r=snorp
Sometime the geolocation test fails because the position is not retrieved
quickly enough, this is OK as we're just trying to make sure that the
permission is correct.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:23 +00:00
Agi Sferro 1049cdd19e Bug 1553515 - Use environment.defaultTimeoutMillis in tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32575

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:22 +00:00
Agi Sferro 42874778c0 Bug 1553515 - Wait to load a page in crashContentMultipleSessions. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32574

--HG--
extra : moz-landing-system : lando
2019-07-08 20:48:20 +00:00
Agi Sferro d28d2f70e2 Bug 1553515 - Don't use reflection in ContentDelegateTest. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32573

--HG--
extra : moz-landing-system : lando
2019-06-27 21:21:15 +00:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Eugen Sawin 4365e8f0ed Bug 1561385 - [1.0] Change GeckoView cookie behavior default to block third-party trackers (ETP). r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D36980

--HG--
extra : moz-landing-system : lando
2019-07-08 14:47:15 +00:00
Mihai Alexandru Michis 4837addb3d Bug 1542525 - Disable PermissionDelegateTest.notification_reject and TextInputDelegateTest.restartInput_temporaryFocus for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D37255

--HG--
extra : moz-landing-system : lando
2019-07-08 14:16:26 +00:00
Noemi Erli bdf68fe902 Bug 1561844 - ES lint failure fix CLOSED TREE 2019-07-08 17:03:25 +03:00
Andrei Lazar 5f0926e20d Bug 1561844 Remove OpenH264 plugin from about:addons r=VladBaicu
Removed OpenH264 plugin from addons list for users that doesn't have it installed.

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

--HG--
extra : moz-landing-system : lando
2019-07-08 12:15:44 +00:00
Mihai Alexandru Michis 6484e16fce Bug 1532186 - Disable SessionLifecycleTest.readFromParcel_throwOnAlreadyOpen for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D37236

--HG--
extra : moz-landing-system : lando
2019-07-08 12:14:41 +00:00
Karan Sapolia 64633547a3 Bug 1562903 - Fix adding a search engine from a web page on android. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D37456

--HG--
extra : moz-landing-system : lando
2019-07-09 19:52:46 +00:00
Jan Henning 04b5ee610a Bug 1563039 - Fix erroneous base domain highlighting. r=VladBaicu
Domain highlighting needs to find the *last* instance of the base domain within
the domain part of the URL. Otherwise, there's a chance we mistakenly highlight
(parts of) a subdomain if it matches the base domain, too.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 11:43:32 +00:00
Petru Lingurar d79bc4f9be Bug 1556437 - Use VectorDrawableCompat to load the error svg; r=AndreiLazar
VectorDrawableCompat allows backwards compatibility up to API 14.

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

--HG--
extra : moz-landing-system : lando
2019-07-16 13:21:54 +00:00
Johan Lorenzo fb4aabb03b Bug 1557269 - part 1: Re-expose all maven artifacts and beetmove them r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D34865

--HG--
extra : moz-landing-system : lando
2019-07-05 15:19:14 +00:00
Dylan Roeh 3a35c73191 Bug 1563353 - Disable two PromptDelegate tests for intermittent failures. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D37071

--HG--
extra : moz-landing-system : lando
2019-07-05 15:19:48 +00:00
Randall E. Barker 0f6b776ba1 Bug 1556540 - Fix GeckoSession.loadData() so that it can load data URLs r=geckoview-reviewers,agi,esawin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D37343

--HG--
extra : moz-landing-system : lando
2019-07-09 17:27:05 +00:00
Andrei Lazar 2aa60f3671 Bug 1554071 Added support for Enhanced Tracking Protection. r=esawin
Exposed "Enabled, excluding tracking cookies" Cookie behavior option.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 12:38:06 +00:00
Petru Lingurar 945c3d6a34 Bug 1529557 - Ensure share icons will have the same size r=VladBaicu
Used `fitCenter` and`adjustViewBounds` to ensure the images will be scaled to
fit their container while keeping their aspect ratio.
Increased resolution of some images used in the share menu to maths the others'
and also remove some bluriness of the previous' when they are enlarged.
They were losslessly optimized with an average of 18% savings.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 11:41:48 +00:00
Victor Porof 9e9be26a9b Bug 1561435 - Fix linting errors for mobile/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : 2072cc33ae8e2b64a761ece5ab32ce711d547c97
extra : intermediate-source : afb89fcad8e41f4f03ea5d16a7528002820b8305
2019-06-20 11:33:11 -07:00
Victor Porof e999ae1989 Bug 1561435 - Format mobile/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : eafb1052afc7712c969e57552da5affc63093e9e
2019-07-05 10:53:35 +02:00
Victor Porof b5a4cb3848 Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34535

--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Mihai Alexandru Michis 3b33f02a03 Bug 1557569 - Disable ScreenshotTest.capturePixelsThrowsCompositorNotReady for frequent failures. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D36901

--HG--
extra : moz-landing-system : lando
2019-07-04 15:27:28 +00:00
Rob Wu 2683e4553c Bug 1563284 - Re-enable some extension mochitests in GeckoView r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D36786

--HG--
extra : moz-landing-system : lando
2019-07-03 22:25:37 +00:00
Petru Lingurar 3f5101c956 Bug 1562831 - Stop the Crash Service cleanly to prevent it's restart; r=VladBaicu
The service would be restarted after System.exit(0) which would show the crash
feedback form again to the user.

That System.exit(0) was initially used to prevent a silent ANR because of the
Service being started from background on Android Oreo+ without a foreground
notification.

To overcome all this we'll also use a foreground notification on Android Oreo+
but with NotificationManager.IMPORTANCE_LOW to be non-intrusive.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 13:13:10 +00:00
Dylan Roeh 5e0a7630a4 Bug 1499396 - Add basic testing for PromptDelegate. r=geckoview-reviewers,snorp
Some tests still disabled due to either test environment weirdness or actual breakage.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 22:51:43 +00:00
Henri Sivonen 29ac9cfdbe Bug 1545429 - Avoid passing unsupported Android screen orientation flag combinations to Gecko. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D36351

--HG--
extra : moz-landing-system : lando
2019-07-02 17:42:34 +00:00
Andreea Pavel 7c9308d2ee Bug 1533934 - ignore SessionLifecycleTest.createFromParcel on pgo r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D36240

--HG--
extra : moz-landing-system : lando
2019-07-02 16:58:09 +00:00
John Lin a987fc3b69 Bug 1552607 - p2: check sample session ID when processing buffers. r=jya
Because IPC call runs asynchronously in both remote decoder process and
content process, ProcessOutput() for buffers prior to Flush() could be
scheduled to run after the flush promise is resolved, and Codec.queueInput()
could be preempted and processes prior sample after flush.
To help check the validness of buffers, a session ID increased by flush
is added to both RemoteDataDecoder and remote codec service and will be
passed through IPC. If the passed ID doesn't agree with current session
ID, it means the buffer doesn't belong to current session and should be
discard.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 18:12:44 +00:00
John Lin a06092b96c Bug 1552607 - p1: filter out invalid input buffers. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D36381

--HG--
extra : moz-landing-system : lando
2019-07-02 18:12:35 +00:00
Dorel Luca 88e2b90713 Backed out changeset 3b5355424e78 (bug 1499396) for geckoview failure in org.mozilla.geckoview.test.PromptDelegateTest.buttonTest 2019-07-02 18:27:54 +03:00
Dylan Roeh 5b4527cd3a Bug 1499396 - Add basic testing for PromptDelegate. r=geckoview-reviewers,snorp
Some tests still disabled due to either test environment weirdness or actual breakage.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 13:58:06 +00:00