Commit Graph

24787 Commits

Author SHA1 Message Date
Tomislav Jovanovic
c50d51f19d Bug 1573045 - Use {restrictedSchemes: false} for tabs.query MatchPattern r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D43602

--HG--
extra : moz-landing-system : lando
2019-08-27 20:12:22 +00:00
Sylvestre Ledru
d264b841c9 Bug 1576502 - Fix some wording issues r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D43363

--HG--
extra : moz-landing-system : lando
2019-08-27 15:38:58 +00:00
Vlad Baicu
e533de9b0e Bug 1576170 - Relocate the localization note above the strings for consistency. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D43468

--HG--
extra : moz-landing-system : lando
2019-08-26 18:08:27 +00:00
kriswright
c99009c207 Bug 1573992 - Convert ui.scrolling.negate_wheel_scroll to static pref. r=njn
Converts ui.scrolling.negate_wheel_scroll to a static pref and updates its usages. This one is only enabled on android, so I used the IS_ANDROID value to fill it.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:43 +00:00
kriswright
6f43a49b41 Bug 1573992 - Convert two dom.keyboardevent.* prefs to staticprefs. r=njn
Converts dom.keyboardevent.dispatch_during_composition and dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content to static prefs. Removes the dispatch_during_composition entry from mobile.js, since it just redefines the same pref value.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 20:25:42 +00:00
Nicholas Nethercote
378dc68bcc Bug 1576546 - Add various explanatory comments to the top of prefs files. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D43391

--HG--
extra : moz-landing-system : lando
2019-08-26 16:40:10 +00:00
Rob Wu
21f80e5c3a Bug 1576471 - Set ANDROID_SDK_ROOT env var if --with-android-sdk is set r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D43358

--HG--
extra : moz-landing-system : lando
2019-08-26 20:17:41 +00:00
Andrei Lazar
fe3c28a25a Bug 1575605 - Crash in [@ java.lang.NullPointerException: at org.mozilla.gecko.home.TabMenuStripLayout.onPageSelected(TabMenuStripLayout.java)] r=VladBaicu
Now performing a sanity check after grabbing the child at position due to the fact that it can be
null if the position is out of array bounds (this usually happens when all panels are hidden and we request an orientation change).

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

--HG--
extra : moz-landing-system : lando
2019-08-26 13:09:09 +00:00
Noemi Erli
15323a790b Backed out 3 changesets (bug 1343678) for breaking Android web platform tests CLOSED TREE
Backed out changeset c22a725950f0 (bug 1343678)
Backed out changeset 0bef62794abb (bug 1343678)
Backed out changeset 37c92bba3e1c (bug 1343678)
2019-08-24 01:13:36 +03:00
James Willcox
fa77c48a55 Bug 1343678 - Add WebPush support to GeckoView r=jcj,lina,agi,geckoview-reviewers,droeh,mt
Differential Revision: https://phabricator.services.mozilla.com/D41290

--HG--
extra : moz-landing-system : lando
2019-08-23 16:29:38 +00:00
James Willcox
cd0bf6a265 Bug 1343678 - Use window context for GeckoSessionTestRule.evaluateJS() r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41289

--HG--
extra : moz-landing-system : lando
2019-08-12 18:35:13 +00:00
James Willcox
a427ad0aa8 Bug 1343678 - Enable web push pref for GeckoView r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D41288

--HG--
extra : moz-landing-system : lando
2019-08-12 18:35:13 +00:00
Alvina Waseem
2c95cb9ba9 Bug 1542525 - Notification reject failing & web notification test fix. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D43284

--HG--
extra : moz-landing-system : lando
2019-08-23 18:39:54 +00:00
Emily Toop
5002898256 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-23 13:37:28 +00:00
Vlad Baicu
56b7a6e37e Bug 1576170 - Sign in strings for Onboarding & Activity Stream. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D43245

--HG--
extra : moz-landing-system : lando
2019-08-23 13:42:37 +00:00
Makoto Kato
e0b2f3e09c Bug 1572728 - Sync Gecko's selection for sendKey test of testInputConnection. r=geckoview-reviewers,snorp
Actually, `assertTextAndSelectionAt` checks Java side text and selection only.
So even if `assertTextAndSelectionAt` is successful, Gecko's text and selection
aren't updated yet. Since `sendKeyEvent` test uses both Gecko's selection and
Java's selection, this has timing issue. Since `sendKeyEvent` uses Gecko's
selection for insertion point, we have to sync Java's selection with Gecko's
selection. But since there is no way to sync it, this sendKey test may be failure.

To sync both data, this test should always use key event to update both Gecko
side and Java side correctly. GV's test uses Gecko's selection, so this issue
is robocop test only.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 17:45:21 +00:00
Alvina Waseem
071f8e586c Bug 1573196 - Fixed GeckoWebExecutor documentation. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D43086

--HG--
extra : moz-landing-system : lando
2019-08-22 18:53:57 +00:00
Dylan Roeh
5bb5cce21c Bug 1568295 - Add social tracking protection support to GV. r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D42863

--HG--
extra : moz-landing-system : lando
2019-08-22 18:01:47 +00:00
Cosmin Sabou
d422b14401 Bug 1564373 - Disable NavigationDelegateTest.trackingProtection for frequent failures. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D43066

--HG--
extra : moz-landing-system : lando
2019-08-22 17:36:13 +00:00
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