Commit Graph

22419 Commits

Author SHA1 Message Date
Gurzau Raul
db79375c66 Merge inbound to mozilla-central. a=merge 2018-07-28 12:45:44 +03:00
Eitan Isaacson
329ee2b3cc Bug 1477002 - Use message broadcaster to manage jsat content scripts. r=yzen
This patch does several things:
 1. When "domwindowopened" is dispatched it often doesn't have a
document yet, so we need to wait for it to load before determining if we
should attach it.
 2. Instead of managing individual message managers use a broadcaster
and load delayed scripts. This makes new window additions more robust.
 3. A content script now doesn't need a ready/start message but
initializes in-line. This added more complexity which we don't need. All
the info that we passed to it in AccessFu:Start can be gotten in other
ways (also, Services.appinfo.ID now works in child processes, so no need
for that).
 4. Tweaked the tests to support inline frame script initilization.
 5. Removed the scroll callback from content-script.js that was not used
anymore.
2018-07-27 15:19:00 +03:00
dvarga
ee36f71336 Merge mozilla-central to autoland on a CLOSED TREE 2018-07-27 20:51:09 +03:00
dvarga
d78485112a Merge inbound to mozilla-central. a=merge 2018-07-27 20:42:15 +03:00
Nathan Froyd
501b992f9a Bug 1435409 - use our own clang rather than the NDK clang to build Android; r=nalexander 2018-07-27 09:52:53 -05:00
Vlad Baicu
ba3bff432b Bug 1476720 - Set MLS notification action. r=jchen
Moved notification channels to NotificationHelper and created
new utility methods to retrieve them when needed. Cleaned unused
imports.

MozReview-Commit-ID: L3HnV3nD7Og

--HG--
extra : rebase_source : fdc18b8f31f76d988a3748b640e86607bb0b4186
2018-07-26 17:42:19 +03:00
Vlad Baicu
f9a7a9224f Bug 1476720 - Set MLS notification action. r=jchen
Added a content action which will open the privacy settings when
tapping the mozilla location services notification.

MozReview-Commit-ID: 9h85amcoF0T

--HG--
extra : rebase_source : 8e8914e742023d3a6fb16397480df0d6eea6adb3
2018-07-25 14:32:02 +03:00
Eugen Sawin
b4166babb9 Bug 1478777 - [1.0] Remove base URI support from the GeckoSession API. r=snorp 2018-07-27 13:52:59 +02:00
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
Andrew Halberstadt
55243d2d87 Bug 1468812 - [ccov] Don't re-download MOZ_FETCHES if it's already been setup by run-task r=marco
The 'codecoverage' mozharness script and a code coverage mach command for Android
did their own custom bootstrapping of MOZ_FETCHES. Now that run-task does this
automatically, we should make sure we aren't downloading MOZ_FETCHES twice.

Depends on D2167.

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

--HG--
extra : moz-landing-system : lando
2018-07-27 12:44:48 +00:00
Cosmin Sabou
591d0f3e75 Backed out changeset 06cdeb2fd522 (bug 1477041) for build bustages on MediaControlService. CLOSED TREE 2018-07-27 22:12:18 +03:00
Vlad Baicu
23132f91dd Bug 1477041 - Modified MediaControlService and notification flow. r=jchen
Created a new parcelable which is sent to MediaControlService where
the notification is created based on the data of this object instead of
referencing a static notification. Toggling the service is now done through
startService with a specific action for shutting down instead of calling
stopService due to concurrency issues where the service can be stopped before
having a chance to call startForeground.

MozReview-Commit-ID: 6qNPintkVy

--HG--
extra : rebase_source : 3aa19de4994e0f1d8f14d1dd8b8ef8e32566b6f5
2018-07-26 19:28:29 +03: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
Rob Wu
00a0969526 Bug 1457115 - Simplify *_ext_tabs_executeScript_bad.* r=rpl
MozReview-Commit-ID: 6FpmCLmePVP

--HG--
extra : rebase_source : f0ad0a5635de05ec7c4f81dbdb27f3c181bb2baf
2018-05-24 19:16:49 +02: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