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

28820 Коммитов

Автор SHA1 Сообщение Дата
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