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

27655 Коммитов

Автор SHA1 Сообщение Дата
Dylan Roeh 978362d8c2 Bug 1382637 - Zombify tabs in onDestroy to ensure video/audio recording ends when Fennec is swipe-to-killed. r=snorp 2019-01-23 11:41:01 -06:00
James Willcox e6c4c5d1ed Bug 1517160 - Use correct icon path for internal about pages r=geckoview-reviewers,esawin#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D16991

--HG--
extra : moz-landing-system : lando
2019-01-21 09:50:16 +00:00
Cosmin Sabou 951d31e64d Merge mozilla-inbound to mozilla-central. a=merge 2019-01-22 05:56:10 +02:00
Petru-Mugurel Lingurar d587b36c42 Bug 1520520 - Part 2 - Refactor testTrackingProtection to listen for ContentBlockingEvent; r=esawin,ehsan
After the changes from bug 1514340 the app is now informed about tracking with
Content:ContentBlockingEvent instead of Content:SecurityChange
Also initialized mLastTracking with unknown as that is the default value
when no tracking event has been received (eg: no tracking elements on the page)

Depends on D16822

Differential Revision: https://phabricator.services.mozilla.com/D16823
2019-01-21 10:03:52 -05:00
Petru-Mugurel Lingurar 095fa60743 Bug 1520520 - Part 1 - Update UI with tracking events from ContentBlockingEvent; r=esawin,ehsan
onSecurityChange from browser.js will not send information about tracking
anymore to Java (because it doesn't know about that anymore).

onContentBlocking from browser.js will be responsible for this from now on.

    is called after onSecurityChange which will have created a SiteIdentity()

for that tab in Java

    is informed only about tracking status which it caches to only send updates

downstream to Java. Will not propagate identical events one after the other.

    will not fire for websites which do not contains any tracking elements

A Content:ContentBlockingEvent received in Java will update the tracking
property of SiteIdentity and finally update the UI with
ToolbarDisplayLayout#updateSiteIdentity().

Differential Revision: https://phabricator.services.mozilla.com/D16822
2019-01-21 10:02:16 -05:00
Ehsan Akhgari 4137a92662 Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Ryan Hunt 58a87fc778 Bug 1515946 - Let scroll anchoring ride the trains on everything except Fennec. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D17086

--HG--
extra : moz-landing-system : lando
2019-01-21 01:58:34 +00:00
Cosmin Sabou 7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
Nick Alexander ca38eefc15 Bug 901059 - Clean up old unused mobile/android package-manifest.in references. r=agi,froydnj
I'm taking an old ticket number just to close it.  The files removed
no longer exist in the tree; the NSS option exists and probably
shouldn't -- but that's for another day, so let's just make it not
warn for now.

Depends on D15016

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

--HG--
extra : moz-landing-system : lando
2019-01-21 17:35:53 +00:00
Andreea Pavel 9e68056ef2 Backed out changeset 9c8923903d73 (bug 1508279) because peculative fix submitted had no effect on the bug 2019-01-19 03:03:59 +02:00
Vlad Baicu 8019353a1d Bug 1508279 - Use the correct intent for GeckoServicesCreatorService. r=sdaswani
Differential Revision: https://phabricator.services.mozilla.com/D16998

--HG--
extra : moz-landing-system : lando
2019-01-18 18:14:44 +00:00
Vlad Baicu d5df4978ad Bug 1519418 - Retrieve LP debug id for local uid on debug builds. r=petru
On debug builds whenever we would attempt to retrieve the value of localUid it
would be null because the LP debug id is never persisted.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 16:24:40 +00:00
Vlad Baicu 64bef38d0f Bug 1515651 - Open LP URLs specifically in Fennec. r=sdaswani
Created a new "open" deeplink to open pages directly in Fennec.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 18:08:39 +00:00
James Willcox 6d9e3d0034 Bug 1521087 - Enable process hang monitor in GeckoView r=geckoview-reviewers,droeh#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D16979

--HG--
extra : moz-landing-system : lando
2019-01-18 16:08:28 +00:00
Margareta Eliza Balazs ec14417cc3 Merge inbound to mozilla-central. a=merge 2019-01-18 11:40:07 +02:00
alwu 2e0847eade Bug 1520663 - enable blocking autoplay with user-gesture-activation model on Fennec. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D16773

--HG--
extra : moz-landing-system : lando
2019-01-17 22:24:37 +00:00
Bogdan Tara cc6a6c8063 Backed out changeset f57051371bf0 (bug 1517641) for apilint bustage CLOSED TREE 2019-01-18 01:30:58 +02:00
Eugen Sawin 5114dc76d2 Bug 1517641 - [1.0] Add experimental ad-blocking category to the Tracking Protection API. r=snorp,geckoview-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D16700

--HG--
extra : moz-landing-system : lando
2019-01-17 23:06:55 +00:00
Matt Brubeck f659fdfbdf Bug 1510705 - Fix infinite loop in tests waiting for pending callbacks. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D16733

--HG--
extra : moz-landing-system : lando
2019-01-17 19:14:06 +00:00
Eitan Isaacson 83c7d95900 Bug 1519997 - Exclusively use cache for actions and events. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D16499

--HG--
extra : moz-landing-system : lando
2019-01-17 17:01:09 +00:00
Alphan Chen 58400124a1 Bug 1497146 part 2 - Convert FormData.jsm to C++ [collect() part] r=nika,peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12112

--HG--
extra : moz-landing-system : lando
2019-01-17 14:56:51 +00:00
Alphan Chen 5d28867416 Bug 1497146 part 1 - Add SessionStoreUtils.webidl r=nika
Let SessionStoreUtils be a WebIDL namespace, rather than a XPCOM service

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

--HG--
rename : toolkit/components/sessionstore/nsSessionStoreUtils.cpp => toolkit/components/sessionstore/SessionStoreUtils.cpp
extra : moz-landing-system : lando
2019-01-17 14:58:31 +00:00
James Willcox 269f751ce7 Bug 1514253 - Create PanZoomController immediately in GeckoSession r=geckoview-reviewers,droeh#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D14562

--HG--
extra : moz-landing-system : lando
2019-01-17 14:17:50 +00:00
Julian Descottes 1a1601ba70 Bug 1495383 - Add Worker, ServiceWorker and Process support on android debugger server;r=daisuke,ochameau
I quickly tested on Fennec with the whole stack and I am able to list workers, inspect workers etc...
Could not see any issue at first glance.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 07:58:57 +00:00
arthur.iakab 48fa943d27 Merge inbound to mozilla-central a=merge 2019-01-17 06:21:08 +02:00
Sebastian Hengst 3dc0a3b83a Bug 1520470 - Update metadata for related Bugzilla product and component for geckoview. r=snorp DONTBUILD
Reviewers: snorp

Tags: #secure-revision

Bug #: 1520470

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

--HG--
extra : rebase_source : 61edc61854b0c74f492e9ee97b075a74d6efe8dd
extra : amend_source : b31c3975770475dd835f97d2272b1028c0f3e23d
2019-01-16 16:18:45 +02:00
Sylvestre Ledru 47a5dd1fb8 Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-01-16 08:50:07 +00:00
Agi Sferro ab3bb69820 Bug 1520490 - Add title to GeckoView's CHANGELOG.md. r=fluffyemily
This makes the page's HTML title be:

```
API Changelog | geckoview
```

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

--HG--
extra : moz-landing-system : lando
2019-01-16 15:38:50 +00:00
Cameron McCormack cc5d047c75 Bug 1519737 - Move pluginProblemBinding.css to the UA style sheet cache. r=emilio,timdream
Differential Revision: https://phabricator.services.mozilla.com/D16430

--HG--
rename : toolkit/pluginproblem/content/pluginProblemBinding.css => layout/style/res/pluginproblem.css
extra : moz-landing-system : lando
2019-01-16 03:37:43 +00:00
Dorel Luca de46e66fcd Backed out changeset a85699150a8b (bug 1519737) for browser chrome failure in browser/base/content/test/static/browser_parsable_css.js
--HG--
rename : layout/style/res/pluginproblem.css => toolkit/pluginproblem/content/pluginProblemBinding.css
2019-01-16 03:25:22 +02:00
Cameron McCormack f11cf08512 Bug 1519737 - Move pluginProblemBinding.css to the UA style sheet cache. r=emilio,timdream
Differential Revision: https://phabricator.services.mozilla.com/D16430

--HG--
rename : toolkit/pluginproblem/content/pluginProblemBinding.css => layout/style/res/pluginproblem.css
extra : moz-landing-system : lando
2019-01-14 21:51:59 +00:00
James Willcox cca08ade1d Bug 1517846 - Add missing docs for GeckoView.releaseSession() r=geckoview-reviewers,esawin#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15753

--HG--
extra : moz-landing-system : lando
2019-01-15 19:46:45 +00:00
Daniel Varga 482e8f2efd Backed out changeset 95aa3315d2c9 (bug 1517846) for android build bustage at /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/GeckoJarReader.java on a CLOSED TREE
--HG--
extra : amend_source : 2d6d701917cbbf0d2291ed4d64a6e3b38a68671c
2019-01-15 21:29:51 +02:00
James Willcox 591b4ba931 Bug 1517846 - Add missing docs for GeckoView.releaseSession() r=geckoview-reviewers,esawin#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15753

--HG--
extra : moz-landing-system : lando
2019-01-15 19:13:33 +00:00
Gurzau Raul 3e25648e82 Backed out changeset 6f5998401e95 (bug 1517846) for Android api-lint failure on a CLOSED TREE 2019-01-15 17:08:17 +02:00
James Willcox 3530a3ec83 Bug 1517846 - Add missing docs for GeckoView.releaseSession() r=geckoview-reviewers,esawin#geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15753

--HG--
extra : moz-landing-system : lando
2019-01-15 14:53:03 +00:00
Hiroyuki Ikezoe 6d4cb007b1 Bug 1423013 - Set explicit minimum-scale=1 to avoid overflow:hidden area reachable and visible. r=botond
Depends on D15344

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

--HG--
extra : moz-landing-system : lando
2019-01-15 09:48:06 +00:00
Petru Lingurar a4a39699cf Bug 1473470 - Part 3 - Remove "Saved logins" from "Clear private data" options. r=JanH
Summary:
Login data is to be removed only from "about:logins" where the users that use
Sync are also informed about the perils of doing so.

Depends on D16027

Reviewers: JanH, #geckoview-reviewers

Reviewed By: JanH

Subscribers: flod

Bug #: 1473470

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

--HG--
extra : rebase_source : f7b9a885333e2b8bab310037aeced2e76812b8aa
extra : histedit_source : 85be5dca7ac79d4631d090cafc3f01994a4223b0
2019-01-15 11:02:33 +02:00
Petru Lingurar f968908060 Bug 1473470 - Part 2 - Inform user about synced logins if Sync is used. r=JanH
Summary:
The reason for this ticket was that it was not immediately obvious for
Sync users that deleting logins on this device may affect all logins stored in
user's Sync account. So it was possible that users could unintentionally loose
all their login data.

While we should still offer the option to remove login data, even to Sync users,
we will explicitly inform them that deleting logins can affect all their
synced logins.

Also refactored the code to minimize duplicated code.

Depends on D16026

Reviewers: JanH, #geckoview-reviewers

Reviewed By: JanH

Subscribers: reviewbot, flod

Bug #: 1473470

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

--HG--
extra : rebase_source : a0e83ce91e7d217c6b46fa81472eb5f54c92420d
extra : histedit_source : b9d9435857c04a73d960275409fd65cf1725edcb
2019-01-15 11:01:08 +02:00
Oana Pop Rus e6a470fee9 Backed out 3 changesets (bug 1423013) for failing at reftests/transform/compound-1a.html on a CLOSED TREE
Backed out changeset 91624c065046 (bug 1423013)
Backed out changeset 050a2ef2393d (bug 1423013)
Backed out changeset db57901030e9 (bug 1423013)
2019-01-15 09:35:57 +02:00
Hiroyuki Ikezoe f3f82aedc4 Bug 1423013 - Set explicit minimum-scale=1 to avoid overflow:hidden area reachable and visible. r=botond
Depends on D15344

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

--HG--
extra : moz-landing-system : lando
2019-01-15 03:27:53 +00:00
Matt Brubeck feb9a636ad Bug 1493980 - Don't pass indefinite screen orientations to Gecko. r=snorp
This eliminates one potential source of crashes from passing bad orientation
values to onOrientationChange.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 21:46:12 +00:00
Justin Wood 45c5a30a7f No Bug - Log update data for fennec (when not using Google Play). r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D15869

--HG--
extra : moz-landing-system : lando
2019-01-14 21:44:29 +00:00
Eitan Isaacson 510d5dc2c3 Bug 1518315 - Clear accessibility focus correctly. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D15872

--HG--
extra : moz-landing-system : lando
2019-01-14 20:05:05 +00:00
Jan Henning f74e1879b8 Bug 1494748 - Ensure GeckoView saved state lives at least as long as the app process. r=snorp
The arguably most interesting bit of state of BrowserApp/GeckoApp, namely the
currently open tabs, are living partly in Gecko and partly in the Tabs
manager singleton, the lifetimes of both of which are tied to the lifetime of
the app process.

If the whole process has been killed, things are simple: Neither the Tabs
manager nor Gecko know anything about any tabs and we simply restore them
through the session store if enabled.

If GeckoApp is however being restored into an app process in which it had
already executed earlier on, meaning that we have some open tabs, it relies on
the savedInstanceState in order to correctly reconnect its GeckoView instance
with the correct previous GeckoSession.

We can however end up in a state where we don't have a savedInstanceState (e.g.
because the user swiped away the BrowserApp activity in the task switcher), but
the app process keeps running throughout (if another activity of ours is still
present in the task switcher, e.g. a custom tab, or else if a service is active,
then standard Android keeps the process running even if the user swipes away an
activity).

In that case, if GeckoApp is subsequently recreated, the Android UI sees all the
Android-side tabs in the Tabs manager, and Gecko in fact still has the Window
open that is containing all those tabs, but without the savedInstanceState
GeckoApp doesn't know anything about that Window and proceeds to open a fresh
session instead.

This means that all previous tabs will appear white and unresponsive, while
freshly opened tabs will load, but they won't be correctly saved in the session
store, their context menu isn't working, etc., because we're not really
expecting to handle multiple Gecko-side Windows.

To fix this, we disable automatic state-saving for GeckoApp's GeckoView instance
and instead do it manually, so we can keep another reference to the saved state
in GeckoApplication, and therefore are able to retrieve it from there for as
long as the app process keeps running.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 19:21:49 +00:00
Jan Henning c6128fa586 Bug 1518229 - Allow clear-text network traffic in Android manifest. r=nalexander
Needs to be explicitly declared in case we start targeting Android P.
It's unclear to what extent this is really required when *not* using Android's
network stack directly, but at least with Firefox, some things definitively use
it, e.g. favicons. As we're a browser, we need to allow access to arbitrary
pages, so just generally white-list it.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:16:19 +00:00
Michael Kaply 4c3dd8e52e Bug 1518514 - Correctly read and parse list.json in search engine manager. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D15992

--HG--
extra : moz-landing-system : lando
2019-01-10 19:07:18 +00:00
Petru Lingurar 11785168d9 Bug 1473470 - Part 1 - Add new "Delete all" option to about:logins; r=JanH
This new option allows removing all logins from our login manager.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 13:42:42 +00:00
Noemi Erli ad84098c5b Backed out changeset 60cafc046dec for failing in UpdateServiceHelper.java 2019-01-14 17:03:23 +02:00
Justin Wood 05f724de1d No Bug - Log update data for fennec (when not using Google Play). r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D15869

--HG--
extra : moz-landing-system : lando
2019-01-14 14:39:04 +00:00