Commit Graph

26807 Commits

Author SHA1 Message Date
Cosmin Sabou
1f05c39e5d Merge mozilla-central to autoland. a=merge 2018-08-27 18:59:16 +03:00
Imanol Fernandez
ccf5df3d8e Bug 1474847 - Fix GeckoSurfaceTexture not correctly removed from container when released: r=snorp,rbarker
When entering and exiting immersive mode multiple time (~30) the WebGL context can be lost. This is caused because GeckoSurfaceTexture things there are more than 200 textures created.

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

--HG--
extra : moz-landing-system : lando
2018-08-27 15:15:21 +00:00
Dale Harvey
124dd7e583 Bug 1478549 - Follow up to add prefs helper. r=janh
MozReview-Commit-ID: LX44L2reVia
2018-08-27 09:20:01 +01:00
Andreea Pavel
3176bf1dc4 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-08-27 00:51:46 +03:00
Robert Bartlensky
9712f4f4c6 Bug 1477707: Fix all infer errors in GeckoView. r=jchen
This fixes some errors reported by infer on GeckoView that are not related to threading.

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

--HG--
extra : moz-landing-system : lando
2018-08-24 15:32:18 +00:00
arthur.iakab
7df3c5baab Merge inbound to mozilla-central a=merge 2018-08-25 06:35:21 +03:00
Kris Maglione
8ad0bfd9c0 Bug 1484496: Follow-up: Fix more busted JS enumerators. r=bustage CLOSED TREE
--HG--
extra : amend_source : b6753494cab68add325af09442239e72ea0c4501
2018-08-24 17:10:29 -07:00
alwu
b07c177c38 Bug 1479270 - part2 : remove HLS video player. r=snorp
Since we have native HLS support in 59 [1], we can remove those codes which is used to play HLS.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1345752

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

--HG--
extra : moz-landing-system : lando
2018-08-24 22:36:18 +00:00
arthur.iakab
83d1441dfa Merge mozilla-central to autoland 2018-08-25 01:09:11 +03:00
arthur.iakab
5527acb8d8 Merge inbound to mozilla-central a=merge 2018-08-25 01:08:22 +03:00
James Willcox
c9437b2c8e Bug 1485980 - Downgrade test runner packages to match support library r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D4221

--HG--
extra : moz-landing-system : lando
2018-08-24 15:30:30 +00:00
Andreea Pavel
e7678f51b5 Backed out 2 changesets (bug 1479270) for android lint on a CLOSED TREE
Backed out changeset 1676f895a710 (bug 1479270)
Backed out changeset 643ef11ea720 (bug 1479270)
2018-08-24 20:16:14 +03:00
alwu
a9a7cfd9fa Bug 1479270 - part2 : remove HLS video player. r=snorp
Since we have native HLS support in 59 [1], we can remove those codes which is used to play HLS.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1345752

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

--HG--
extra : moz-landing-system : lando
2018-08-24 14:52:00 +00:00
Noemi Erli
d9cb8a1d4a Backed out changeset b24238e8e714 (bug 1481199) for failures in mobile/android/tests/browser/chrome/test_device_search_engine.html 2018-08-24 20:34:36 +03:00
Diego Pino Garcia
1f9d6d9b78 Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply 2018-08-23 17:25:12 -05:00
Jim Chen
0b2817dd4e Bug 1485384 - Fix typo in open_allowCallsWhileClosed; r=me 2018-08-24 10:19:15 -04:00
Vlad Baicu
44843cf2d7 Bug 1474633 - Check if pager navigation is null before calling it. r=jchen
Check if pager navigation is null before calling it.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 20:56:01 +00:00
Kris Maglione
87d079325d Bug 1484496: Follow-up: Fix busted JS enumerator in Android directory service. r=bustage 2018-08-23 18:13:58 -07:00
Kris Maglione
4d7a8aa50d Bug 1484496: Part 5c - Convert mobile/ nsISimpleEnumerator users to use JS iteration. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D3731

--HG--
extra : rebase_source : 6ba05bd9240694fa7c37481b138c67671da39a9e
extra : histedit_source : 51439d03c5cb87f041a995d7ba6978f01035eb99
2018-08-18 19:28:06 -07:00
Andrei Lazar
a7c829ed6c Bug 1482836 Remove deprecated Snippets code r=jchen
Removed unused Snippets code since now we're using Leanplum.

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

--HG--
extra : moz-landing-system : lando
2018-08-16 19:59:15 +00:00
Cosmin Sabou
b69e48dda2 Merge mozilla-central to mozilla-inbound. a=merge 2018-08-24 00:46:31 +03:00
Jim Chen
28a1a1d5dd Bug 1330257 - 8. Add tests for Oreo auto-fill frontend; r=snorp
Add some tests for the Oreo auto-fill frontend, similar to the tests for
the a11y auto-fill frontend. However, because these tests depend on the
ViewStructure class, they require SDK 23+ to run.

Differential Revision: https://phabricator.services.mozilla.com/D3810
2018-08-23 17:03:35 -04:00
Dorel Luca
8e7a61886b Backed out changeset d47a2f5db828 (bug 1481199) browser/base/content/test/urlbar/browser_autocomplete_a11y_label.js. CLOSED TREE 2018-08-23 23:45:02 +03:00
Diego Pino Garcia
6900fb42ab Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply 2018-08-23 09:00:00 -04:00
Johann Hofmann
7fd1427a9d Bug 1484246 - Part 2 - Add more explanation to certificate errors caused by Symantec distrust to Fennec. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D4297

--HG--
extra : rebase_source : e3949c9520bec01270751898cee7bc21e6c015de
2018-08-26 14:32:01 +02:00
James Willcox
e641866f27 Bug 1480920 - Bump versions for Android test runner packages r=jchen
This also removes the trivial tests for geckoview_example that were
causing problems.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 13:12:20 +00:00
Brindusan Cristian
d21b936680 Merge inbound to mozilla-central. a=merge 2018-08-23 01:00:10 +03:00
Jan Henning
36ca86c711 Bug 1484472 - Avoid FileUriExposedException in ExternalIntentDuringPrivateBrowsingPromptFragment. r=jchen
The fragment is also used to handle intents launched through GeckoAppShell.
openUriExternal(), such as e.g. when launching downloaded files from
about:downloads.

The synchronous code path when not in private browsing is already covered by the
code added in bug 1450449, but the async path through the fragment when in
private browsing needs to be handled separately.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 16:50:04 +00:00
James Willcox
cd232d5aac Bug 1480095 - Add example custom error page to GeckoView Example r=esawin
MozReview-Commit-ID: HeYOkwNHYXq
2018-08-22 08:48:26 -05:00
James Willcox
e07c741622 Bug 1480095 - Allow NavigationDelegate.onLoadError() to return URL for error page r=esawin,jchen
MozReview-Commit-ID: 4pgHD6oh4GY
2018-08-22 08:48:20 -05:00
Cosmin Sabou
ed624fa8d0 Backed out 6 changesets (bug 1484876) for eslint failure on PrivateBrowsingUtils. CLOSED TREE
Backed out changeset e80737d6af55 (bug 1484876)
Backed out changeset b1cb63d8c8bb (bug 1484876)
Backed out changeset cd2ced689895 (bug 1484876)
Backed out changeset d31e39a47704 (bug 1484876)
Backed out changeset babf6abc7f4c (bug 1484876)
Backed out changeset 1c9895ab06c6 (bug 1484876)
2018-08-22 16:26:33 +03:00
Ehsan Akhgari
e5937f080b Bug 1484876 - Part 5: Merge the PrivateBrowsingTrackingProtectionWhitelist service with PrivateBrowsingUtils.jsm; r=johannh 2018-08-22 09:08:10 -04:00
Tiberius Oros
05b46cf200 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 00:59:19 +03:00
Tudor-Gabriel Vîjială
7dcb482bb3 Bug 1481834 - Fix running robocop tests on debug builds. r=gbrown
Fix running robocop tests on debug builds.

This patch fixes multidex issues when running robocop on debug builds.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 20:02:13 +00:00
Randall Barker
869419ee56 Bug 1484960 - Remove IllegalStateException throw on multiple calls to overrides in GeckoAppShell r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D3911

--HG--
extra : moz-landing-system : lando
2018-08-21 19:17:30 +00:00
Dennis Schubert
1ff837285f Bug 1484796 - Add console logging statements to site patches. r=kmag,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D3818

--HG--
extra : moz-landing-system : lando
2018-08-21 16:10:23 +00:00
Franziskus Kiefer
3d5b81aef3 Bug 1484534 - fix Android error page technical details r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D3858

--HG--
extra : moz-landing-system : lando
2018-08-21 12:04:57 +00:00
Jim Chen
10077d9ffe Bug 1330257 - 7. Add Oreo auto-fill frontend; r=esawin r=snorp
Add a frontend for the Oreo auto-fill API in SessionTextInput, which
processes events from Gecko and provides consumer APIs that match the
Oreo auto-fill APIs. GeckoView then forwards the necessary calls to
SessionTextInput.

Differential Revision: https://phabricator.services.mozilla.com/D3538
2018-08-21 15:23:29 -04:00
Jim Chen
e91970bb1d Bug 1330257 - 6. Add tests for auto-fill accessibility frontend; r=eeejay
Add some tests to AccessibilityTest to make sure we can perform
auto-fill through the accessibility API.

Differential Revision: https://phabricator.services.mozilla.com/D3255
2018-08-21 15:23:29 -04:00
Jim Chen
0840beff3f Bug 1330257 - 5. Add auto-fill accessibility frontend; r=eeejay
Add an auto-fill frontend that listens to events from Gecko. It
populates accessibility nodes for input fields and sends accessibility
events, in order to support auto-fill clients that use accessibility
services to perform auto-fill.

Differential Revision: https://phabricator.services.mozilla.com/D3254
2018-08-21 15:23:28 -04:00
Jim Chen
c142db1d58 Bug 1330257 - 4. Add auto-fill backend; r=esawin
Add an auto-fill backend in GeckoViewContent.js that detects fields on
the page and sends information about the fields to Java through events.

Differential Revision: https://phabricator.services.mozilla.com/D3253
2018-08-21 15:23:28 -04:00
Jim Chen
35fca43b60 Bug 1330257 - 3. Inline session store event listeners; r=droeh
Make the session store event listeners inline, because it makes the code
more readable, and also because auto-fill requires a pageshow listener
that is always registered, so the existing pageshow listener needs to be
moved elsewhere.

Differential Revision: https://phabricator.services.mozilla.com/D3252
2018-08-21 15:23:28 -04:00
Jim Chen
042d95a78e Bug 1330257 - 2. Separate out session focused state from active state; r=droeh
Make a distinction between a session being active (i.e. being visible)
and it being focused. More than one session may be active at a time, but
only one session is focused at a time. This means the focused session is
always active, but an active session may not be focused.

Also, manage setting of active/focused states in GeckoView itself, so
consumers don't generally have to worry about these states.

Differential Revision: https://phabricator.services.mozilla.com/D3251
2018-08-21 15:23:28 -04:00
Jim Chen
99ba526941 Bug 1330257 - 1. Refactor SessionAccessibility; r=eeejay
Move the AccessibilityNodeProvider implementation under
SessionAccessibility, to reduce the indent of the code.

Also make all methods in SessionAccessibility.Settings static to make
the code easier to follow.

Differential Revision: https://phabricator.services.mozilla.com/D3250
2018-08-21 15:23:27 -04:00
Gurzau Raul
fce80a532e Backed out 8 changesets (bug 1330257) for Geckoview failures at GeckoSessionTestRuleTest.waitForPageStop_throwOnChangedCallback on a CLOSED TREE
Backed out changeset c26970c767e1 (bug 1330257)
Backed out changeset 53ef69afca69 (bug 1330257)
Backed out changeset 62e53fa35d5b (bug 1330257)
Backed out changeset 7c589fc8621b (bug 1330257)
Backed out changeset 593f9a799d11 (bug 1330257)
Backed out changeset 9085b9fd557c (bug 1330257)
Backed out changeset aa0ef9b0e96a (bug 1330257)
Backed out changeset 7186e64192f7 (bug 1330257)
2018-08-21 06:51:29 +03:00
Jim Chen
2a5876a5b2 Bug 1330257 - 5a. Fix checkstyle error; r=jchen 2018-08-20 23:02:09 -04:00
Jim Chen
0f3c92c7f0 Bug 1330257 - 7. Add Oreo auto-fill frontend; r=esawin r=snorp
Add a frontend for the Oreo auto-fill API in SessionTextInput, which
processes events from Gecko and provides consumer APIs that match the
Oreo auto-fill APIs. GeckoView then forwards the necessary calls to
SessionTextInput.

Differential Revision: https://phabricator.services.mozilla.com/D3538
2018-08-20 22:28:21 -04:00
Jim Chen
da23d1931b Bug 1330257 - 6. Add tests for auto-fill accessibility frontend; r=eeejay
Add some tests to AccessibilityTest to make sure we can perform
auto-fill through the accessibility API.

Differential Revision: https://phabricator.services.mozilla.com/D3255
2018-08-20 22:28:21 -04:00
Jim Chen
7ead74b685 Bug 1330257 - 5. Add auto-fill accessibility frontend; r=eeejay
Add an auto-fill frontend that listens to events from Gecko. It
populates accessibility nodes for input fields and sends accessibility
events, in order to support auto-fill clients that use accessibility
services to perform auto-fill.

Differential Revision: https://phabricator.services.mozilla.com/D3254
2018-08-20 22:28:20 -04:00
Jim Chen
3d6c8ca540 Bug 1330257 - 4. Add auto-fill backend; r=esawin
Add an auto-fill backend in GeckoViewContent.js that detects fields on
the page and sends information about the fields to Java through events.

Differential Revision: https://phabricator.services.mozilla.com/D3253
2018-08-20 22:28:20 -04:00