Commit Graph

28703 Commits

Author SHA1 Message Date
Anca Manu
968b5fb44e Bug 1371217 - Top Sites, Bookmarks & History are not centered; r=AndreiLazar
Differential Revision: https://phabricator.services.mozilla.com/D28833

--HG--
extra : moz-landing-system : lando
2019-05-31 08:37:23 +00:00
Andrea Marchesini
b1b122fb20 Bug 1554464 - Merge nsICookie2 and nsICookie in 1 single interface, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33031

--HG--
extra : moz-landing-system : lando
2019-05-31 09:36:44 +00:00
Geoff Brown
ba8887f2da Bug 1538430 - Skip junit test automaticFontSize more forcefully; r=aryx
In this case @Ignore works where assumeThat did not.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 19:14:37 +00:00
Dylan Roeh
720c714821 Bug 1555447 - Throw exceptions rather than returning 0 from GeckoProcessManager.java r=rbarker
Differential Revision: https://phabricator.services.mozilla.com/D33705

--HG--
extra : moz-landing-system : lando
2019-06-05 16:43:03 +00:00
Matthew Noorenberghe
b57a900dc2 Bug 1148205 - Replace misnamed formSubmitURL and hostname properties on nsILoginInfo in mobile/. r=Grisha
Differential Revision: https://phabricator.services.mozilla.com/D33349

--HG--
extra : moz-landing-system : lando
2019-06-05 04:00:09 +00:00
Jonathan Watt
098392f093 Bug 1552785. Remove internal code for various frameset printing behaviors. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D33624

--HG--
extra : rebase_source : 336e87a05970895684602c9db3e5222918f861c8
extra : source : 98fbf1ed617549496036099b5aee333aa6b29925
2019-05-21 16:01:34 +01:00
Karan Sapolia
7b96f9e12f Bug 1556804 - Change callers of addTestEngines to use objects for details rather than an array. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D33798

--HG--
extra : moz-landing-system : lando
2019-06-06 11:35:12 +00:00
Nazım Can Altınova
91197b28a2 Bug 1552286 - Move back GeckoJavaSampler to GeckoView and enable for it and fennec r=nalexander,gerald
Bug 1303806 moved `GeckoJavaSampler` to be Fennec-only as part of a general push
to slim GeckoView down.  But there is no reason to restrict to Fennec and it is useful
for other non-Fennec GeckoView vehicles.

This patch moves the `GeckoJavaSampler` inside `geckoview` and changes profiler
code to make Java sampling work in both GeckoView and Fennec.

Depends on D33522

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

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoJavaSampler.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoJavaSampler.java
extra : moz-landing-system : lando
2019-06-05 10:58:47 +00:00
Nazım Can Altınova
62d3f06e55 Bug 1552286 - Fix Checkstyle errors on GeckoJavaSampler r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33522

--HG--
extra : moz-landing-system : lando
2019-06-05 10:58:28 +00:00
shindli
c9ee4bb3ac Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-data.html
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html
2019-06-06 13:51:59 +03:00
Boris Zbarsky
223721a61e Bug 1557237. Stop using [array] in nsIPrompt and nsIPromptService. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D33909

--HG--
extra : moz-landing-system : lando
2019-06-06 08:03:56 +00:00
diana.iacos
66a7ddb52a Bug 1487013 - The new folder created doesn't have any title; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D33786

--HG--
extra : moz-landing-system : lando
2019-06-05 15:28:10 +00:00
Cameron McCormack
683a4bd65a Bug 1555543 - Adjust scrollbar-apz.css rule so it applies to all scrollbar elements. r=kats
Currently it won't match scrollbar elements in HTML documents where the
root element has been switched out for something other than <html>, or
in shadow trees.

Also, move the rule into content.css now that we no longer switch
between apz and non-apz versions of this file.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 02:10:25 +00:00
Nick Alexander
0886f39ee6 Bug 1508976 - Post: Don't include architecture in multi-architecture GeckoView artifactId. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D15772

--HG--
extra : moz-landing-system : lando
2019-05-30 15:22:19 +00:00
Nick Alexander
5893476bdb Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=glandium
This follows the model set down for EME artifacts:

- a new tier is added that uses a new Python build action to fetch and
  artifacts
- the action unpacks the fetched artifacts and moves specific inputs
  into places expected by the build and packager
- in automation, MOZ_ARTIFACT_TASK* is used to ensure the artifacts
  come from the correct tasks

In this case, the artifact fetching is done entirely in a new Python
build action that internally uses `mach artifact install --job ...`.
The action also verifies that the fetched artifacts are compatible and
that we're not assembling a fat AAR that is nonsensical.  The specific
inputs are not used in the Fennec APK that is produced; they're only
used in the GeckoView AAR that is produced.

The artifact fetching itself required tweaking to fetch only
`target.maven.zip` artifacts and to not unpack them.

The specific inputs used are the native libraries (libs/$ARCH/*.so)
and the architecture-specific preference files ($ARCH/greprefs.js and
defaults/pref/$ARCH/geckoview-prefs.js).  None of these inputs are
impacted by l10n.

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

--HG--
extra : moz-landing-system : lando
2019-05-30 15:22:09 +00:00
Andrea Marchesini
4c6ace6ac6 Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31214

--HG--
extra : moz-landing-system : lando
2019-05-29 15:55:03 +00:00
Emily Toop
ea055cda5b Bug 1554693 - Remove unused constants. r=geckoview-reviewers,snorp
This was caused by a rebasing error that was missed.

Depends on D32830

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

--HG--
extra : moz-landing-system : lando
2019-05-29 14:57:15 +00:00
Emily Toop
da9b93a7f1 Bug 1554778 - Fetch dispatcher at the beginning of handleRecordingDeviceEvents. r=geckoview-reviewers,snorp
This is because in some circumstances, when navigating away from a page, the dispatcher is no longer present when trying to send the `GeckoView:MediaRecordingStatusChanged` causing the message not to be sent. Fetching the dispatcher earlier ensures that it is present at the point of message sending.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 14:57:03 +00:00
Agi Sferro
3e697afbcb Bug 1553515 - Call geckoview.startup on DOMContentLoaded. r=geckoview-reviewers,snorp
Believe it or not this helps with getting PageStop events more reliably.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 15:11:04 +00:00
arthur.iakab
944263f18a Backed out 5 changesets (bug 1551798) for multiple build bustages on StaticPrefList.h CLOSED TREE
Backed out changeset c89daff34d97 (bug 1551798)
Backed out changeset bbc3f88b8c03 (bug 1551798)
Backed out changeset b87996b8a411 (bug 1551798)
Backed out changeset d88b0002d736 (bug 1551798)
Backed out changeset 0fe740c90e2b (bug 1551798)
2019-05-29 18:07:26 +03:00
Andrea Marchesini
e9bbb85ed1 Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31214

--HG--
extra : moz-landing-system : lando
2019-05-24 15:18:49 +00:00
Ehsan Akhgari
4cb428d268 Bug 1555205 - Move db/sqlite3 to third_party/; r=mak
Differential Revision: https://phabricator.services.mozilla.com/D32939

--HG--
rename : db/sqlite3/README => third_party/sqlite3/README
rename : db/sqlite3/README.MOZILLA => third_party/sqlite3/README.MOZILLA
rename : db/sqlite3/src/moz.build => third_party/sqlite3/src/moz.build
rename : db/sqlite3/src/sqlite.symbols => third_party/sqlite3/src/sqlite.symbols
rename : db/sqlite3/src/sqlite3.c => third_party/sqlite3/src/sqlite3.c
rename : db/sqlite3/src/sqlite3.h => third_party/sqlite3/src/sqlite3.h
extra : moz-landing-system : lando
2019-05-29 10:16:29 +00:00
Tom Ritter
ff200aa350 Bug 1539595 - Create a separate content process type for privleged mozilla content r=nika,flod
Differential Revision: https://phabricator.services.mozilla.com/D30276

--HG--
rename : browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/general/browser_e10s_about_process.js => browser/base/content/test/tabs/browser_e10s_about_process.js
rename : browser/base/content/test/general/browser_e10s_chrome_process.js => browser/base/content/test/tabs/browser_e10s_chrome_process.js
rename : browser/base/content/test/general/browser_e10s_javascript.js => browser/base/content/test/tabs/browser_e10s_javascript.js
rename : browser/base/content/test/general/browser_e10s_switchbrowser.js => browser/base/content/test/tabs/browser_e10s_switchbrowser.js
rename : browser/base/content/test/general/file_about_child.html => browser/base/content/test/tabs/file_about_child.html
rename : browser/base/content/test/general/file_about_parent.html => browser/base/content/test/tabs/file_about_parent.html
rename : browser/base/content/test/general/test_process_flags_chrome.html => browser/base/content/test/tabs/test_process_flags_chrome.html
extra : moz-landing-system : lando
2019-05-29 11:31:50 +00:00
diana.iacos
8710fd9939 Bug 1555044 - Update Onboarding's Sync screen text; r=petru
Because the news strings are unused we need to add them in lint.xml as UnusedResources.
The suppress will be removed it in a future patch.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 10:55:32 +00:00
Andrei Lazar
548ca382a5 Bug 1371618 Pop-ups not displayed if never show checkbox left unmarked r=johannh,petru
Added the missing data to the UpdateBlockedPopups event fired from PopupBlockingChild component.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 09:46:39 +00:00
Matthew Noorenberghe
328093cc71 Bug 1166113 - Use the autocomplete result GUID to fill the correct password. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D32914

--HG--
extra : moz-landing-system : lando
2019-05-29 08:08:47 +00:00
Brad Arant
b091c956c1 Bug 1538270 - Removal of extra space at end of message.;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D32411

--HG--
extra : moz-landing-system : lando
2019-05-27 19:23:58 +00:00
Nick Alexander
f0748df614 Bug 1554256 - Read GeckoView configuration file in release builds when package is the current Android "debug-app". r=geckoview-reviewers,snorp
Bug 1533385 taught GeckoView to read configuration from a file. But
right now, release APKs don't read that configuration: see the
documentation at See
https://mozilla.github.io/geckoview/tutorials/automation.html#enabling-reading-configuration-from-a-file-for-release-builds.
However, Android has a flag -- the "debug_app" flag -- that Chrome
uses to control this configuration file behaviour, and this commit
makes GeckoView uses that flag as well.

To use this, invoke `adb shell am set-debug-app --persistent PACKAGE`
(see https://developer.android.com/studio/command-line/adb).

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

--HG--
extra : moz-landing-system : lando
2019-05-28 22:08:41 +00:00
chrmod
aa9e661a42 Bug 1551377 - GeckoView unique tab id r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32824

--HG--
extra : moz-landing-system : lando
2019-05-28 16:54:40 +00:00
Oana Pop Rus
ac6f9d6c71 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-29 01:09:35 +03:00
Oana Pop Rus
bb39524dc6 Merge inbound to mozilla-central. a=merge 2019-05-29 00:48:04 +03:00
Sebastian Hengst
fba75a919c Backed out 4 changesets (bug 1539595) for build bustage in nsAboutRedirector.cpp. CLOSED TREE
Backed out changeset 2b0bb889b087 (bug 1539595)
Backed out changeset 95f0b82ec253 (bug 1539595)
Backed out changeset 6310e6dabceb (bug 1539595)
Backed out changeset ba3e353c6957 (bug 1539595)

--HG--
rename : browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/tabs/browser_e10s_about_process.js => browser/base/content/test/general/browser_e10s_about_process.js
rename : browser/base/content/test/tabs/browser_e10s_chrome_process.js => browser/base/content/test/general/browser_e10s_chrome_process.js
rename : browser/base/content/test/tabs/browser_e10s_javascript.js => browser/base/content/test/general/browser_e10s_javascript.js
rename : browser/base/content/test/tabs/browser_e10s_switchbrowser.js => browser/base/content/test/general/browser_e10s_switchbrowser.js
rename : browser/base/content/test/tabs/file_about_child.html => browser/base/content/test/general/file_about_child.html
rename : browser/base/content/test/tabs/file_about_parent.html => browser/base/content/test/general/file_about_parent.html
rename : browser/base/content/test/tabs/test_process_flags_chrome.html => browser/base/content/test/general/test_process_flags_chrome.html
rename : browser/base/content/test/tabs/browser_new_tab_in_privilegedabout_process_pref.js => browser/base/content/test/tabs/browser_new_tab_in_privileged_process_pref.js
2019-05-28 19:49:17 +02:00
Tom Ritter
21a98d921b Bug 1539595 - Create a separate content process type for privleged mozilla content r=nika,flod
Differential Revision: https://phabricator.services.mozilla.com/D30276

--HG--
rename : browser/base/content/test/general/browser_e10s_about_page_triggeringprincipal.js => browser/base/content/test/tabs/browser_e10s_about_page_triggeringprincipal.js
rename : browser/base/content/test/general/browser_e10s_about_process.js => browser/base/content/test/tabs/browser_e10s_about_process.js
rename : browser/base/content/test/general/browser_e10s_chrome_process.js => browser/base/content/test/tabs/browser_e10s_chrome_process.js
rename : browser/base/content/test/general/browser_e10s_javascript.js => browser/base/content/test/tabs/browser_e10s_javascript.js
rename : browser/base/content/test/general/browser_e10s_switchbrowser.js => browser/base/content/test/tabs/browser_e10s_switchbrowser.js
rename : browser/base/content/test/general/file_about_child.html => browser/base/content/test/tabs/file_about_child.html
rename : browser/base/content/test/general/file_about_parent.html => browser/base/content/test/tabs/file_about_parent.html
rename : browser/base/content/test/general/test_process_flags_chrome.html => browser/base/content/test/tabs/test_process_flags_chrome.html
extra : moz-landing-system : lando
2019-05-28 14:18:23 +00:00
Brad Arant
f8c1d206ce Bug 1524868 - StartActivity must be called from Activity context and not Application context.;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D32481

--HG--
extra : moz-landing-system : lando
2019-05-24 15:11:23 +00:00
Kris Maglione
680528af69 Bug 1551183: Part 1 - Add SCOPE_APPLICATION to enabledScopes for Fennec. r=aswan
This scope now controls add-ons bundled in omni.ja as well as those in the app
directory, so we need to enable it on Fennec in order for the default theme to
work.

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

--HG--
extra : rebase_source : 3dd7ddec5b73e41dc385e60f2e8f8ce36db5be1b
2019-05-22 14:30:40 -07:00
Adam Orban
2751328797 Bug 1179266 - [Tablet] Fix Android L "share" list item in long press context menu; r=petru
Fix padding for mdpi tablets

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

--HG--
rename : mobile/android/app/src/main/res/values-sw720dp-v21/dimens.xml => mobile/android/app/src/main/res/values-sw600dp-v21/dimens.xml
rename : mobile/android/app/src/main/res/values-sw720dp/dimens.xml => mobile/android/app/src/main/res/values-sw600dp/dimens.xml
extra : moz-landing-system : lando
2019-05-28 07:21:34 +00:00
Petru Lingurar
00c7fb358e Bug 1547924 - Ensure Leanplum Onboarding falls back to the new Onboarding UX; r=VladBaicu
Summary:
- Added the `LAST_PRIVACY` case for when the user is already signed into Firefox;
- Use the new default onboarding strings and images. If they are localized.

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

--HG--
extra : rebase_source : a16820dd1da8885e4479a81f200f29ce994aeb3e
extra : source : 45002329fc202fd4783b5dd834235009be31970c
2019-04-30 16:43:46 +03:00
Eugen Sawin
52bea1fda2 Bug 1553454 - [1.1] Only enable handling of CLEAR_HISTORY when Places is supported. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D32473

--HG--
extra : moz-landing-system : lando
2019-05-27 11:09:50 +00:00
Sebastian Hengst
11a4dfbcd7 Bug 1543355 - Move early return in org.mozilla.geckoview.test.ContentDelegateTest.download on Android pgo to start of test to avoid timeouts. a=move-of-test-disabling 2019-05-27 14:31:04 +02:00
diana.iacos
15ff313e56 Bug 1553474 - "Remove bookmark" option is displayed for pages that were not bookmarked; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D32664

--HG--
extra : moz-landing-system : lando
2019-05-27 07:43:43 +00:00
Liang-Heng Chen
9ff316fe67 Bug 1330467 - part 9. Use principal with mobile permissions; r=johannh,snorp
Differential Revision: https://phabricator.services.mozilla.com/D19930

--HG--
extra : moz-landing-system : lando
2019-05-26 17:00:54 +00:00
Emily Toop
454438c657 Bug 1549633- Update GeckoViewExample to show new MediaDelegate recording device status handling. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D31073

--HG--
extra : moz-landing-system : lando
2019-05-24 07:45:48 +00:00
Emily Toop
f00e577132 Bug 1549633 - Enable listening for recording-device-events. r=esawin,geckoview-reviewers,snorp
This is to allow us to detect the enabling and disabling of recording so that we can notify the embedding application of the change in status.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:45:41 +00:00
Nathan Froyd
93a44ee14e Bug 1553972 - make --with-pgo-profile-path take a directory; r=nalexander
e10s profiling or IR-based PGO instrumentation will both produce
multiple `.profraw` files that need to be handled in some way.  Since
clang's `-fprofile-generate` option takes a directory, it seems fitting
to make `--with-pgo-profile-path` mirror that by taking a directory, and
letting `merge_profdata.py` deal with whatever files it might find in
said directory.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 01:53:59 +00:00
Sylvestre Ledru
993c03acb1 Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31769

--HG--
extra : moz-landing-system : lando
2019-05-22 22:37:14 +00:00
Petru Lingurar
f2f3601226 Bug 1511839 - Return the generated file if the camera result has "inline-data" action; r=VladBaicu
Handle the case when Camera would actually save a new photo but would return
just a thumbnail and not the full image
33c59af04a/src/com/android/camera/PhotoModule.java (L1345-L1371)

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

--HG--
extra : moz-landing-system : lando
2019-05-23 12:17:34 +00:00
Emilio Cobos Álvarez
25a7ac45cc Bug 1553772 - Bug 1549812 - fix testAccessibleCarets.js to account for more async event dispatching. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D32194

--HG--
extra : moz-landing-system : lando
2019-05-23 09:47:00 +00:00
Sebastian Hengst
2dfd6c88d0 Bug 1543387 - Ignore initial about:blank load when restoring scroll position: add missing semicolon. CLOSED TREE
--HG--
extra : amend_source : fcb1b376a2d232ec585d33e014c4c7d6ed39a212
2019-05-23 00:20:31 +02:00
Eugen Sawin
c0069258a0 Bug 1489669 - [1.4] Add Storage Controller API. r=baku,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32153

--HG--
extra : moz-landing-system : lando
2019-05-22 20:21:09 +00:00
Nick Alexander
0f10c34f1d Bug 1533051 - Package greprefs.js and geckoview-prefs.js at architecture-specific paths for Android fat AAR/GeckoView multi-architecture builds. r=glandium
Bug 1533425 makes Gecko try to load from $ARCH/greprefs.js, etc on
Android.  This patch teaches the packager to put certain preferences
into those architecture-specific locations for that code to find.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 18:27:11 +00:00
Dylan Roeh
54ce8c8653 Bug 1543387 - Ignore initial about:blank load when restoring scroll position. r=snorp
When restoreState is called early in a GeckoSession's life, the scroll position restore code can catch the pageshow event for the initial about:blank load rather than for the page being restored, resulting in a failure to restore scroll position.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 16:53:07 +00:00
Agi Sferro
6994cf11f2 Bug 1553371 - Load chrome frameScripts when switching processes. r=snorp
Whenever we switch processes in GeckoView we didn't inject frameScripts.

This change adds a new method `loadInitFrameScript` that is called whenever a
module's new browser is attached to a window so that the frame script is loaded
correctly into the new browser.

This fixes a bug in WebExtension pages where the WebExtension Process Script
would never be notified of a new WebExtension page window, breaking privileged
APIs.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 19:20:54 +00:00
Agi Sferro
92c0a96191 Bug 1553371 - Load moz-extension pages in extension principal. r=snorp
WebExtension can always open their respective WebExtension pages even when the
WebExtension page is not content accessible.

However, this is not true for `tabs.update`, which couldn't link to
WebExtension pages at all.

Similarly, a user should be able to open a WebExtension page directly by typing
the URL.

To fix the above problems we pass the correct `triggeringPrincipal` when
loading such URIs. This change also makes URI typed by the user not use the
`systemPrincipal` anymore but a more restrictive codebase principal local to
the page that's being typed to avoid unintended side-effects. This also makes
the triggering URI always the page for these privileged pages, so we need to
adjust some tests to account for that by loading unprivileged `http` pages
instead.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 19:20:54 +00:00
Andrei Lazar
f8a8149014 Bug 1552535 Ci.nsIScriptSecurityManager.NO_APP_ID / UNKNOWN_APP_ID are undefined r=VladBaicu
Removed variable that resolved to undefined.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 13:11:39 +00:00
Michal Novotny
9358f2191e Bug 1553166 - Android browser.cache.disk.max_entry_size is too restrictive, r=valentin
We no longer use small cache on mobile, so such small max_entry_size is inadequate.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 11:23:44 +00:00
Brad Arant
aa3dd59877 Bug 1538270 - Show toast for default file picker when permissions denied.;r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D32073

--HG--
extra : moz-landing-system : lando
2019-05-22 09:10:45 +00:00
Eitan Isaacson
cb019e769a Bug 1553304 - Use APZC for accessibility scroll action on root node. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32062

--HG--
extra : moz-landing-system : lando
2019-05-21 21:38:57 +00:00
Thomas Wisniewski
74b6b6997d Bug 1551672 - add a site patch to fix PDK video player versions that are broken on Fennec; r=denschub,aswan
add a site patch to fix PDK video player versions that are broken on Fennec

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

--HG--
extra : moz-landing-system : lando
2019-05-21 16:16:33 +00:00
diana.iacos
967d1baf46 Bug 1533365 - On tablets the icon from Sync page its not displayed correctly; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D31963

--HG--
extra : moz-landing-system : lando
2019-05-21 08:20:55 +00:00
Ran Xu
30d5c2a4db Bug 1547184 - Remove taobao in android search plugins r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D28945

--HG--
extra : moz-landing-system : lando
2019-05-21 04:54:31 +00:00
Brendan Dahl
543c10a1d2 Bug 1551320 - Replace all CreateElement calls in XUL documents with CreateXULElement. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D31295

--HG--
extra : moz-landing-system : lando
2019-05-20 16:50:28 +00:00
J.C. Jones
0195fbe70b Bug 1552601 - Annotate WebAuthn reflection methods as @ReflectionTarget r=nalexander
A Proguard update in Bug 1550596 optimized away the WebAuthn methods, but
there's a convenient ReflectionTarget defined to say 'hey, don't do that.'

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

--HG--
extra : moz-landing-system : lando
2019-05-18 03:18:20 +00:00
Nick Alexander
ec2255472a Bug 1521996 - Part 3: Make mach run for Android bring Fennec forward by default. r=gbrown
`mach run` as it is doesn't really parallel `mach run` on Desktop;
this makes it a little closer more fully featured.  The underlying
functionality is all there in layers of mozharness; let's make it
easier to get to.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 22:21:20 +00:00
Nick Alexander
3dd3a36ec4 Bug 1521996 - Part 2: Specialize mach {run,install} for Android. r=ahal,gbrown
This just separates out the Android definitions into
mobile/android/mach_commands.py.  There was vestigial support for
running on Android with debuggers, but it was for wiring up JimDB,
which is no longer supported and in fact hasn't worked on actual
devices for a very long time.  (The new flow for running on Android
under a debugger goes through the Android Studio hybrid debugger.)

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

--HG--
extra : moz-landing-system : lando
2019-05-17 21:40:15 +00:00
J.C. Jones
faca948234 Bug 1551229 - Make it easier to test Android WebAuthn in local builds r=keeler
Depends on D31360

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

--HG--
extra : source : 31953bf83dfd9710390419a006d41c51ff61b101
2019-05-16 17:37:35 +00:00
J.C. Jones
8d663042b9 Bug 1552539 - Refactor Android WebAuthn methods to use more GeckoBundles r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D31636

--HG--
extra : moz-landing-system : lando
2019-05-17 18:36:01 +00:00
Bogdan Tara
bf7f3e19e9 Backed out changeset 31953bf83dfd (bug 1551229) for Bugzilla lint failuires CLOSED TREE 2019-05-17 23:10:22 +03:00
J.C. Jones
d685b2cdfd Bug 1551229 - Make it easier to test Android WebAuthn in local builds r=keeler
Depends on D31360

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

--HG--
extra : moz-landing-system : lando
2019-05-16 17:37:35 +00:00
Matthew Finkel
15773980e5 Bug 1478438 - Delete unused confvars entries on Android r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D31421

--HG--
extra : moz-landing-system : lando
2019-05-17 16:37:35 +00:00
Matthew Finkel
86bff4d747 Bug 1480877 - Only add RECEIVE_BOOT_COMPLETED Android permission with Stumbler r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D31525

--HG--
extra : moz-landing-system : lando
2019-05-17 07:38:54 +00:00
Agi Sferro
1324e8b036 Bug 1550877 - Use correct E10SUtils in GeckoViewNavigation. r=snorp
This fixes a crash in `browser.tabs.update` when used with WebExtension pages.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 13:43:44 +00:00
Agi Sferro
b6a082b167 Bug 1552328 - Add missing unregisterListener in GeckoViewProgress. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D31538

--HG--
extra : moz-landing-system : lando
2019-05-17 13:43:44 +00:00
Mihai Alexandru Michis
97df17e745 Backed out 11 changesets (bug 1330467) as requested by xeonchen on IRC. CLOSED TREE
Backed out changeset 0229d5353d50 (bug 1330467)
Backed out changeset 2f2308fe5747 (bug 1330467)
Backed out changeset 2cd09bae2bdf (bug 1330467)
Backed out changeset 2648f5bb1804 (bug 1330467)
Backed out changeset 4686eebd8962 (bug 1330467)
Backed out changeset b43fa07d5756 (bug 1330467)
Backed out changeset 35d96a4ff659 (bug 1330467)
Backed out changeset 6ac44130d2bb (bug 1330467)
Backed out changeset f939c61e051f (bug 1330467)
Backed out changeset 0ae215d91758 (bug 1330467)
Backed out changeset 1d48bdbb4035 (bug 1330467)
2019-05-17 16:19:06 +03:00
Narcis Beleuzu
ac51017892 Backed out 2 changesets (bug 1550877, bug 1552328) for causing perma geckoview-junit failures on contentPortDisconnectFromApp
Backed out changeset 877ae9359a27 (bug 1550877)
Backed out changeset aee7bbc03bff (bug 1552328)
2019-05-17 10:50:50 +03:00
Agi Sferro
bdf3d1a97c Bug 1550877 - Use correct E10SUtils in GeckoViewNavigation. r=snorp
This fixes a crash in `browser.tabs.update` when used with WebExtension pages.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 04:10:53 +00:00
Agi Sferro
432633e493 Bug 1552328 - Add missing unregisterListener in GeckoViewProgress. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D31538

--HG--
extra : moz-landing-system : lando
2019-05-17 04:11:29 +00:00
arthur.iakab
90e3810429 Backed out 2 changesets (bug 1549855) for failing Android mochitests on robocop_text_page.html CLOSED TREE
Backed out changeset 928038c23227 (bug 1549855)
Backed out changeset 9383ea5938fe (bug 1549855)
2019-05-17 02:06:35 +03:00
J.C. Jones
21b9fb5c7d Bug 1551342 - Don't assert the thread calling JNI WebAuthn functions r=snorp
The mozilla::java::WebAuthnTokenManager asserts its return-to-C++ callbacks as
being run on the main Android UI thread, but since these methods are called
directly from the Fido2PendingIntent listeners, there's no guarantee of that.
We don't actually care what thread was tasked with returning us data, just that
it gets done, so let's not assert the thread here.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 19:08:15 +00:00
Matt Brubeck
246448a05a Bug 1543823 - Compute Accept-Language header based on app and OS prefs. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D30946

--HG--
extra : moz-landing-system : lando
2019-05-13 20:52:10 +00:00
Gijs Kruitbosch
95d90b94d2 Bug 1549855 - remove references to e10s force-enable pref that is no longer used, r=ato,snorp,eeejay
Differential Revision: https://phabricator.services.mozilla.com/D31417

--HG--
extra : moz-landing-system : lando
2019-05-16 16:21:56 +00:00
Adam Orban
948ce99bd1 Bug 1179266 - [Tablet] Fix Android L "share" list item in long press context menu; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D31392

--HG--
extra : moz-landing-system : lando
2019-05-16 06:47:23 +00:00
Botond Ballo
f638ab1178 Bug 1552040 - Make layout.scroll.root-frame-containers a regular (not override) pref. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D31350

--HG--
extra : moz-landing-system : lando
2019-05-16 01:07:41 +00:00
Imanol Fernandez
2076c0d6d2 Bug 1544584 - Make it possible to remove android.speech dependencies using Proguard r=snorp,rbarker,eeejay
Some minor refactor to make it possible to remove android.speech dependencies using Proguard

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

--HG--
extra : moz-landing-system : lando
2019-05-16 01:05:01 +00:00
Dorel Luca
f8c68f3fd8 Backed out changeset b60e7b3407b3 (bug 1544584) for Android Checkstyle in /builds/worker/workspace/build/src/mobile/android/geckoview/src/main/java/org/mozilla/gecko/SpeechSynthesisService.java 2019-05-16 03:18:35 +03:00
Imanol Fernandez
d9bc4e00c7 Bug 1544584 - Make it possible to remove android.speech dependencies using Proguard r=snorp,rbarker,eeejay
Some minor refactor to make it possible to remove android.speech dependencies using Proguard

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

--HG--
extra : moz-landing-system : lando
2019-05-15 19:56:43 +00:00
Randall E. Barker
a9d1bb817c Bug 1551988 - Move util classes not used in GeckoView into Fennec r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D31324

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/ActivityResultHandler.java => mobile/android/base/java/org/mozilla/gecko/util/ActivityResultHandler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/ActivityResultHandlerMap.java => mobile/android/base/java/org/mozilla/gecko/util/ActivityResultHandlerMap.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/InputOptionsUtils.java => mobile/android/base/java/org/mozilla/gecko/util/InputOptionsUtils.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/JSONUtils.java => mobile/android/base/java/org/mozilla/gecko/util/JSONUtils.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/MapUtils.java => mobile/android/base/java/org/mozilla/gecko/util/MapUtils.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/MenuUtils.java => mobile/android/base/java/org/mozilla/gecko/util/MenuUtils.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/PrefUtils.java => mobile/android/base/java/org/mozilla/gecko/util/PrefUtils.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/WindowUtils.java => mobile/android/base/java/org/mozilla/gecko/util/WindowUtils.java
extra : moz-landing-system : lando
2019-05-15 19:12:53 +00:00
Vlad Baicu
32c011ff8e Bug 1534451 - Send Mobile Activation Telemetry ping. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D29668

--HG--
extra : moz-landing-system : lando
2019-05-15 14:00:12 +00:00
Boris Zbarsky
fe64901ac4 Bug 1551657 part 5. Stop using [array] in promptToChangePasswordWithUsernames. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D31121

--HG--
extra : moz-landing-system : lando
2019-05-14 19:33:21 +00:00
Boris Zbarsky
47a701ff47 Bug 1551657 part 3. Stop using [array] in findLogins. r=MattN
I audited the results from
https://searchfox.org/mozilla-central/search?q=%5B%5EA-Za-z_%5D%5BFf%5DindLogins%5B%5EA-Za-z_%5D&case=true&regexp=true&path=

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

--HG--
extra : moz-landing-system : lando
2019-05-14 19:28:52 +00:00
Petru Lingurar
55e7536f9a Bug 1537701 - Update SSL ciphers and protocols for Android Q; r=mt
Added the new Android API 29+ ciphers
https://developer.android.com/reference/javax/net/ssl/SSLEngine#cipher-suites
and also added TLSv1.3
https://developer.android.com/reference/javax/net/ssl/SSLEngine#protocols

Will prefer ChaCha20-Poly1305 which is fastest, thoroughly vetted and battle tested -
https://blog.cloudflare.com/do-the-chacha-better-mobile-performance-with-cryptography/

Beside the new additions will still keep support for previous TLSv1.2 and already
used ciphers still compatible with Android Q while favoring the 128 versions.

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

--HG--
extra : moz-landing-system : lando
2019-05-14 13:09:22 +00:00
shindli
ab107cf77e Backed out changeset 6ff9d6783ae0 (bug 1534451) for causing build bustages in AdvertisingUtil.java:6 CLOSED TREE 2019-05-15 01:48:51 +03:00
Vlad Baicu
1e92dbe339 Bug 1534451 - Send Mobile Activation Telemetry ping. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D29668

--HG--
extra : moz-landing-system : lando
2019-05-14 12:28:51 +00:00
Andrei Lazar
679a252557 Bug 1541423 Fennec is remembering site permissions in private mode r=johannh
Now checking for private mode in order to ignore any permissions that had been set in previous sessions.

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

--HG--
extra : moz-landing-system : lando
2019-05-14 10:43:01 +00:00
Cosmin Sabou
c3b851df0d Bug 1543355 - Disable org.mozilla.geckoview.test.ContentDelegateTest.download for frequent failures. r=gbrown 2019-05-14 09:13:26 +03:00
Andreea Pavel
4bf5812d4c Merge mozilla-inbound to mozilla-central. a=merge 2019-05-14 07:10:36 +03:00
Nagy Mihaly
b72de12fc1 Bug 1549741 - Removed TrackingProtectionPrompt. r=VladBaicu
***

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

--HG--
extra : moz-landing-system : lando
2019-05-13 14:17:33 +00:00
Ciure Andrei
126ca52e77 Backed out changeset 91bc05242c6f (bug 1534451) for causing AdvertisingUtil.java build bustages CLOSED TREE 2019-05-14 02:46:28 +03:00
Vlad Baicu
b597c1dbab Bug 1534451 - Send Mobile Activation Telemetry ping. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D29668

--HG--
extra : moz-landing-system : lando
2019-05-10 22:03:10 +00:00
Will Hawkins
f40ac82e3f Bug 1550596: Remove overly broad keep rule from GV proguard rules. r=snorp,agi
Requesting reviewers based on `hg blame` output and general knowledge of who is working on the project. I hope that's okay.

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

--HG--
extra : moz-landing-system : lando
2019-05-13 21:35:09 +00:00
Randall E. Barker
0e8f14f767 Bug 1550901 - Prevent GeckoView PanZoomController crash when InputDevice.getDevice(event.getDeviceId()) returns null r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D30739

--HG--
extra : moz-landing-system : lando
2019-05-13 17:15:54 +00:00
Andrew Swan
a2a47acbcd Bug 1549192 Remove extension shutdownReason footgun r=kmag
Checking extension.shutdownReason for any purpose other than detecting
app shutdown is unreliable, since actions such as disabing, uninstalling,
etc. may happen ito an extension after it has shut down.  Remove the
temptation for api authors to write incorrect code by removing
extension.shutdownReason and replacing it with an isAppShutdown boolean
passed to shutdown handlers.

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

--HG--
extra : rebase_source : 07ff7710757150d011fec6bc3ed134c6509e9a12
2019-05-09 19:46:38 -07:00
Boris Zbarsky
cce639ce14 Bug 1541485. Stop using AutoJSContext in android widget code. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D30762

--HG--
extra : moz-landing-system : lando
2019-05-13 14:44:51 +00:00
Emily Toop
b5526a843a Bug 1549732 - Add tests for referrer. r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D30525

--HG--
extra : moz-landing-system : lando
2019-05-13 12:15:35 +00:00
Emily Toop
a9ac034fc8 Bug 1549732 - Use ReferrerInfo instead of ReferrerURI when loading URI r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D30524

--HG--
extra : moz-landing-system : lando
2019-05-10 18:00:28 +00:00
Jan Henning
9f0e6c64db Bug 1252310 - Don't mistakenly suppress key-up event when not required. r=geckoview-reviewers,m_kato
The problem from bug 1278581 was that hiding the URL bar in response to a
key-down event (for the Enter key) would then lead to the corresponding key-up
event then ending up in GeckoView, thereby confusing the "last user activity"
tracking.
It appears that this only happens with key events received through the
regular OnKeyListener, but not with events coming from the OnKeyPreImeListener.

On devices where pressing Enter in the URL bar would transmit the key event
through the latter mechanism, this means that because the key-up event we wanted
to suppress in BrowserApp never arrived, we would instead suppress whatever
other key event would arrive next, e.g. possibly a press of the back button.
This would lead to the observed behaviour where after entering an URL, the first
subsequent press of the back button might then be ignored.

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

--HG--
extra : moz-landing-system : lando
2019-05-13 06:48:30 +00:00
Gurzau Raul
695892607b Bug 1544169 - Disabled onHistoryStateChange on debug build. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D30645

--HG--
extra : moz-landing-system : lando
2019-05-10 17:03:22 +00:00
Botond Ballo
76ad75d4b8 Bug 1512813 - Enable the Visual Viewport API on Android. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D30735

--HG--
extra : moz-landing-system : lando
2019-05-10 22:57:29 +00:00
Boris Zbarsky
928476d24c Bug 1550092 part 1. Stop using [array] in sendTouchEvent/sendTouchEventToWindow. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D30441

--HG--
extra : moz-landing-system : lando
2019-05-10 09:03:39 +00:00
J.C. Jones
9b769ac3e9 Bug 1391438 - Support FIDO2 for WebAuthn on Android r=snorp,keeler
Support using the Google Play-provided FIDO2 API for Web Authentication.

FIDO U2F API support  is being handled subsequently in Bug 1550625.

This patch uses the privileged APIs and thus will only work on Fennec Nightly, Beta, and Release builds.

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

--HG--
extra : moz-landing-system : lando
2019-05-10 16:40:17 +00:00
Gurzau Raul
e9eb26a49e Bug 1532186 - Disable readFromParcel_throwOnAlreadyOpen for frequent failures on pgo build. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D30656

--HG--
extra : moz-landing-system : lando
2019-05-10 16:00:06 +00:00
Gurzau Raul
98d08862ca Bug 1543355 - Disable org.mozilla.geckoview.test.ContentDelegateTest.download for frequent failures. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D30648

--HG--
extra : moz-landing-system : lando
2019-05-10 15:08:12 +00:00
Liang-Heng Chen
2c4d7cf8eb Bug 1330467 - part 9. Use principal with mobile permissions; r=johannh,snorp
Differential Revision: https://phabricator.services.mozilla.com/D19930

--HG--
extra : moz-landing-system : lando
2019-05-07 22:20:46 +00:00
Nick Alexander
1764740990 Bug 1543982 - Part 2: Don't invoke mach build ... recursively. r=emilio
This commit avoids moz.build tasks when we're already within `mach
build`.

This is belt-and-braces: from within `mach build`, we want the main
moz.build dependency graph to arrange for the Gradle invocations to be
in the right state.  It's only in other situations, like `mach android
...` or invocation from Android Studio, that we want Gradle to arrange
to be in the right state vis. moz.build.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 20:39:10 +00:00
diana.iacos
57aa3d1fab Bug 1547929 - Default browser preference cleanup on tablets; r=petru
The "Make default browser" setting is now just a button, part of the "General" settings.
We'll remove the layout for 2-pane settings and the now unused String.

Depends on D30468

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

--HG--
extra : moz-landing-system : lando
2019-05-09 10:23:02 +00:00
diana.iacos
9fa264ed41 Bug 1547929 - [Tablet] Make default browser option not displayed on top of the Settings Menu; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D30468

--HG--
extra : moz-landing-system : lando
2019-05-09 10:23:25 +00:00
arthur.iakab
1df56d2ae8 Backed out changeset 9461cf2c40e4 (bug 1549741) for causing Android lint busage on lint-results-withoutGeckoBinariesDebug.html CLOSED TREE 2019-05-09 13:26:59 +03:00
Nagy Mihaly
8a6b7522e7 Bug 1549741 - Removed TrackingProtectionPrompt. r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D30473

--HG--
extra : moz-landing-system : lando
2019-05-09 09:01:05 +00:00
Makoto Kato
53c91b6d96 Bug 1538458 - Part 2. Update tests that includes fieldset r=geckoview-reviewers,snorp
Update this junit test with this bug's test case. Actually, autofill_userpass
doesn't work with the latest GV, so I should like to update this to fix focus
timing.

Also, this does't run on our test infra because this requires API 26.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 20:17:28 +00:00
Makoto Kato
fcfbec0479 Bug 1538458 - Part 1. LoginManagerContent requires <input> or <input type="password"> element to recognize login form r=geckoview-reviewers,snorp
Actually, sample url has `<fieldset>` element, so LoginManagerContent cannot detects username field.

`LoginManagerContent.getUserNameAndPasswordFields` detects username field and password field when passing `<input>` element.  So we should pass password field if possible.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 20:18:12 +00:00
Randall E. Barker
df77b15b03 Bug 1550185 - Ensure GeckoView CrashHandler.getRootException() does not return null r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D30422

--HG--
extra : moz-landing-system : lando
2019-05-08 23:49:04 +00:00
Mike Hommey
0e4063bd7b Bug 1549886 - Enable MOZ_TELEMETRY_REPORTING by default when MOZILLA_OFFICIAL is set. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D30336

--HG--
extra : moz-landing-system : lando
2019-05-08 14:33:56 +00:00
Mike Hommey
fa3631a2e3 Bug 1549886 - Move MOZ_TELEMETRY_REPORTING to python configure. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D30335

--HG--
extra : moz-landing-system : lando
2019-05-08 14:33:54 +00:00
Andreea Pavel
dedf374ae8 Backed out changeset f883d868ce31 (bug 1550185) for failing android checkstyle on a CLOSED TREE 2019-05-09 00:45:47 +03:00
Randall E. Barker
c5622ff657 Bug 1550185 - Ensure GeckoView CrashHandler.getRootException() does not return null r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D30422

--HG--
extra : moz-landing-system : lando
2019-05-08 21:23:13 +00:00
Matt Brubeck
9ac8154160 Bug 1542566 - Put Android system locale before app default in Accept-Language. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D29906

--HG--
extra : moz-landing-system : lando
2019-05-07 22:03:04 +00:00
Jan Henning
e7e0607926 Bug 1540573 - Followup - Don't double-start/stop NetworkManager in Fennec. r=snorp
Now handled via GeckoRuntime's lifecycle callbacks.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 20:26:13 +00:00
Eitan Isaacson
d0fdaea75f Bug 1549576 - Store fixed layer margin in session and send to compositor when ready. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D30132

--HG--
extra : moz-landing-system : lando
2019-05-07 21:13:29 +00:00
Bogdan Tara
0545979dfd Backed out changeset 45f82a11656c (bug 1549576) for GeckoSession.java related checkstyle failures CLOSED TREE 2019-05-07 23:20:55 +03:00
Mike Shal
3e32d74d22 Bug 1543212 - Create a PGO-optimized android-aarch64 build; r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D29588

--HG--
extra : moz-landing-system : lando
2019-05-02 21:36:46 +00:00
Sonali9
685b7499b8 Bug 1495344 - Added color definitions for sepia mode in mobile aboutReader.css r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D29735

--HG--
extra : moz-landing-system : lando
2019-05-07 18:59:13 +00:00
Jan Henning
b9a12131e0 Bug 1494026 - Part 1: Add link to OS app notification settings. r=VladBaicu
Starting from Android O, more fine-grained control over which notifications
should be displayed is available through Android's notification channel system.
To aid discoverability, we add a link to the corresponding settings screen from
inside our own settings menu.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 17:21:01 +00:00
Jan Henning
9036a5ab11 Bug 1494026 - Part 0b: Cleanup javadoc. r=VladBaicu
Somehow that comment ended up in the wrong file after refactoring.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 17:21:51 +00:00
Jan Henning
f4c63a5267 Bug 1494026 - Part 0a: Ignore private resource warning. r=VladBaicu
We're not going to change this for now and otherwise Android Studio shows an
error for that file.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 18:59:13 +00:00
Eitan Isaacson
374fe174e9 Bug 1549576 - Store fixed layer margin in session and send to compositor when ready. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D30132

--HG--
extra : moz-landing-system : lando
2019-05-07 17:54:22 +00:00
Paul Adenot
d9dfc81a00 Bug 1549699 - Don't use communication mode and speakerphone mode methods of AudioManager. r=snorp
This is more related to telephony than anything else, and are more suited to
real telephony app.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 15:20:02 +00:00
Petru Lingurar
d9b2ef28a3 Bug 1547195 - Remove unused image asset; r=VladBaicu
This image was initially parts of the new Onboarding UX assets but
it is unused at the moment.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 14:02:38 +00:00
Chris Pearce
3f91421217 Bug 1540573 - P6. Use frugal preloading of media data when on cellular, otherwise aggressive. r=jya
We're allowed to take some liberties as to what the default value and behaviour
we assume for the 'preload' attribute on HTMLMediaElement by the spec. On
desktop we assumed preload="metadata", while on mobile we assumed the default
of preload="none" to save data. On mobile we also assumed that preload="auto"
meant preload="metadata".

I think it makes sense to instead of always assuming that data on Android is
always expensive, we can instead detect if we're running on a cellular connection,
and preload frugally then, otherwise aggressively.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 22:43:14 +00:00
Chris Pearce
79608d2578 Bug 1540573 - P5. Only "always throttle" media download to the readahead on cellular connections. r=jya
Normally when downloading media data we throttle the download only if we're
ahead of the read cursor more than the "readahead limit", and if we estimate
that the connection is fast enough that we'll be able to download at a rate
fast enough to playback in real time if we resume it later.

On mobile we additionally override this so that we always throttle the download
once we're ahead of the read cursor by the readahead limit. This is to save
data.  I think we can relax this to only do this override if we're on a
cellular connection; if we're on WiFi we can assume data is cheap.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 22:43:09 +00:00
Chris Pearce
e62032e491 Bug 1540573 - P2. Have GeckoRuntime listen for network link changes when in the foreground. r=snorp
This allows Gecko to react to network link/status changes events as needed.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 22:41:10 +00:00
Eugen Sawin ext:(%2C%20Chris%20Pearce%20%3Ccpearce%40mozilla.com%3E)
05af110324 Bug 1540573 - P1. Observe ProcessLifecycle events in GeckoRuntime. r=snorp
This is esawin's patch from Bug 1544076; D28083.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 22:40:56 +00:00
Sonali9
5fe0091f40 Bug 1395824 Add css for table borders in aboutReader.css r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D29957

--HG--
extra : moz-landing-system : lando
2019-05-06 19:00:03 +00:00
Eitan Isaacson
a9bf1e8fe8 Bug 1548960 - Call super.onAttachedToWindow from GeckoView even when we have no session set. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D29916

--HG--
extra : moz-landing-system : lando
2019-05-06 16:38:18 +00:00
Eugen Sawin
cb7193747e Bug 1545255 - [2.0] Add GeckoSession.loadUri() referrer test. r=snorp
Depends on D29683

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

--HG--
extra : moz-landing-system : lando
2019-05-03 16:15:45 +00:00
Eugen Sawin
d1db7a80be Bug 1545255 - [1.0] Use ReferrerInfo when loading URIs in GeckoView. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D29683

--HG--
extra : moz-landing-system : lando
2019-05-03 22:08:29 +00:00
Nika Layzell
6eb2084136 Bug 1544811 - Use web processes on a per-site basis for fission-enabled windows, r=mconley
This patch introduces a new type of content process, which has a dynamic name.
This type of content process is labeled as `webIsolated=${SITE_ORIGIN}` and is
used within fission-enabled windows.

To enable this, additional information about the fission status of the target
window must be passed into E10SUtils. This was done by updating every call site
manually to pass an extra boolean. A better solution perhaps should be used in
the future.

With this patch enabled, we now perform process switches, but only when
navigating to HTTP URIs. If we navigate to a non-HTTP URI in an iframe with
fission enabled, it will not behave correctly. This must be done in a
follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 21:31:57 +00:00
Ryan VanderMeulen
5b44c6f42f Bug 1548617 - Add FENNEC_NIGHTLY checks to the build config. r=nalexander
Make sure we continue to leave JS un-minified for Nightly builds and add a missing FENNEC_NIGHTLY to AppConstants.jsm which got missed in bug 1547710.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 20:01:21 +00:00
Ryan VanderMeulen
e3b708c75a Bug 1548617 - Add FENNEC_NIGHTLY checks to appropriate places in Fennec app code. r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D29723

--HG--
extra : moz-landing-system : lando
2019-05-03 09:25:50 +00:00
Andreea Pavel
e2388edd9f Backed out 7 changesets (bug 1540573) for causing bug 1548441
Backed out changeset dd882b8cd73e (bug 1540573)
Backed out changeset b10d2cae45f2 (bug 1540573)
Backed out changeset 270a8917377f (bug 1540573)
Backed out changeset 3db059b34e40 (bug 1540573)
Backed out changeset fe196b2dfc62 (bug 1540573)
Backed out changeset 1bde5042e507 (bug 1540573)
Backed out changeset 4ff116b9d729 (bug 1540573)
2019-05-03 20:35:27 +03:00
Andrea Marchesini
d179c5015e Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:47 +00:00
Anuta Logigan
0380663d44 Bug 1546153 - Fix NPE at BrowserApp.onCreate() caused by mBrowserToolbar being null. r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com//D28857

--HG--
extra : source : fa5584298300bbff34cdaa3001ac248e4b4003a7
extra : amend_source : 199838b590c6b756ae5c1d6bfa1442843cd13642
2019-04-25 16:39:26 +02:00
Sebastian Hengst
84d3dda4ab Backed out changeset fa5584298300 (bug 1546153) for checkstyle failure (missing whitespace) 2019-05-03 13:31:07 +02:00
alogigan
f5ae35ca10 Bug 1546153 - Fix NPE at BrowserApp.onCreate() caused by mBrowserToolbar being null. r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com//D28857

--HG--
extra : amend_source : ac103077c7c3010faf0f975f4a8ed4fadf576e78
2019-04-25 16:39:26 +02:00
Andrei Teslovan
4a2b5dd88c Bug 1548000 - Default browser triggers "Default apps" screen; r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D29671

--HG--
extra : moz-landing-system : lando
2019-05-03 08:53:54 +00:00
Bogdan Tara
386d23bfe7 Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Chris Pearce
a3f9372fa2 Bug 1540573 - P6. Use frugal preloading of media data when on cellular, otherwise aggressive. r=jya
We're allowed to take some liberties as to what the default value and behaviour
we assume for the 'preload' attribute on HTMLMediaElement by the spec. On
desktop we assumed preload="metadata", while on mobile we assumed the default
of preload="none" to save data. On mobile we also assumed that preload="auto"
meant preload="metadata".

I think it makes sense to instead of always assuming that data on Android is
always expensive, we can instead detect if we're running on a cellular connection,
and preload frugally then, otherwise aggressively.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:44:49 +00:00
Chris Pearce
c957fbd2ef Bug 1540573 - P5. Only "always throttle" media download to the readahead on cellular connections. r=jya
Normally when downloading media data we throttle the download only if we're
ahead of the read cursor more than the "readahead limit", and if we estimate
that the connection is fast enough that we'll be able to download at a rate
fast enough to playback in real time if we resume it later.

On mobile we additionally override this so that we always throttle the download
once we're ahead of the read cursor by the readahead limit. This is to save
data.  I think we can relax this to only do this override if we're on a
cellular connection; if we're on WiFi we can assume data is cheap.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:44:31 +00:00
Chris Pearce
921421911b Bug 1540573 - P2. Have GeckoRuntime listen for network link changes when in the foreground. r=snorp
This allows Gecko to react to network link/status changes events as needed.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:43:22 +00:00
Eugen Sawin ext:(%2C%20Chris%20Pearce%20%3Ccpearce%40mozilla.com%3E)
524b2509b6 Bug 1540573 - P1. Observe ProcessLifecycle events in GeckoRuntime. r=snorp
This is esawin's patch from Bug 1544076; D28083.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:43:02 +00:00
Andrea Marchesini
fad9354e10 Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:53 +00:00
Emily Toop
3fd2272331 Bug 1546851 - Ensure that the context menu is closed when performing a paste. r=geckoview-reviewers,droeh
This issue was caused by the updating of the caret position after the paste occurs firing an `updateposition` event resulting in an `GeckoView:ShowSelectionAction` message to reposition context menu without any attempt to close the context menu. The solution is to hide the context menu before the repositioning of the caret occurs such that the `updateposition` event doesn't trigger a redisplay.

I tried several versions of this trying to trigger the menu close from inside `GeckoViewSelectionActionDelegate`, including making the call to `docShell.doCommand("cmd_paste");` asynchronous and firing `ACTION_HIDE` before firing `ACTION_PASTE`, but the result is always the same - one of the events is processed before the other and so the second event is rejected as a stale response.

Therefore we are firing the `pagehide` from inside the code that performs the paste. This has to be done before the paste occurs otherwise the `updateposition` event is fired before the page hide event and the context menu redisplays before being hidden.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:06:58 +00:00
Narcis Beleuzu
762dbd77f4 Backed out changeset 0727a51d7ae1 (bug 1547929) as requested by petru. CLOSED TREE 2019-05-02 13:46:56 +03:00
diana.iacos
3af8effac4 Bug 1547929 - [Tablet] Make default browser option not displayed on top of the Settings Menu; r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D29636

--HG--
extra : moz-landing-system : lando
2019-05-02 09:16:05 +00:00
Noemi Erli
54a0234766 Backed out 6 changesets (bug 1540573) for failures in test_CSP.html
Backed out changeset 599e6e06599d (bug 1540573)
Backed out changeset bf725b7daa5b (bug 1540573)
Backed out changeset 814c94b26028 (bug 1540573)
Backed out changeset 3496ca48f6e0 (bug 1540573)
Backed out changeset 2c4303b175ec (bug 1540573)
Backed out changeset b49cd2b191ae (bug 1540573)
2019-05-02 06:41:33 +03:00
Cosmin Sabou
a884fb99d8 Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Chris Pearce
ce390c7a4f Bug 1540573 - P6. Use frugal preloading of media data when on cellular, otherwise aggressive. r=jya
We're allowed to take some liberties as to what the default value and behaviour
we assume for the 'preload' attribute on HTMLMediaElement by the spec. On
desktop we assumed preload="metadata", while on mobile we assumed the default
of preload="none" to save data. On mobile we also assumed that preload="auto"
meant preload="metadata".

I think it makes sense to instead of always assuming that data on Android is
always expensive, we can instead detect if we're running on a cellular connection,
and preload frugally then, otherwise aggressively.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:48:21 +00:00
Chris Pearce
4c240bf871 Bug 1540573 - P5. Only "always throttle" media download to the readahead on cellular connections. r=jya
Normally when downloading media data we throttle the download only if we're
ahead of the read cursor more than the "readahead limit", and if we estimate
that the connection is fast enough that we'll be able to download at a rate
fast enough to playback in real time if we resume it later.

On mobile we additionally override this so that we always throttle the download
once we're ahead of the read cursor by the readahead limit. This is to save
data.  I think we can relax this to only do this override if we're on a
cellular connection; if we're on WiFi we can assume data is cheap.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:48:17 +00:00
Chris Pearce
6d77c96a1d Bug 1540573 - P2. Have GeckoRuntime listen for network link changes when in the foreground. r=snorp
This allows Gecko to react to network link/status changes events as needed.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:45:53 +00:00
Eugen Sawin ext:(%2C%20Chris%20Pearce%20%3Ccpearce%40mozilla.com%3E)
03a2295044 Bug 1540573 - P1. Observe ProcessLifecycle events in GeckoRuntime. r=snorp
This is esawin's patch from Bug 1544076; D28083.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 23:45:33 +00:00
Andrea Marchesini
36718d66c8 Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:54 +00:00
Ryan VanderMeulen
5e8e050d6a Bug 1547710 - Add FENNEC_NIGHTLY define to Fennec nightly builds. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D29203

--HG--
extra : moz-landing-system : lando
2019-05-01 18:37:29 +00:00
Kartikaya Gupta
dc2d079829 Bug 1544517 - On GeckoView default to treating mouse inputs as mouse. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D29484

--HG--
extra : moz-landing-system : lando
2019-05-01 14:53:01 +00:00
Sylvestre Ledru
e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Kartikaya Gupta
6487cabf8b Bug 1544517 - Add a pref that controls conversion of mouse events to touch events. r=geckoview-reviewers,rbarker
For TV devices, it is useful to have mouse events automatically
interpreted as touch events. On other devices, such as more desktop-like
Android devices, we want to treat mouse events as mouse events. This patch
makes this behaviour controllable by a pref, but keeps the existing default
behaviour of treating mouse events as touch events.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 15:28:21 +00:00
Johan Lorenzo
3bab3c3966 Bug 1546320 - Create mozconfigs for Fennec beta builds r=RyanVM
Create mozconfigs for Fennec beta builds.
This also prevents mergeday scripts from modifying nightly mozconfigs on beta

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

--HG--
rename : mobile/android/config/mozconfigs/android-aarch64/nightly => mobile/android/config/mozconfigs/android-aarch64/beta
rename : mobile/android/config/mozconfigs/android-aarch64/debug => mobile/android/config/mozconfigs/android-aarch64/debug-beta
rename : mobile/android/config/mozconfigs/android-api-16/nightly => mobile/android/config/mozconfigs/android-api-16/beta
rename : mobile/android/config/mozconfigs/android-api-16/debug => mobile/android/config/mozconfigs/android-api-16/debug-beta
rename : mobile/android/config/mozconfigs/android-x86/nightly => mobile/android/config/mozconfigs/android-x86/beta
rename : mobile/android/config/mozconfigs/android-x86/debug => mobile/android/config/mozconfigs/android-x86/debug-beta
rename : mobile/android/config/mozconfigs/android-x86_64/nightly => mobile/android/config/mozconfigs/android-x86_64/beta
rename : mobile/android/config/mozconfigs/android-x86_64/debug => mobile/android/config/mozconfigs/android-x86_64/debug-beta
extra : moz-landing-system : lando
2019-04-30 13:57:48 +00:00
Narcis Beleuzu
8e7b38b0cd Backed out changeset 491709a630ef (bug 1544517) for geckoview failures 2019-04-30 07:55:35 +03:00
Sebastian Hengst
4dfe30642b Backed out 4 changesets (Bug 1501108) for causing very frequent leaks in macOS debug wpt tests: Set API key provided by api-lint tasks. a=backout
--HG--
extra : rebase_source : bc12d5324f51967f4c15ac9a896d4a6b26463f03
2019-04-29 22:53:40 +02:00
Sebastian Hengst
3dd01e8232 Backed out 4 changesets (bug 1501108) for causing very frequent leaks in macOS debug wpt tests. a=backout
Backed out changeset 23a77e063257 (bug 1501108)
Backed out changeset 335cec0aacd8 (bug 1501108)
Backed out changeset 99ba286125d1 (bug 1501108)
Backed out changeset 8f2d511ad49f (bug 1501108)

--HG--
extra : rebase_source : 01925c24ac47b37135fcfebab8ae7e9876d5b90e
2019-04-29 17:39:42 +02:00
Kartikaya Gupta
71bf7c3485 Bug 1544517 - Add a pref that controls conversion of mouse events to touch events. r=geckoview-reviewers,rbarker
For TV devices, it is useful to have mouse events automatically
interpreted as touch events. On other devices, such as more desktop-like
Android devices, we want to treat mouse events as mouse events. This patch
makes this behaviour controllable by a pref, but keeps the existing default
behaviour of treating mouse events as touch events.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 19:24:39 +00:00
Emily Toop
21210ed5c9 Bug 1546744 - Ensure we are testing for the correct things when validating screenshots r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D28983

--HG--
extra : moz-landing-system : lando
2019-04-26 20:49:00 +00:00
championshuttler
30cfc2b453 Bug 1484640 - Enable ESLint for mobile/android/chrome/content/browser.js (Manual Changes). r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D22891

--HG--
extra : moz-landing-system : lando
2019-04-29 14:17:13 +00:00
championshuttler
41dccc1a43 Bug 1484640 - Enable ESLint for mobile/android/chrome/content/browser.js (Automatic Changes). r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D22890

--HG--
extra : moz-landing-system : lando
2019-04-29 15:08:12 +00:00
Mark Banner
782aed646d Bug 1547291 - Update URLs for the Prisjakt search engine. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D29012

--HG--
extra : moz-landing-system : lando
2019-04-26 17:26:22 +00:00
Eitan Isaacson
160a13b668 Bug 1516048 - Introduce GeckoView.setVerticalClipping. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D15240

--HG--
extra : moz-landing-system : lando
2019-04-26 22:38:10 +00:00
Matt Brubeck
47aeb82d30 Bug 1545170 - Fix outdated javadoc comment for LoadRequest.isRedirect. r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D28879

--HG--
extra : moz-landing-system : lando
2019-04-26 06:00:17 +00:00
Petru Lingurar
0b640ba5ae Bug 1545805 - Update Fennec Onboarding process; r=VladBaicu
The new Onboarding process will have updated imagery and strings.
It will also not show the "Customize" screen anymore.

It will only be shown if the new Strings are localized;

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

--HG--
extra : source : 035da268a5d5585c2d7d5996ca7c73263ffdbbc8
2019-04-25 18:10:59 +00:00
Andreea Pavel
8f0472d6c8 Backed out changeset 035da268a5d5 (bug 1545805) android build bustages on a CLOSED TREE 2019-04-26 11:07:10 +03:00
Andrei Teslovan
74802378e0 Bug 1546617 - Land updated Onboarding UX strings; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D28633

--HG--
extra : moz-landing-system : lando
2019-04-25 14:38:39 +00:00
Petru Lingurar
bfbfdce00a Bug 1545805 - Update Fennec Onboarding process; r=VladBaicu
The new Onboarding process will have updated imagery and strings.
It will also not show the "Customize" screen anymore.

It will only be shown if the new Strings are localized;

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

--HG--
extra : moz-landing-system : lando
2019-04-25 18:10:59 +00:00
diana.iacos
19d60ce7a3 Bug 1546889 - Refresh Settings layout if default browser was changed while in background; r=petru
Handle 2 specific edge-cases:
- The user presses to change default browser, when he returns to the app the
app settings button to do so should not be displayed anymore.
- With the app in background showing the app settings the user changes to a
different default browser. When resuming the app it should show the option to
set Fennec as default.
All this without otherwise requiring the user to close app settings and opening
them again.

Depends on D28831

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

--HG--
extra : moz-landing-system : lando
2019-04-25 13:59:49 +00:00
diana.iacos
8ed259ef67 Bug 1546889 - Update Default Browser toast message; r=petru,flod
Differential Revision: https://phabricator.services.mozilla.com/D28831

--HG--
extra : moz-landing-system : lando
2019-04-25 14:13:58 +00:00
Emily Toop
1cdb609e6a Bug 1527074 - Expose storage manager API to GeckoView r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D25408

--HG--
extra : moz-landing-system : lando
2019-04-25 16:20:48 +00:00
Gurzau Raul
dc61b90737 Merge inbound to mozilla-central. a=merge 2019-04-25 19:19:37 +03:00
Mathieu Leplatre
582063c263 Bug 1512451 - Read OneCRL blocklist from security-states/onecrl r=jcj,mgoodwin,glasserc
Read OneCRL blocklist from security-states/onecrl

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

--HG--
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_blocklist_onecrl.js
extra : moz-landing-system : lando
2019-04-24 14:52:13 +00:00
Bogdan Tara
b77143169d Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-25 12:51:48 +03:00
Brindusan Cristian
e6bfbdb99f Backed out changeset a72c9df6c09a (bug 1527287) for build bustages at BrowserElementParent.cpp. CLOSED TREE 2019-04-25 03:15:59 +03:00
Ehsan Akhgari
691bad31ac Bug 1527287 - Add support for "noreferrer" feature argument to window.open(); r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D28396

--HG--
extra : moz-landing-system : lando
2019-04-24 23:50:40 +00:00
Brindusan Cristian
b3b1ca15aa Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
rename : dom/ipc/TabParent.h => dom/ipc/BrowserParent.h
2019-04-25 01:43:17 +03:00
Brindusan Cristian
72339d0385 Backed out changeset ce050fe2bd45 (bug 1527287) for causing merge conflicts. CLOSED TREE 2019-04-25 01:39:26 +03:00
Brindusan Cristian
f92b05e5f0 Merge inbound to mozilla-central. a=merge
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
2019-04-25 00:54:01 +03:00
diana.iacos
a542f0deda Bug 1544589 - Refactor isDefaultBrowser out from MmaDelegate to PackageUtil; r=petru
Depends on D28657

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

--HG--
extra : moz-landing-system : lando
2019-04-24 15:28:36 +00:00
diana.iacos
9b8c32599a Bug 1544589 - Streamline the "Make Firefox your default browser" user settings workflow; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D28657

--HG--
extra : moz-landing-system : lando
2019-04-24 15:28:18 +00:00
Eugen Sawin
33dc6347a7 Bug 1544076 - Fix gradle dependencies error.
Differential Revision: https://phabricator.services.mozilla.com/D28718

--HG--
extra : moz-landing-system : lando
2019-04-24 19:06:57 +00:00
Ehsan Akhgari
27e187b37d Bug 1527287 - Add support for "noreferrer" feature argument to window.open(); r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D28396

--HG--
extra : moz-landing-system : lando
2019-04-24 18:09:44 +00:00
Eugen Sawin
9a2c465f9f Bug 1544076 - [1.1] Add lifecycle library dependency. r=nalexander,snorp
Differential Revision: https://phabricator.services.mozilla.com/D28082

--HG--
extra : moz-landing-system : lando
2019-04-24 17:51:32 +00:00
Eugen Sawin
23e0b455ee Bug 1544076 - [0.1] Upgrade Android support library to 28.0.0 to avoid version conflicts with the lifecycle library. r=nalexander,droeh
Differential Revision: https://phabricator.services.mozilla.com/D27971

--HG--
extra : moz-landing-system : lando
2019-04-24 16:22:50 +00:00
Andrei Teslovan
ed97bc825a Bug 1345104 - Show error when Find In Page returns no results; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D28609

--HG--
extra : moz-landing-system : lando
2019-04-24 10:48:55 +00:00
Agi Sferro
c1f4fbd0dd Bug 1546411 - [geckoview] Hide all @IntDef and @StringDef. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D28503

--HG--
extra : moz-landing-system : lando
2019-04-24 02:22:39 +00:00
Agi Sferro
21a71a33f2 Bug 1546135 - [geckoview] Use flags in WebExtension constructor. r=esawin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D28365

--HG--
extra : moz-landing-system : lando
2019-04-24 02:22:39 +00:00
Razvan Maries
f66c2eb864 Backed out 2 changesets (bug 1546411, bug 1546135) for build bustages. CLOSED TREE
Backed out changeset a66f1ffd23ea (bug 1546411)
Backed out changeset a322ec5c25e6 (bug 1546135)
2019-04-24 02:34:50 +03:00
Agi Sferro
e69ce95872 Bug 1546411 - [geckoview] Hide all @IntDef and @StringDef. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D28503

--HG--
extra : moz-landing-system : lando
2019-04-23 22:58:50 +00:00
Agi Sferro
f13395483f Bug 1546135 - [geckoview] Use flags in WebExtension constructor. r=esawin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D28365

--HG--
extra : moz-landing-system : lando
2019-04-23 22:58:50 +00:00
Andreea Pavel
75578f7684 Backed out changeset a19d696f96fb (bug 1512451) for failing bc at browser_all_files_referenced.js on a CLOSED TREE
--HG--
rename : services/common/tests/unit/test_blocklist_onecrl.js => services/common/tests/unit/test_blocklist_certificates.js
2019-04-24 00:59:27 +03:00
Mathieu Leplatre
6e4798bb72 Bug 1512451 - Read OneCRL blocklist from security-states/onecrl r=jcj,mgoodwin,glasserc
Read OneCRL blocklist from security-states/onecrl

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

--HG--
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_blocklist_onecrl.js
extra : moz-landing-system : lando
2019-04-23 18:40:40 +00:00
Christoph Kerschbaumer
42672fde72 Bug 1544863: Explicitly pass csp to createContentWindow(). r=Gijs,baku
Differential Revision: https://phabricator.services.mozilla.com/D27871

--HG--
extra : moz-landing-system : lando
2019-04-23 14:37:40 +00:00
Dorel Luca
facaf244e4 Backed out changeset 7d3f2f4c53be (bug 1544863) for eslint failure 2019-04-23 17:16:13 +03:00
Christoph Kerschbaumer
73a324ee2d Bug 1544863: Explicitly pass csp to createContentWindow(). r=Gijs,baku
Differential Revision: https://phabricator.services.mozilla.com/D27871

--HG--
extra : moz-landing-system : lando
2019-04-23 13:02:40 +00:00
Oana Pop Rus
bb64503da3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-23 01:15:48 +03:00
Oana Pop Rus
cd403eabd2 Merge inbound to mozilla-central. a=merge 2019-04-23 00:48:20 +03:00
Grisha Kruglov
b44585f969 Bug 1545232 - Add AuthStateProvider r=nalexander,sebastian
See comments in the patch for details.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 20:07:34 +00:00
Agi Sferro
d9c6b51564 Bug 1529119 - Expose msaa-level, double_tap_zooming, autozoom. r=snorp
FxR uses these prefs and they might be helpful to other embedders so we can
just add them to GeckoRuntimeSettings.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 18:50:08 +00:00
Agi Sferro
9caa256abd Bug 1529119 - Remove duplicate entry in CHANGELOG. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D28238

--HG--
extra : moz-landing-system : lando
2019-04-22 18:50:15 +00:00
Andrei Teslovan
3b97c744e8 Bug 1545838 - Update Fennec's AMO URL; r=petru
Differential Revision: https://phabricator.services.mozilla.com/D28335

--HG--
extra : moz-landing-system : lando
2019-04-22 15:07:01 +00:00
Noemi Erli
7bb9457084 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-04-24 12:57:59 +03:00
Makoto Kato
4697a6c63e Bug 1540628 - Don't use restartInput when no composition. r=esawin
Since `restartInput` resets all keyboard state, it isn't good to call this
everytime. So we should call this when discarding composition only.

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

--HG--
extra : rebase_source : 3c1c88cb18351fc220ba36fea5a86334cbf68029
extra : amend_source : 089346137a471096b72f3ee77de154f3fcc16069
extra : histedit_source : 39481df24b6be63c96310143e4bb03d09db1883a
2019-04-15 15:24:55 +09:00
prathiksha
37cee0f171 Bug 1185000 - Show a dismissed password manager doorhanger when credit card numbers are detected. r=jaws
In certain straight-forward cases where we detect a credit card number being used with password fields we will show a dismissed password manager doorhanger. The user can still choose to save in case the valid credit card number is actually their username or password.

1) If the Luhn checksum matches on the username field (see CreditCard.jsm) AND the password is 3 numerical digits (don't handle 4 for now even though it's used by Visa since there are banks that use 4 digits passwords for online banking still).
2) If the Luhn checksum matches on the password value AND we detect that the type=password field is a credit card field via autocomplete=cc-number.
** We must include the @autocomplete check otherwise sites will abuse this loophole on legit login forms and set autocomplete=cc-number on their password fields to avoid saving.

For both of these cases we  should `dismissed:true` doorhanger, rather than not showing one at all, in case there are false-negatives.

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

--HG--
extra : source : e9be442c871e173a409f3b969f5bcea0e1ae4d71
extra : histedit_source : c942a81512be954abe595fa41ca44c26cd89b0e6
2019-04-19 13:52:58 -07:00
Ciure Andrei
636eb74c5d Backed out changeset e9be442c871e (bug 1185000) for turning 1272849 into perma CLOSED TREE 2019-04-21 10:34:39 +03:00
prathiksha
8c683ae2fc Bug 1185000 - Show a dismissed password manager doorhanger when credit card numbers are detected. r=jaws
In certain straight-forward cases where we detect a credit card number being used with password fields we will show a dismissed password manager doorhanger. The user can still choose to save in case the valid credit card number is actually their username or password.

1) If the Luhn checksum matches on the username field (see CreditCard.jsm) AND the password is 3 numerical digits (don't handle 4 for now even though it's used by Visa since there are banks that use 4 digits passwords for online banking still).
2) If the Luhn checksum matches on the password value AND we detect that the type=password field is a credit card field via autocomplete=cc-number.
** We must include the @autocomplete check otherwise sites will abuse this loophole on legit login forms and set autocomplete=cc-number on their password fields to avoid saving.

For both of these cases we  should `dismissed:true` doorhanger, rather than not showing one at all, in case there are false-negatives.

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

--HG--
extra : transplant_source : %A9%94_%9A%03%00%A1u%F3%28%C6%00H%16z%8A%8F%D6%18O
2019-04-19 13:52:58 -07:00
Petru Lingurar
3e45f049fa Bug 1544525 - Update about:addons's AMO link; r=AndreiLazar
Depends on D27858

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

--HG--
extra : moz-landing-system : lando
2019-04-17 09:51:57 +00:00
Petru Lingurar
d90041e847 Bug 1544525 - Update about:addons's AMO title; r=Pike,JanH
And ensure we will always show a localized title, even if we have to fallback
to the old already localized one.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 07:14:54 +00:00
Ehsan Akhgari
7b7c739afe Bug 1527287 - Add support for "noreferrer" feature argument to window.open(); r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D28396
2019-04-24 20:29:19 -04:00
Ciure Andrei
b8140fd374 Backed out changeset dc1cbac5213d (bug 1545232) for causing lint build bustages CLOSED TREE 2019-04-19 07:52:03 +03:00
Vlad Baicu
dfbb92ce9d Bug 1527666 - Handle long back press manually only on Android N.r=petru
On versions >= N all long back presses we're handled manually in onKeyDown
and onKeyUp which could lead to certain complications. I have changed it
only for Android N where onKeyLongPress does not trigger as it should.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 12:06:53 +00:00
Grisha Kruglov
97a57c2a7a Bug 1545232 - Add AuthStateProvider r=nalexander,sebastian
See comments in the patch for details.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 22:22:40 +00:00
Agi Sferro
89c2a88513 Bug 1545106 - Fix javadoc issue in GeckoSessionSettings. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D28079

--HG--
extra : moz-landing-system : lando
2019-04-18 21:00:07 +00:00
Agi Sferro
0451bbb54e Bug 1545106 - Add GeckoSession-specific message delegate. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D27955

--HG--
extra : moz-landing-system : lando
2019-04-18 20:59:55 +00:00
Agi Sferro
8dfaf9c29e Bug 1545106 - Remove useless MessageDelegateInfo. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D28078

--HG--
extra : moz-landing-system : lando
2019-04-18 20:50:25 +00:00
James Willcox
aad7c3abc2 Bug 1545039 - Correctly copy request bodies in GeckoWebExecutor r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D28095

--HG--
extra : moz-landing-system : lando
2019-04-18 19:56:30 +00:00
Thomas Wisniewski
8e80a6d3d8 Bug 1540933 - move the buttons on about:compat's mobile view to the left in rtl mode; r=miketaylr,denschub
move the buttons on about:compat's mobile view to the left in rtl mode

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

--HG--
extra : moz-landing-system : lando
2019-04-18 15:50:03 +00:00
Dylan Roeh
542b50c669 Bug 1538294 - Add internal support for flushing session state to GV and flush state in response to a GeckoSession being set inactive. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D27081

--HG--
extra : moz-landing-system : lando
2019-04-17 15:26:53 +00:00
Rob Wu
1af4c55c01 Bug 1544834 - Replace non-test uses of deprecated Array generics r=evilpie,dao
- `Array.forEach` becomes for-of loop or `array.forEach`.
- `Array.slice(a)` or `Array.slice(a, 0)` becomes `Array.from(a)`.
- `Array.map` becomes `Array.from`
- `Array` copy + concatenation becomes Array literal + spread syntax.
- All other `Array.X(a, ...)` become `Array.prototype.X.call` or `Array.from(a).X(...)`

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:17 +00:00
Makoto Kato
7426d1f4e9 Bug 1539827 - Handle RuntimeException when setting clipboard data r=geckoview-reviewers,snorp
When setting large clipboard data, it may cause `TransactionTooLargeException`
in binder IPC. So we have to handle `RuntimeException`.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 10:13:38 +00:00
Petru Lingurar
e732102628 Bug 1543680 - Set playbackState as playing when entering in PiP mode; r=JanH
playbackState's default value is PlaybackState.STOPPED.
We can only enter PiP mode if media is playing but we don't save this playing
state.
If the user hasn't done anything to change this, like pause-play, when we check
the playbackState in BrowserApp to know to force fullscreen if still playing
we will not do so because the state is PlaybackState.STOPPED.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 17:00:00 +00:00
Brian Grinstead
381332c51e Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Thomas Wisniewski
90ba7f941b Bug 1545081 - Give the about:compat overrides for bug 1177298 unique ids so they can be properly disabled in the UI; r=denschub
Give the about:compat overrides for bug 1177298 unique ids so they can be properly disabled in the UI

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

--HG--
extra : moz-landing-system : lando
2019-04-17 17:03:36 +00:00
Agi Sferro
83bc10f815 Bug 1518843 - GeckoView WebExtension Messaging. r=snorp,esawin,robwu,kmag
This change allows GeckoView embedders to respond to
`runtime.sendNativeMessage` and `runtime.connectNative` sent from
WebExtensions.

These APIs are available behind the new privileged-only permission
`geckoViewAddons` and are used by GeckoView apps to communicate between content
and the app.

Depends On D22621

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

--HG--
extra : moz-landing-system : lando
2019-04-17 18:28:10 +00:00
Agi Sferro
f9fe9e667f Bug 1518843 - Add GeckoView API to unregister WebExtensions. r=snorp,mbrubeck
Depends On D23093

---
 .../components/geckoview/GeckoViewStartup.js  |  1 +
 mobile/android/geckoview/api.txt              |  1 +
 .../geckoview/test/WebExtensionTest.kt        | 17 +++++++--
 .../org/mozilla/geckoview/GeckoRuntime.java   | 31 +++++++++++++++-
 .../mozilla/geckoview/doc-files/CHANGELOG.md  |  6 ++-
 .../geckoview/GeckoViewWebExtension.jsm       | 37 ++++++++++++++++++-
 6 files changed, 85 insertions(+), 8 deletions(-)

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

--HG--
extra : moz-landing-system : lando
2019-04-17 18:27:40 +00:00
Thomas Wisniewski
6b2784ab70 Bug 1541019 - have 'more information' links in about:compat always open in a new tab; r=miketaylr
have 'more information' links in about:compat always open in a new tab

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

--HG--
extra : moz-landing-system : lando
2019-04-17 20:24:12 +00:00
Thomas Wisniewski
f21778c900 Bug 1541418 - use pointer:fine vs coarse/none to decide whether to show the mobile or desktop UX for about:copmat, rather than min-width media queries; r=denschub
use pointer:fine vs coarse/none to decide whether to show the mobile or desktop UX for about:compat, rather than min-width media queries

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:09:04 +00:00
Petru Lingurar
4b4898f15e Bug 1543058 - Display all pinned top sites even with identical base URLs; r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D27872

--HG--
extra : moz-landing-system : lando
2019-04-17 10:00:31 +00:00
Nick Alexander
dfeeb0c3e4 Bug 1533385 - Make GeckoView read configuration options from filesystem. r=droeh
The configuration file format is YAML and looks like:
```
prefs:
  foo.bar.boolean: true
  foo.bar.string: "string"
  foo.bar.int: 500
env:
  MOZ_LOG: nsHttp:5
args: [--marionette]
```
By default, if the consuming App is debuggable, GeckoView will read
configuration from `/data/local/tmp/$PACKAGE-geckoview-config.yaml` at
startup.

For consumers (including browsers) that want to allow the underlying
GeckoView to be remote controlled in some way, the
`GeckoRuntimeSettings.Builder.configFilePath()` method allows to avoid
the default behaviour depending on the `android:debuggable` flag.  For
example, release versions of Firefox for Android will want to allow
this configuration when appropriate App-level settings are toggled.

The additional configuration is appended after any existing configuration
methods, e.g., after anything specified using Intent argument extras
or existing `GeckoRuntimeSettings.Builder` methods.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 17:05:05 +00:00
Eugen Sawin
0353b16889 Bug 1501108 - [3.4] Add a StorageController API to delete session context data. r=baku,snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D23732

--HG--
extra : moz-landing-system : lando
2019-04-17 13:03:49 +00:00
Eugen Sawin
c5f6173444 Bug 1501108 - [2.3] Add Session Context ID test. r=snorp,baku
Differential Revision: https://phabricator.services.mozilla.com/D20008

--HG--
extra : moz-landing-system : lando
2019-04-16 20:25:10 +00:00
Eugen Sawin
2fd75d1a4e Bug 1501108 - [1.3] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D19182

--HG--
extra : moz-landing-system : lando
2019-04-16 20:24:29 +00:00
Ryan Hunt
d6509bb237 Bug 1534395 - Rename TabChild to BrowserChild. r=nika
This commit renames TabChild to BrowserChild.

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

--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05:00
Ryan Hunt
e9e7d608be Bug 1534395 - Rename nsITabChild to nsIBrowserChild. r=nika,mconley
Similarly to nsITabParent, TabChild is exposed to frontend code via nsITabChild. It's not clear what the future of this interface will be, but for now we can just rename it to nsIBrowserChild.

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

--HG--
rename : dom/interfaces/base/nsITabChild.idl => dom/interfaces/base/nsIBrowserChild.idl
extra : rebase_source : a6c42a661e35b19e46c60f6f6a6f3dab64c0a1bc
extra : histedit_source : 1eb475bd840bf37a3f86294685c9b3c250684e79
2019-04-09 18:15:02 -05:00
Ryan Hunt
3675f2449b Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.

Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.

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

--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Thomas Wisniewski
d580063aad Bug 1539918 - remove nightly-only guard and allow about:compat to ride the trains; r=miketaylr
remove nightly-only guard and allow about:compat to ride the trains

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

--HG--
extra : moz-landing-system : lando
2019-04-22 15:04:49 +00:00
James Willcox
bd953fda6d Bug 1534802 - Remove unused GeckoView delegate overrides in Fennec r=petru
Differential Revision: https://phabricator.services.mozilla.com/D23226

--HG--
extra : moz-landing-system : lando
2019-04-16 22:37:47 +00:00
Agi Sferro
18e2df328e Bug 1518843 - Move CallbackResult out of GeckoSession. r=snorp
Depends On D22620

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

--HG--
extra : moz-landing-system : lando
2019-04-16 18:33:02 +00:00
Jan Henning
c8789cfdbb Bug 1410749 - Start tab ID numbering from #1. r=geckoview-reviewers,esawin
It's easier this way than fixing who knows how many Webextension APIs that have
learned from Desktop that there is no tab #0 and that therefore refuse to work
in our first tab.

We'll also make a similar change to GeckoView's stub implementation of the tab
API because that affects Custom Tabs and PWAs in Fennec for now.

The tests for tab ID 0 are therefore no longer required - they were added in a
previous attempt to fix the Webextension APIs themselves, which was ultimately
never carried through to completion, though.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:20:47 +00:00
Paul Adenot
cb44bfb0c6 Bug 1531833 - Fix PermissionDelegateTest to not require audio input on an emulator, where it's not available. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D27573

--HG--
extra : moz-landing-system : lando
2019-04-16 15:44:45 +00:00
Paul Adenot
2867cb1c22 Bug 1531833 - Add a Java method that enables and disable all that is needed to do audio communication with an earpiece. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D21735

--HG--
extra : moz-landing-system : lando
2019-04-16 15:42:28 +00:00
Paul Adenot
90034d42cc Bug 1531833 - Add bluetooth permission to GeckoView. r=snorp
This is needed to open an SCO channel and do proper (low-latency) bluetooth
communication when doing a call using WebRTC, or simply recording local audio in
a web application.

I think this is more of a GeckoView thing, but I'm a bit fuzzy on the
distinction, maybe it's the wrong manifest. I tested using Fennec.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 15:44:58 +00:00
Thomas Wisniewski
d6d4176af2 Bug 1543983 - Whitelist about:compat as a secure page on Fennec; r=snorp
Whitelist about:compat as a secure page on Fennec

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

--HG--
extra : moz-landing-system : lando
2019-04-16 14:37:34 +00:00
Mitchell Hentges
18f3187053 Bug 1538278 - Adds route for accessing geckoview releases r=tomprince,jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D23928

--HG--
extra : moz-landing-system : lando
2019-04-16 09:46:07 +00:00
Cosmin Sabou
18065e80c7 Backed out 4 changesets (bug 1501108) for browser chrome failures on browser_principalSerialization_version1.js. CLOSED TREE
Backed out changeset da28ce3af312 (bug 1501108)
Backed out changeset 1936dde5f34c (bug 1501108)
Backed out changeset de36c9fb8c65 (bug 1501108)
Backed out changeset cad2b29b79d2 (bug 1501108)
2019-04-16 01:10:26 +03:00
James Willcox
1f2a20380a Bug 1544542 - Don't try to call history delegate if we don't have one r=droeh
This also fixes a doc build issue.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:01:43 +00:00
Cosmin Sabou
268db1d41b Bug 1501108 - Removed extra spaces in order to fix eslint failure. 2019-04-16 00:28:56 +03:00
Eugen Sawin
7f8b8ee812 Bug 1501108 - [3.4] Add a StorageController API to delete session context data. r=baku,snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D23732

--HG--
extra : moz-landing-system : lando
2019-04-15 20:59:24 +00:00
Eugen Sawin
97d0673828 Bug 1501108 - [2.2] Add Session Context ID test. r=snorp,baku
Differential Revision: https://phabricator.services.mozilla.com/D20008

--HG--
extra : moz-landing-system : lando
2019-04-15 20:58:36 +00:00
Eugen Sawin
2437dae249 Bug 1501108 - [1.2] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D19182

--HG--
extra : moz-landing-system : lando
2019-04-15 20:58:30 +00:00
Agi Sferro
dce83ed0dd Bug 1542009 - Don't create a GeckoSession if there isn't one. r=geckoview-reviewers,esawin,snorp
This fixes a problem where Gecko would call Vsync even when the browser does
not have a surface attached to.

This can be triggered by attaching a GeckoView without a session and then
attaching a GeckoSession to the view. This causes GeckoView to create two
Windows, one of which never gets put in the background causing Gecko to think
the browser is still visible.

The GeckoSession should be cleaned up by the GC but this may take a long time.

To avoid this footgun we just don't create a GeckoSession when there isn't one
already attached to the GeckoView, logging a warning in case the embedder is
confused by the blank screen.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 17:14:46 +00:00
Bogdan Tara
5deee43687 Backed out changeset f0ee3a81b179 (bug 1538278) for gecko decision task bustage CLOSED TREE 2019-04-15 13:34:48 +03:00
Mitchell Hentges
11922ff778 Bug 1538278 - Adds route for accessing geckoview releases r=tomprince,jlorenzo
Adds route for accessing geckoview releases

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

--HG--
extra : moz-landing-system : lando
2019-04-15 10:08:17 +00:00
Andreea Pavel
0200c7c9fa Merge mozilla-inbound to mozilla-central. a=merge 2019-04-14 00:45:44 +03:00
Coroiu Cristina
564703e75c Backed out changeset b36ee12b7088 (bug 1185000) for browser-chrome failures at toolkit/components/passwordmgr/test/browser/browser_notifications_2.js 2019-04-13 11:13:35 +03:00
Csoregi Natalia
dbf1e77fba Backed out changeset f7cce6a270c2 (bug 1410749) for Android 4.3 failures on test_ext_tabs_sendMessage.html. CLOSED TREE 2019-04-13 03:24:55 +03:00
Dylan Roeh
f4ada1e09b Bug 1509110 - Add testing for onHistoryStateChange and gotoHistoryIndex. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D24532

--HG--
extra : moz-landing-system : lando
2019-04-12 22:55:00 +00:00
Dylan Roeh
c1dd451d30 Bug 1509110 - Add HistoryItem and HistoryList classes, HistoryDelegate.onHistoryStateChange callback, and GeckoSession.gotoHistoryIndex. r=esawin,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D24439

--HG--
extra : moz-landing-system : lando
2019-04-12 22:54:37 +00:00
prathiksha
497abd940b Bug 1185000 - Password manager should not offer to save credit card numbers. r=jaws
Password manager should not offer to save credit card numbers in certain straight-forward cases.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 21:54:06 +00:00
Jan Henning
96ef73cc3d Bug 1410749 - Start tab ID numbering from #1. r=geckoview-reviewers,esawin
It's easier this way than fixing who knows how many Webextension APIs that have
learned from Desktop that there is no tab #0 and that therefore refuse to work
in our first tab.

We'll also make a similar change to GeckoView's stub implementation of the tab
API because that affects Custom Tabs and PWAs in Fennec for now.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 20:47:32 +00:00
Eugen Sawin
4f3f6120d8 Bug 1538337 - [1.1] Add fingerprinting trackers to Content Blocking API. r=snorp,dimi,baku
Differential Revision: https://phabricator.services.mozilla.com/D24777

--HG--
extra : moz-landing-system : lando
2019-04-12 13:08:10 +00:00
Oana Pop Rus
212a653d81 Backed out 6 changesets (bug 1531833) for geckoview failures on PermissionDelegateTest.media CLOSED TREE
Backed out changeset f90ad6bb8ebd (bug 1531833)
Backed out changeset 465570a54b46 (bug 1531833)
Backed out changeset e725253ee976 (bug 1531833)
Backed out changeset 74ad8e7a722b (bug 1531833)
Backed out changeset b1268e5f7023 (bug 1531833)
Backed out changeset e3ec78b2db1f (bug 1531833)

--HG--
extra : amend_source : 81aa19c352e72cac2369e014d19ec5a896538b21
2019-04-11 21:16:55 +03:00
Oana Pop Rus
7977731cfd Backed out 2 changesets (bug 1509110) for geckoview failures on HistoryDelegateTest on a CLOSED TREE
Backed out changeset 1bc29703a90f (bug 1509110)
Backed out changeset 9ed5bb5e0cfc (bug 1509110)
2019-04-11 21:12:26 +03:00
Andrew Swan
9a58fa2896 Bug 1539598 Require pre-install confirmation on all addons installs from outside about:addons r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D26024

--HG--
extra : rebase_source : 6f67d4637ea1160031afce5307cdb522c9ecccce
extra : source : 7a05ac03465cb38ba5a798cb762ccf20a6635f23
2019-04-03 15:30:38 -07:00
Dylan Roeh
6da9d85f13 Bug 1509110 - Add testing for onHistoryStateChange and gotoHistoryIndex. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D24532

--HG--
extra : moz-landing-system : lando
2019-04-11 16:47:12 +00:00
Dylan Roeh
a7923fe371 Bug 1509110 - Add HistoryItem and HistoryList classes, HistoryDelegate.onHistoryStateChange callback, and GeckoSession.gotoHistoryIndex. r=esawin,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D24439

--HG--
extra : moz-landing-system : lando
2019-04-11 16:46:49 +00:00
Andreea Pavel
2a5a89a5ec Backed out 2 changesets (bug 1509110) for failing geckoview on a CLOSED TREE
Backed out changeset 81253689d39c (bug 1509110)
Backed out changeset f3338782b169 (bug 1509110)
2019-04-11 19:19:28 +03:00
Dylan Roeh
c2281e0427 Bug 1509110 - Add testing for onHistoryStateChange and gotoHistoryIndex. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D24532

--HG--
extra : moz-landing-system : lando
2019-04-11 12:51:32 +00:00
Dylan Roeh
207106354e Bug 1509110 - Add HistoryItem and HistoryList classes, HistoryDelegate.onHistoryStateChange callback, and GeckoSession.gotoHistoryIndex. r=esawin,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D24439

--HG--
extra : moz-landing-system : lando
2019-04-11 12:51:12 +00:00
Peter Van der Beken
023a72eb9b Bug 1534638 - Part 1: remove unused arguments from session history listeners. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D25761

--HG--
extra : moz-landing-system : lando
2019-04-04 16:18:48 +00:00
Paul Adenot
9936332833 Bug 1531833 - Add a Java method that enables and disable all that is needed to do audio communication with an earpiece. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D21735

--HG--
extra : moz-landing-system : lando
2019-04-11 09:19:34 +00:00
Paul Adenot
55767449c2 Bug 1531833 - Add bluetooth permission to GeckoView. r=snorp
This is needed to open an SCO channel and do proper (low-latency) bluetooth
communication when doing a call using WebRTC, or simply recording local audio in
a web application.

I think this is more of a GeckoView thing, but I'm a bit fuzzy on the
distinction, maybe it's the wrong manifest. I tested using Fennec.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 09:19:33 +00:00
Marcos Cáceres
6a3953940b Bug 1534756 - Don't throw exception in ManifestObtainer if a document has no manifest r=snorp
We now return null when the manifest lacks a href or is missing.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 12:46:41 +00:00
Tim Nguyen
5fbe70260e Bug 1543468 - Stop using toolkit netError.css URL on Android. r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D26964

--HG--
extra : moz-landing-system : lando
2019-04-10 19:32:20 +00:00
Nick Alexander
a8c9fd6a83 Bug 1542920 - Enable Marionette by default. r=froydnj
In particular, this enables Marionette in local Fennec builds, which
were the only place it wasn't enabled by default.  (Automation builds
all enabled Marionette.)  That default is getting in the way of the
Performance Team (and others!) testing GeckoView-based products
easily.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:11:17 +00:00
Petru Lingurar
87f28c4271 Bug 1542776 - Don't show Onboarding if first opened from external link; r=AndreiLazar
..And ignore trying to show it again in future app starts.
This patch resolves a regression and restore the previous behavior.

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

--HG--
extra : moz-landing-system : lando
2019-04-10 14:57:13 +00:00
Agi Sferro
41ada62a03 Bug 1543396 - Simplify GeckoView's api.txt file. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D26913

--HG--
extra : moz-landing-system : lando
2019-04-10 17:46:09 +00:00
Jonathan Kew
f41c23be63 Bug 1541500 - Apply Android ::selection styling to SVG as well as HTML content. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D25980

--HG--
extra : moz-landing-system : lando
2019-04-10 10:44:30 +00:00
Sebastian Hengst
8c246c9332 Bug 1541017 - Update in-tree bugzilla components which used 'Android Background Services'. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D25765

--HG--
extra : moz-landing-system : lando
2019-04-09 20:46:36 +00:00