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

27678 Коммитов

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