Commit Graph

23596 Commits

Author SHA1 Message Date
Vlad Baicu
e55eb8e3c9 Bug 1516665 - Prevent MediaControlService NPE. r=JanH
Use MediaControlService's context when creating the notification in order to
prevent a NPE.

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

--HG--
extra : moz-landing-system : lando
2019-02-01 15:07:29 +00:00
Dylan Roeh
c8d8aee4ef Bug 1522153 - Pass an empty list rather than null to onChoicePrompt when no choices are present. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D18261

--HG--
extra : moz-landing-system : lando
2019-01-31 23:48:47 +00:00
shindli
d6dd350c66 Merge inbound to mozilla-central. a=merge 2019-02-01 05:56:53 +02:00
Mike Conley
c2ea02dd67 Bug 1522546 - Make GeckoView use browser.remoteType instead of getting at the attribute directly. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D18225

--HG--
extra : moz-landing-system : lando
2019-01-31 19:54:21 +00:00
Eitan Isaacson
35028de560 Bug 1515774 - Pass current GeckoView position with touch events to APZC. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D17044

--HG--
extra : moz-landing-system : lando
2019-01-31 16:46:15 +00:00
Petru Lingurar
49da2e4c53 Bug 1521675 - Use a timeout before testing the tracking events; r=Ehsan
There can be a slight delay (in rapport with actually loading the page) until
the ContentBlockingEvent is received.
To account for this, we'll use an overly generous 500ms timeout before
actually checking if we have the right tracking status.

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

--HG--
extra : moz-landing-system : lando
2019-01-31 06:40:21 +00:00
Dylan Roeh
add93d33eb Bug 1382637 - Backing out patch due to breakage (see: 1532161, 1532157). r=me 2019-01-31 13:58:54 -06:00
Myk Melez
25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Andrei Lazar
94c81d7d12 Bug 1523572 Increment Leanplum's version r=sdaswani
Incremented Leanplum's version to 3.0.2

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

--HG--
extra : moz-landing-system : lando
2019-01-29 18:29:09 +00:00
Eugen Sawin
d27cb22d1b Bug 1499214 - [3.0] Fix changelog version numbers for latest commits.
Differential Revision: https://phabricator.services.mozilla.com/D18080

--HG--
extra : moz-landing-system : lando
2019-01-30 15:17:11 +00:00
Ryan Hunt
cc32ace0f3 Bug 1522964 - Re-enable scroll anchoring on Fennec with gofaster intervention. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D17677

--HG--
extra : moz-landing-system : lando
2019-01-25 21:08:44 +00:00
Eugen Sawin
d7a16382fe Bug 1499214 - [2.0] Update content blocking tests and GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D16605

--HG--
extra : moz-landing-system : lando
2019-01-30 14:25:40 +00:00
Eugen Sawin
dfe7344df0 Bug 1499214 - [1.6] Add Content Blocking API. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15140

--HG--
rename : mobile/android/modules/geckoview/GeckoViewTrackingProtection.jsm => mobile/android/modules/geckoview/GeckoViewContentBlocking.jsm
extra : moz-landing-system : lando
2019-01-30 14:24:29 +00:00
Vlad Baicu
842499d64b Bug 1519418 - Replace line separators from the uid parameter received from the deeplink intent. r=sdaswani
Differential Revision: https://phabricator.services.mozilla.com/D17959

--HG--
extra : moz-landing-system : lando
2019-01-29 18:28:48 +00:00
Brindusan Cristian
e17de7336e Backed out 4 changesets (bug 1515774) for mochitest failrues at test_group_touchevents-3.html and test_touch_action.html.
Backed out changeset 45c6f07160d9 (bug 1515774)
Backed out changeset 3d97f1e46c1a (bug 1515774)
Backed out changeset 69c8787c67d6 (bug 1515774)
Backed out changeset 8e17cc234256 (bug 1515774)
2019-01-30 04:39:55 +02:00
Eitan Isaacson
d7b9a2b61f Bug 1515774 - Pass current GeckoView position with touch events to APZC. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D17044

--HG--
extra : moz-landing-system : lando
2019-01-29 23:18:41 +00:00
Dennis Schubert
222824c1b3 Bug 1522755 - Ship eBay Scroll Anchoring intervention to Fennec. r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D17600

--HG--
extra : moz-landing-system : lando
2019-01-29 17:36:56 +00:00
Eugen Sawin
c987c1aee1 Bug 1515728 - [2.0] Add smoke test for parcelable support. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D17424

--HG--
extra : moz-landing-system : lando
2019-01-29 15:08:25 +00:00
Eugen Sawin
540d235551 Bug 1515728 - [1.5] Add support for nested runtime settings. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15130

--HG--
extra : moz-landing-system : lando
2019-01-29 15:07:12 +00:00
Cosmin Sabou
599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Sebastian Hengst
b78e4e8667 Merge mozilla-central to mozilla-inbound
--HG--
rename : browser/components/urlbar/tests/legacy/browser_urlbar_search_no_speculative_connect_with_client_cert.js => browser/components/urlbar/tests/browser/browser_urlbar_speculative_connect_not_with_client_cert.js
2019-01-29 02:55:55 +02:00
Kris Maglione
fb4e709471 Bug 1514594: Follow-up: Fix ESLint error. r=bustage CLOSED TREE
--HG--
extra : amend_source : d3daee4392d23a2f512a5d1da7b85ac1ece4e44f
2019-01-28 16:30:26 -08:00
Razvan Maries
c88bd55f59 Merge mozilla-inbound to mozilla-central a=merge 2019-01-28 23:46:39 +02:00
James Willcox
84984eac60 Bug 1515789 - Ensure nsILoadURIDelegate::loadURI() is only called for toplevel redirects. r=smaug,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D16990

--HG--
extra : moz-landing-system : lando
2019-01-28 15:35:17 +00:00
Ehsan Akhgari
310750fd8b Bug 1522630 - Report content blocking status notifications from the idle event queue; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17554
2019-01-28 10:05:58 -05:00
Coroiu Cristina
2206b6473a Backed out changeset 5c956ce0000a (bug 1522630) for build bustage at /builds/worker/workspace/build/src/dom/base/nsGlobalWindowOuter.cpp on a CLOSED TREE 2019-01-28 16:41:07 +02:00
Ehsan Akhgari
1cd3fb5bcc Bug 1522630 - Report content blocking status notifications from the idle event queue; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D17554
2019-01-28 09:22:07 -05:00
Ciure Andrei
849dbde8e4 Backed out 2 changesets (bug 1507286, bug 1497146) for causing multiple crashes in nsFocusManager::GetRedirectedFocus a=backout
Backed out changeset 0509a9edc58a (bug 1507286)
Backed out changeset 21ad3aeb636f (bug 1497146)
2019-01-26 15:09:03 +02:00
Petru Lingurar
b3453b3fbb Bug 1498911 - FindInPageBar will now handle Enter and Shift+Enter; r=JanH
`Enter` will search for the next occurrence of the "Find" string.
`Shift+Enter` will search for the previous occurrence of the "Find" string.

For this, FindInPageBar will intercept all `onKey` events and
- on `KeyEvent.ACTION_DOWN` will consume `Shift+Enter` which would otherwise
insert a newline character in the search box
- on `KeyEvent.ACTION_UP` will do a new next/previous search depending on the
keys pressed.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 07:28:05 +00:00
Alphan Chen
0022290b4b Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-25 10:19:04 +00:00
Narcis Beleuzu
dcd0b9d50a Merge inbound to mozilla-central. a=merge 2019-01-25 06:28:32 +02:00
Eugen Sawin
750397ffaf Bug 1517641 - [2.0] Rename blocklist names to use a three-part naming scheme. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D17523

--HG--
extra : moz-landing-system : lando
2019-01-24 20:04:02 +00:00
arthur.iakab
a5462dcda4 Backed out changeset a6cc9b15b1e3 (bug 1497146)for hazard build bustage on sessionstore/SessionStoreUtils.cpp CLOSED TREE 2019-01-24 16:56:32 +02:00
Alphan Chen
ea7eaa36e4 Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-24 12:53:28 +00:00
Ciure Andrei
c035ee7d3a Merge inbound to mozilla-central. a=merge 2019-01-24 05:44:33 +02:00
Eitan Isaacson
e63779903d Bug 1520611 - Prune children in Android. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D16743

--HG--
extra : moz-landing-system : lando
2019-01-24 00:23:45 +00:00
Sebastian Hengst
725402f21f Merge mozilla-central to autoland. CLOSED TREE 2019-01-29 02:05:49 +02:00
Jan Henning
24c879e19f Bug 1510029 - Correctly set desktop mode viewport when creating a tab. r=esawin
The desktopMode property on Fennec's tab object is already being correctly being
preserved when (re)creating a tab [1], but we don't propagate its state to the
content window's desktop viewport mode setting.

[1] When restoring into a fresh tab, the session restore code passes the stored
desktopMode flag to addTab, whereas zombifying an existing tab destroys its
<browser>, but leaves the tab object's properties intact, so we merely need to
re-set the desktop viewport mode on the new <browser>'s content window.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 21:01:55 +00:00
Alphan Chen
e6cc4bf7ca Bug 1497146 part 3 - Convert FormData.jsm to C++ [restore() part] r=peterv,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D12672

--HG--
extra : moz-landing-system : lando
2019-01-28 19:44:03 +00:00
Jan Henning
696af8e1a4 Bug 1518226 - Request foreground service permission. r=snorp
We use foreground services, so this is necessary in order to be able to target
Android P.

The GeckoView example app needs it for the crash handling service.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:20 +00:00
Jan Henning
879d1a037c Bug 1503455 - Part 4: Compile with SDK28. r=nalexander,snorp
android.test.* is no longer part of the main framework, so as per
https://developer.android.com/training/testing/set-up-project,
- we must no longer declare them as a *required* dependency in our manifests
- we must explicitly include a dependency on them in our build config

This will temporarily break running tests depending on android.test.* (i.e.
mainly Robocop) on devices using P or newer until we also start targeting P as
well.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:11 +00:00
Jan Henning
110351a055 Bug 1503455 - Part 3: Filter classpath for SDK bindings generation. r=nalexander
Once we start compiling with API28, android.test.* is no longer part of the main
framework JAR and will be included from separate libraries instead.
Those additional JARs will then subsequently show up on the class path in
Gradle, too.

Because our SDKProcessor is currently set up to process only one JAR at a time
and because we don't actually need to generate bindings for those test classes,
we simply filter them out again.

We explicitly only filter the android.test.* JARs and use findAll so that if the
android classpath unexpectedly gains another member, we're alerted to that fact
and can consciously take a decision on whether to ignore it as well or not.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:04 +00:00
Jan Henning
f04abdeceb Bug 1503455 - Part 1: Update some test library versions. r=nalexander
Not strictly required, but since we're in the area anyway...

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:31:50 +00:00
Nick Alexander
dc88caf991 Bug 1520226 - Make GeckoView set permanentKey on <browser> elements for Marionette. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D17577

--HG--
extra : moz-landing-system : lando
2019-01-28 18:35:45 +00:00
Timothy Guan-tin Chien
d59f80985c Bug 1507895 - Part I, Remove the videocontrols binding r=smaug
This patch removes the XBL videocontrols binding and make <video>
to always use the UA Widget to generate controls.

DevTools tests that look for NAC is switched to use <input type=file>.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 13:12:26 +00:00
Eugen Sawin
effaab9cc0 Bug 1522228 - [1.0] Add baseUri to ContextElement and enforce absolute URI for linkUri. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D17567

--HG--
extra : moz-landing-system : lando
2019-01-28 18:28:19 +00:00
Francesco Lodolo (:flod)
2bf51c86b5 Bug 1523243 - Update URLs in LEO searchplugin, remove Romansh variant r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D17803

--HG--
extra : moz-landing-system : lando
2019-01-28 16:54:41 +00:00
Jan Henning
348e2d672b Bug 1497460 - Remove reflection usage in ShortcutUtils. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D17775

--HG--
extra : moz-landing-system : lando
2019-01-28 15:38:09 +00:00
John Lin
8143268e96 Bug 1517252 - p2: convert out-of-memory error to playback error to avoid crash. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D16710

--HG--
extra : moz-landing-system : lando
2019-01-18 01:51:53 +00:00
Jan Henning
d9d4a111f8 Bug 1521600 - Clarify how the ViewportMode API actually works. r=geckoview-reviewers,snorp
VIEWPORT_MODE_DESKTOP *forces* the desktop mode viewport everywhere, whereas
VIEWPORT_MODE_MOBILE merely enables <meta> viewport support for pages that have
that tag defined, but still uses the desktop mode viewport for all other pages.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 21:06:06 +00:00
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
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08: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
Dylan Roeh
44dab4cd06 Bug 1514364 - Add appendRawFilter to nsIFilePicker to expose actual accept filters to GV for onFilePrompt. r=snorp, smaug 2019-01-24 10:21:05 -06:00
Michal Novotny
fcbc8b9cd2 Bug 1455723 - Firefox59 does not properly honor cache size set in autoconfig files, r=mayhemer
We keep old cache code in the tree only because of offline cache. We no longer allow using old disk or memory cache. This patch removes all preferences manipulation from old cache code that isn't used by offline cache. It removes also some related code (e.g. everything smart size related, unused defines etc.), but the goal wasn't to remove all unused code from the old cache.
2019-01-14 06:47:00 +02: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
ab795dc2ba Bug 1485809 - Fix race with compositor attachment r=geckoview-reviewers,droeh#geckoview-reviewers
We can receive GeckoSession.onCompositorDetached() before
GeckoSession.onCompositorReady() has run, so guard against this
by ensuring the compositor is attached in onCompositorReady().

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

--HG--
extra : moz-landing-system : lando
2019-01-23 16:31:08 +00:00
Agi Sferro
02aa520632 Bug 1521404 - Fix apilint warnings about BuildConfig. r=geckoview-reviewers,snorp
See aa9e8a7a23.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 14:48:12 +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