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

28682 Коммитов

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