Commit Graph

26568 Commits

Author SHA1 Message Date
Csoregi Natalia
470d472200 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-27 01:01:27 +03:00
Csoregi Natalia
3708e71462 Merge inbound to mozilla-central. a=merge 2018-07-27 00:58:11 +03:00
Petru Lingurar
4cebd537d7 Bug 1412518 - Photon themed DatePicker; r=jchen
On Api >=21 the Material DatePicker will have applied a Photon style.
Below Api 21 DatePicker will still be using spinners.

MozReview-Commit-ID: LuWP6C1o4Ej

--HG--
extra : rebase_source : 91eccfdeb0c4f17e9f0616fa25463d1b5558009a
2018-07-25 17:17:28 +03:00
Petru Lingurar
9e97ceaf6b Bug 1412518 - Photon themed TimePicker; r=jchen
On Api >=21 the Material TimePicker will have applied a Photon style.
Below Api 21 TimePicker will still be using spinners.

MozReview-Commit-ID: 2jZLPGCx4rI

--HG--
extra : rebase_source : a57376bf59077b6d64bcca8ba704ca1b6324383e
2018-07-25 17:03:15 +03:00
Eugen Sawin
af49add1ed Bug 1437988 - [2.0] Use progress tracking events for custom tabs progress bar. r=droeh 2018-07-26 18:46:50 +02:00
Eugen Sawin
28404bd49d Bug 1437988 - [1.5] Add progress tracking and expose progress via a delegate callback. r=jchen,snorp,droeh 2018-07-26 18:46:50 +02:00
Tim Nguyen
3ec43b5c31 Bug 1476970 - Port desktop LightweightConsumer.jsm changes to Android. r=nalexander
MozReview-Commit-ID: 6zeneRwPeI4

--HG--
extra : rebase_source : 18392e1823d536020e5615033bdbbea83c71b224
2018-07-26 10:39:40 +01:00
Delphine Lebédel
c4a2d8c091 Bug 1478590 - Add 'lij' to Fennec maemo-locale for multi-locale builds, r=flod
MozReview-Commit-ID: 2uQ2bxaLlwV

--HG--
extra : rebase_source : acd178667ea16c94fd6cb2ee92c7f5e41256450e
2018-07-26 11:22:44 +02:00
Petru Lingurar
1f25f2a1cc Bug 1476900 - Can't update Nightly from about:firefox or notification bar; r=jchen
The problem was because on API >=26 the JobIntentServices used for the updater
functionality will be used by JobScheduler by binding to them.
But because they were set to run in a different process the binding was not
possible.

MozReview-Commit-ID: I8rbcoLyhyJ

--HG--
extra : rebase_source : 1bc423f6012aff6c9b0d960b046af04f32b8bd7b
2018-07-24 17:31:59 +03:00
Petru Lingurar
5b0c9ef91e Bug 1476710 - Use childFragmentmanager when dismissing TabHistoryFragment; r=jchen
MozReview-Commit-ID: 1DyoBj0wpRe

--HG--
extra : rebase_source : 11453e678371f926cecf130aafc01a0caf9ac972
2018-07-24 10:15:51 +03:00
Petru Lingurar
78919b5658 Bug 1474888 - Fix Prompt.java's AlertDialog; r=jchen
PromptService will be informed when the screen is rotated and in turn it will
ask every Prompt shown to reset it's current layout.
For this, every Prompt will
- save it's current input value in PromptInput's mValue or similar field
already used for storing the default PromptInput value.
- create a new widget to be used in the new AlertDialog, with a new appropriate
layout for portrait / landscape. This is when the mValue field will be used
to initialize the new widget with the previous input.

MozReview-Commit-ID: L6eHyGNDt3d

--HG--
extra : rebase_source : ada913a8e6ada99a7d49eb47d1c64831a8f698da
2018-07-26 09:37:26 +03:00
Jim Chen
7a53328e93 Bug 1478445 - Adopt and detach child process FDs; r=rbarker
Use adoptFd and detachFd so we don't duplicate FDs unnecessarily. Also
fix a bug where we didn't close the pref FDs.

MozReview-Commit-ID: Gugcyi4cj7V

--HG--
extra : rebase_source : 035f62d8ba4d1ec964d5b7f7556bae7164ab78b3
2018-07-25 13:59:29 -04:00
Dipen Patel
7641beb1f8 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : 9c400bed3c9d29a186fc987c9bd0ffceb37bfd94
2018-07-13 11:48:55 -07:00
Brindusan Cristian
998db7e86d Merge inbound to mozilla-central. a=merge 2018-07-26 00:37:55 +03:00
Eugen Sawin
24e63c92a6 Bug 1478114 - [1.0] Don't block content trackers by default to match desktop's default behavior. r=rbarker 2018-07-25 17:21:43 +02:00
Sebastian Hengst
bd900ee36a Merge mozilla-inbound to mozilla-central. a=merge 2018-07-25 17:16:53 +03:00
Andreea Pavel
d0f6470c17 Backed out changeset c235d6f86c22 (bug 1475647) for breaking firefox ui at testing/firefox-ui/tests/puppeteer/test_tabbar.py on a CLOSED TREE 2018-07-25 19:34:58 +03:00
Tudor-Gabriel Vîjială
7034598959 Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp
MozReview-Commit-ID: LR1OWncvuwt

--HG--
extra : rebase_source : 6de8f8927e801789d559a7c361c7b434ae1f74c4
2018-07-17 13:20:19 +01:00
Tudor-Gabriel Vîjială
343add8e2b Bug 1476165 - Part 1d: Ignore ProtectedPermissions in Android Lint. r=nalexander
MozReview-Commit-ID: KVb54Fu27Qb

--HG--
extra : rebase_source : efc01cb3647bf480f624e5aa50cc098f11d4561f
2018-07-22 16:22:49 +01:00
Tudor-Gabriel Vîjială
eceb662bc2 Bug 1476165 - Part 1c: Fix Android Lint - TextFields: Missing inputType. r=nalexander
MozReview-Commit-ID: DTTWNNeg4Uv

--HG--
extra : rebase_source : c504c04c84254d2e1f16fc653ab2136bb07fc44d
2018-07-23 11:40:16 +01:00
Tudor-Gabriel Vîjială
18d3eecf70 Bug 1476165 - Part 1b: Fix Android Lint - ResourceType: Wrong Resource Type. r=nalexander
MozReview-Commit-ID: AA6OwGFCNXp

--HG--
extra : rebase_source : 89ece1d03a99baf3df3d31a96e397f1a5d88ea2c
2018-07-21 21:32:02 +01:00
Tudor-Gabriel Vîjială
ac1bd3ac73 Bug 1476165 - Part 1a: Fix Android Lint - ResourceCycle: Cycle in resource definitions. r=nalexander
MozReview-Commit-ID: FZBJe7nUdwq

--HG--
extra : rebase_source : 742bb6ef56d224b9a3dd6252740a4b0444611945
2018-07-21 21:29:01 +01:00
Dipen Patel
8670057dd5 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : fbfbcf7608efbfb35c9be4018ff0f4e70b2768d2
2018-07-13 11:48:55 -07:00
Delphine Lebédel
6dcf51f597 Bug 1478017 - Add 'en-CA' Fennec maemo-locale for multi-locale builds, r=flod
MozReview-Commit-ID: 5tQZxsOqAii

--HG--
extra : rebase_source : 4eb51e119e6975a0d1b641cd3320ee93da90903b
2018-07-25 10:03:44 +02:00
Boris Zbarsky
d5546b23ee Bug 1476145 part 7. Stop using getInterface(nsIDOMWindowUtils) in mobile/. r=snorp 2018-07-24 19:47:42 -04:00
Brian Grinstead
eb11f1de3b Bug 1476333 - Define the browser chrome URL as BROWSER_CHROME_URL so it can be accessed from AppConstants instead of a pref;r=gps
MozReview-Commit-ID: DPxayAW4D1s

--HG--
extra : rebase_source : 4d3f1e71b0abd1f38cd750d52b84269b6af52991
2018-07-24 08:12:48 -07:00
Petru Lingurar
a998b4fb5c Bug 1477234 - WeekPicker starts with incorrect values; r=jchen
MozReview-Commit-ID: AKXF2e7ktpN

--HG--
extra : rebase_source : 6541b9233e6e2e1f31d50fb32cee52022b4fc4f0
2018-07-23 10:07:39 +03:00
Andrei Lazar
6249249b03 Bug 1476424 Crash in android.os.TransactionTooLargeException: data parcel size 3124056 bytes at android.os.BinderProxy.transactNative(Native Method) r=jchen
Upon saving the state of onboarding fragments, the bundle can exceed 3MB because of the bitmaps.
Therefore, now we pass a resources id instead of passing the full bitmap through the bundle.

MozReview-Commit-ID: 9zpXrmolT38

--HG--
extra : rebase_source : 9ab3a9ad680c415852c02abc2ef046c190438a5e
2018-07-23 13:08:49 +03:00
shindli
70ab23ecd2 Backed out changeset d126a6593e8f (bug 1475647) for mozmake.exe bustage on a CLOSED TREE 2018-07-24 02:55:53 +03:00
Dipen Patel
b0259a189f Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : b15f75e39d04c8485b4eb63416fd1f1e4175fafe
2018-07-13 11:48:55 -07:00
Brindusan Cristian
a8f529a43e Backed out changeset c635e583eeb3 (bug 1441059) for ESlint failure. CLOSED TREE 2018-07-23 21:31:48 +03:00
Brindusan Cristian
0e26947580 Backed out changeset 9a8f58cb7315 (bug 1441059) for geckoview failures on multiple files. 2018-07-23 21:03:26 +03:00
Dylan Roeh
fc914649bb Bug 1441059 - Fix eslint failure. r=me on CLOSED TREE 2018-07-23 10:50:40 -05:00
Dylan Roeh
fb453eafdf Bug 1441059 - Make nsILoadURIDelegate async to preserve the order of GeckoSession.loadUri() calls. r=snorp,bz
This alters nsILoadURIDelegate.loadURI() to return a Promise rather than spinning the event loop to synchronously return a boolean, and alters nsDocShell::InternalLoad to allow for those changes by re-calling itself if necessary based on the resolution of the promise.
2018-07-23 10:12:18 -05:00
Yura Zenevich
dd1eb27a85 Bug 1473690 - add selectable ingegration tests. r=eeejay, jchen
MozReview-Commit-ID: 9ka7CjOJcew
2018-07-23 09:41:39 -04:00
Yura Zenevich
c35c35bb11 Bug 1473690 - add integration tests for checkboxes and associated events/states. r=eeejay, jchen
MozReview-Commit-ID: DIPa582EyTr
2018-07-23 09:41:27 -04:00
Makoto Kato
865507f5ea Bug 1469495 - Java Sampler never stops profiling. r=njn,snorp
Since GeckoJavaSampler::Stop() isn't called from locked_profiler_stop, Java
sampler is never stopped after stopping profiler.

And when calling GeckoJavaSampler::Stop(), it causes dead lock since stop()
is acquiring lock.  So when calling join method, we should release this lock.

MozReview-Commit-ID: BLREo0lH6DS

--HG--
extra : rebase_source : f9c43f3d0e2a527abf1828d023d1a962fc526bde
2018-06-22 15:27:45 +09:00
Edgar Chen
aa627c00e5 Bug 1459590 - Ensure GeckoView select and input element work with ShadowDom; r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D2153

--HG--
extra : moz-landing-system : lando
2018-07-20 21:37:07 +00:00
Edgar Chen
c17a3e83a6 Bug 1459590 - Ensure Fennec select and input element work with ShadowDom; r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D2151

--HG--
extra : moz-landing-system : lando
2018-07-20 21:36:43 +00:00
Eugen Sawin
6e519bf333 Bug 1476689 - [2.2] Add basic runtime telemetry test. r=jchen 2018-07-20 18:31:47 +02:00
Eugen Sawin
9db162a5e5 Bug 1476689 - [1.1] Use GeckoResult in runtime telemetry API. r=droeh,jchen 2018-07-20 18:31:47 +02:00
Petru Lingurar
cc7b268bbf Bug 1476676 - Do Gecko initialization on main thread; r=jchen
When migrating GeckoService to Oreo (Bug 1467840), the Gecko initialization was
inadvertently moved on a background thread.
This patch moves the initialization back on main thread.

MozReview-Commit-ID: Cxp7lGzPgXH

--HG--
extra : rebase_source : cf12c311dcae47cad42235587ace684788a848a1
2018-07-19 14:51:41 +03:00
Petru Lingurar
3141ebe19d Bug 1476716 - Use DownloadManager.COLUMN_LOCAL_URI to query downloads; r=jchen
After API 24 DownloadManager.COLUMN_LOCAL_FILENAME got deprecated and querying
for it would throw an error.
To get around this DownloadManager.COLUMN_LOCAL_URI can be used but which adds
the "file://" prefix.

MozReview-Commit-ID: CvkoFyRCLo6

--HG--
extra : rebase_source : 66b0eeecf40b1b1b9fa51860f29032e02ebe507b
2018-07-19 17:59:36 +03:00
Chris Pearce
65071eb549 Bug 1476853 - Remove obsolete use of media.autoplay.enabled. r=rbarker
In Bug 1188240 we disabled autoplay on Android < API version 16 because of a
vulnerability in old libstagefright, but as of Firefox 55 our minimum supported
Android version is 4.1, or API verion 16.

We've renamed the media.autoplay.enabled pref, so we can just remove the
check on media.autoplay.enabled added in bug 1188240 as it's testing for a
version of Android we no longer support anyway..

MozReview-Commit-ID: Gc8ZnlOiiMn

--HG--
extra : rebase_source : 12817b6e782331f3e4f26be0b97181418ec3287f
2018-07-19 15:40:35 +12:00
Chris Pearce
c45c8746d8 Bug 1476853 - Enable block autoplay v2 on Nightly only on Fennec by default. r=jchen
We're planning on enabling block autoplay on desktop by default, so in order to
be consistent across platforms, we think we should also enable it on mobile by
default.

The change here makes us allow autoplay in tabs which have had user
interaction, rather than the legacy block autoplay implementation which
"blessed" media elements which had certain functions called in a user generated
event handler.

Current plan is to enable this on Nightly only (desktop & mobile) and solicit
feedback and then decide on whether to let it ride the trains.

MozReview-Commit-ID: IkusfUOrcgO

--HG--
extra : rebase_source : 0c0a8f80d3670fffe66540f66954eaa980a42e74
2018-07-19 15:43:18 +12:00
Jan Henning
acbd308034 Bug 1476681 - Starting from Nougat, install updates via content:// URIs. r=jchen
We download the update APK into the public downloads directory and normally the
only relevant app consuming that URI should be the system package installer, but
just to be safe we only switch usage from Nougat onward, too.

This patch had already landed as part of bug 1450449, but subsequently got
overwritten during the refactoring in bug 1407046.

MozReview-Commit-ID: Ipmmlpm91zK

--HG--
extra : rebase_source : 426d98084fd26d5312e1aa5809256a5f29cd7b4d
2018-07-18 20:43:21 +02:00
Alex Chronopoulos
3c85ad38ce Bug 1152401 - Expect the new MediaDevice types in GeckoView. r=jchen
This patchset changes the MediaDevice type names from "audio" and "video" to "audioinput" and "videoinput". GeckoSession has been updated to expect the new string names. In parallel a new type "audiooutput" has been added but it is not important for this patch.

MozReview-Commit-ID: FUdG5QtD9re

--HG--
extra : rebase_source : 2a4bec49ef12898ef7aea7747ff7407577521916
2018-07-19 16:20:35 +02:00
Alex Chronopoulos
367ccc1325 Bug 1152401 - Add MediaDeviceKind member in MediaDevice to differentiate sink devices. r=jib
MozReview-Commit-ID: E6SGabjpqIA

--HG--
extra : rebase_source : ec79f2f8d949334209c0346e624fa4b16c8732a5
2018-07-16 11:29:12 +02:00
Jim Chen
02f6b7fef7 Bug 1474360 - Don't immediately hide selection toolbar after showing it; r=esawin
To conform to Android behavior, we intentionally suppress the selection
toolbar when an input is first focused. However, that code has a bug
where right after we show the selection toolbar, we still think the
toolbar should be suppressed, and therefore end up hiding the toolbar
immediately. The patch fixes that bug and introduces an ACTION_HIDE
action, which is necessary to re-hide the toolbar when the user
dismisses it manually.

MozReview-Commit-ID: DbLd2MCxSyL

--HG--
extra : rebase_source : e28fd088ff07e09931fc0bb98fd0d057843d7eb6
2018-07-19 12:09:16 -04:00
Margareta Eliza Balazs
0cf58ddcab Backed out 9 changesets (bug 1152401) for android gv-junit failures org.mozilla.geckoview.test.PermissionDelegateTest.media on a CLOSED TREE
Backed out changeset 987f2e0b2cb1 (bug 1152401)
Backed out changeset e45630a7c7b1 (bug 1152401)
Backed out changeset 95661c6cd914 (bug 1152401)
Backed out changeset d68ab111809f (bug 1152401)
Backed out changeset 10b039210911 (bug 1152401)
Backed out changeset aebabaa96ad3 (bug 1152401)
Backed out changeset 93457990e40f (bug 1152401)
Backed out changeset 1630f67ac197 (bug 1152401)
Backed out changeset aef64bf5b024 (bug 1152401)
2018-07-19 13:35:58 +03:00