Commit Graph

24726 Commits

Author SHA1 Message Date
Jan Henning
f3c2c7d40d Bug 1406410 - Use URI input type when editing a bookmark's URL. r=jwu
MozReview-Commit-ID: IqhMAByb0mx

--HG--
extra : rebase_source : 12e6349ffa237598025d422a76bc325d06a73cee
2017-10-06 17:15:35 +02:00
Sebastian Hengst
b29f365446 Backed out changeset f70d6fcdb760 (bug 1406631) for failing color related reftests like layout/reftests/writing-mode/ua-style-sheet-input-color-1.html on Android. r=backout 2017-10-07 20:08:12 +02:00
Emilio Cobos Álvarez
b7befbe6b5 Bug 1406631: Remove the color-picker-available system metric. r=xidorn
All our widgets support it with a constant true.

MozReview-Commit-ID: JMEItUsxYWq

--HG--
extra : rebase_source : a2661dce1ac191fdf098e631cd7878f0215643d5
2017-10-07 14:06:44 +02:00
Sebastian Hengst
5d61e2eec8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JDCYKq7yKwb
2017-10-07 10:45:11 +02:00
Sebastian Hengst
b834f0d177 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7Ez95T2ivfR
2017-10-07 10:37:39 +02:00
Eugen Sawin
bb9e1eadc9 Bug 1404311 - [1.1] Enable remote USB debugging of custom tabs and PWAs through Fennec settings. r=snorp 2017-10-06 19:19:37 +02:00
Tomislav Jovanovic
4328bf904a Bug 1398514 - Use slower documents for executeScript_runAt test r=kmag
MozReview-Commit-ID: 56FMa4sjO3Z

--HG--
rename : browser/components/extensions/test/browser/file_iframe_document.sjs => browser/components/extensions/test/browser/file_slowed_document.sjs
rename : mobile/android/components/extensions/test/mochitest/file_iframe_document.sjs => mobile/android/components/extensions/test/mochitest/file_slowed_document.sjs
extra : rebase_source : 638741cd4031e875d8d818b24adfd475ebb58a97
2017-10-05 19:22:00 +02:00
Nevin Chen(:nechen)
da23228565 Bug 1403132 - Orange color when tapping Get started button. r=jwu
MozReview-Commit-ID: BffcsiT1wrF

--HG--
extra : rebase_source : 23ce73c8576a52e6a99ff47cbe24353f1809a0e1
2017-10-06 14:00:51 +08:00
John Lin
69fb7ed20e Bug 1403849 - p2: add JNI method for native code to query tunneled playback support. r=esawin
MozReview-Commit-ID: 29HgjCanjGP

--HG--
extra : rebase_source : a9e388883a1e561fbbb4a58f97957662b657028e
2017-09-29 18:04:20 +08:00
John Lin
84b53d828f Bug 1403849 - p1: introduce IPC method to query tunneled playback support. r=esawin
MozReview-Commit-ID: 3wiKC46ZjvY

--HG--
extra : rebase_source : 8d87656737c5ace1bb47b968e9a1cc958616afa1
2017-09-29 18:01:15 +08:00
Nevin Chen
a981553464 Bug 1389343 - Make default background grey so it can occupied the entire favicon. r=jwu
MozReview-Commit-ID: 93ZWdpnlIuX

--HG--
extra : rebase_source : 6117e942029c976f88d5b6c1f22249d9260f2206
2017-09-04 13:36:47 +08:00
Nevin Chen(:nechen)
1272df551e Bug 1403728 - Remove unwanted padding. r=jwu
MozReview-Commit-ID: lMO3l83226

--HG--
extra : rebase_source : 52f9bfe70deb08936d27bf6e4f014904fc84228c
2017-10-06 13:02:09 +08:00
Jing-wei Wu
f0f3ef74b9 Bug 1405954 - Part 3: Change placeholder colors on URL bar. r=nechen
MozReview-Commit-ID: 1ulc7LS906Q

--HG--
extra : rebase_source : 4ed7d466bb3a8b68eac659169af61681ce19cd66
2017-10-05 11:16:50 +08:00
Jing-wei Wu
fbffb7af70 Bug 1405954 - Part 2: Change status bar background color to #F9F9FA. r=nechen
MozReview-Commit-ID: 2vrGayqw5zp

--HG--
extra : rebase_source : 1158ed902c789691f9dc32fea0a1807f77e4c051
extra : source : cbc0cf3ca81d441400ee5a3cb47d1e3b50eecbe3
2017-10-02 14:39:52 +08:00
Jing-wei Wu
cfa7021a0b Bug 1405954 - Part 1: Increase progress bar height from 2dp to 3dp. r=nechen
MozReview-Commit-ID: CKLzo7SWKiX

--HG--
extra : rebase_source : be3fec6b9991e3f099078d2515b1f7545a042e03
extra : source : bf1902fc85abcbe3fa0203bf06d2f5f5e6f46571
2017-10-02 14:39:00 +08:00
Sebastian Hengst
c113ac7d95 Backed out changeset dacdf390c694 (bug 1403728) for failing android-lint. r=backout on a CLOSED TREE 2017-10-05 20:27:14 +02:00
Nevin Chen
612bff6041 Bug 1403728 - Additional margin at top and bottom of tabs tray in non-compact portrait mode. r=jwu"
MozReview-Commit-ID: GAGAuNDVIwO

--HG--
extra : rebase_source : 0dfc61605f8f8efc416f3d04bd3b3f43eed438b4
2017-10-05 11:11:31 +08:00
Nevin Chen
54cb0f1ee2 Bug 1403980 - Hide Splash screen in new tab opened from the search widget. r=jwu
MozReview-Commit-ID: 9RBOfHe80CW

--HG--
extra : rebase_source : 120ed1e18b58a63fbeba6b12e1810c494bf2d4f7
2017-10-01 03:53:30 +08:00
Jing-wei Wu
502459d05d Bug 1403596 - Adjust menu buttons position on tabs panel. r=nechen
MozReview-Commit-ID: 3i5rP6YLO0e

--HG--
extra : rebase_source : 3c83ca4eebce7a06e5de1e736ca894e8af070234
extra : source : c16582a1b32007ae27f12d90ebab6173c3f99c5d
2017-10-05 14:39:19 +08:00
Nevin Chen
fcfb4b1f6d Bug 1405287 - Change splash screen image. r=jwu
MozReview-Commit-ID: 9RH2XLj6LRq

--HG--
extra : rebase_source : 555b44b0493b65713a7728e2bb3b1749428e0bcd
2017-10-03 06:02:00 -04:00
Jim Chen
e3de08b829 Bug 1404144 - 4. Preload child process in geckoview_example in multiprocess mode; r=snorp
In geckoview_example multiprocess mode, preload child process during
startup to make e10s startup faster.

MozReview-Commit-ID: GinwBZlrnps

--HG--
extra : rebase_source : a43ef4708d311c9a100aafba0c84ee4a2e27090b
2017-10-04 22:28:44 -04:00
Jim Chen
3b801bac89 Bug 1404144 - 3. Add flag to preload child process during main GeckoThread startup; r=snorp
We need to wait for GeckoThread to load the Gecko libs in the main
process before we can launch any child processes, so that the child
process doesn't try to extract libs, which can conflict with any
extraction going on in the main process.

MozReview-Commit-ID: 2gUd2R1TUBI

--HG--
extra : rebase_source : d48b9e2e744669a89f2b761cf6936f28948c17c3
2017-10-04 22:28:43 -04:00
Jim Chen
f281c874c0 Bug 1404144 - 2. Move start child process JNI call to GeckoProcessManager; r=rbarker
Avoid going through GeckoAppShell and move the start child process JNI
call directly to GeckoProcessManager.

MozReview-Commit-ID: KU62TiHVQJX

--HG--
extra : rebase_source : 0e8546da502257e1c59bc00b79f50c79a314f3e6
2017-10-04 22:28:43 -04:00
Jim Chen
ffe3e86076 Bug 1404144 - 1. Refactor child process code to support preloading; r=rbarker
Refactor the code in GeckoProcessManager and GeckoServiceChildProcess so
that, we can have a ChildConnection object that's bound but not started.
This way we can bind the connection to preload Gecko child process, but
hold off starting until told by Gecko main process.

Some code is simplified. For example, `IChildProcess.stop` is removed in
favor of killing the child process directly.

MozReview-Commit-ID: 4XgmTuT0IAs

--HG--
extra : rebase_source : 94fe748556c66f639d1f8e5bb26c28ea3ed950b3
2017-10-04 22:28:43 -04:00
Wes Kocher
6dc323cfe9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Dxbv9TjDlDY
2017-10-04 16:47:41 -07:00
Wes Kocher
d8985b6e57 Merge inbound to central, a=merge
MozReview-Commit-ID: IUFdbLdYFhX
2017-10-04 16:37:59 -07:00
Masayuki Nakano
9a85312d4a Bug 1404206 - Part 3: Make GeckoInputConnection handle "mozAwesomebar" inputmode value as "url". r=jchen, r=gijs
Although, Firefox for Android doesn't use urlbarBindings.xml for declaring its
awesome bar, for consistency with widget code for desktop OSes,
GeckoInputConnection should treat "mozAwesomebar" inputmode value as "url"
since Android doesn't have any special input type for "search" and we should
keep current behavior.

MozReview-Commit-ID: DpUnUx4E2Sp
2017-09-29 16:11:20 +09:00
Wes Kocher
9e15b5649f Merge m-c to autoland, a=merge
MozReview-Commit-ID: 43R3aNMoMyN
2017-10-03 14:58:01 -07:00
Wes Kocher
7b3327cb2e Merge autoland to central, a=merge
MozReview-Commit-ID: 4jAMhgCDoPO
2017-10-03 13:25:44 -07:00
L10n Bumper Bot
f019c7629d no bug - Bumping Fennec l10n changesets r=release a=l10n-bump
an -> ['android', 'android-api-16', 'android-multilocale']
ar -> ['android', 'android-api-16', 'android-multilocale']
as -> ['android', 'android-api-16', 'android-multilocale']
ast -> ['android', 'android-api-16', 'android-multilocale']
az -> ['android', 'android-api-16', 'android-multilocale']
be -> ['android', 'android-api-16', 'android-multilocale']
bg -> ['android', 'android-api-16', 'android-multilocale']
bn-BD -> ['android', 'android-api-16']
bn-IN -> ['android', 'android-api-16', 'android-multilocale']
br -> ['android', 'android-api-16', 'android-multilocale']
ca -> ['android', 'android-api-16', 'android-multilocale']
cak -> ['android', 'android-api-16', 'android-multilocale']
cs -> ['android', 'android-api-16', 'android-multilocale']
cy -> ['android', 'android-api-16', 'android-multilocale']
da -> ['android', 'android-api-16', 'android-multilocale']
de -> ['android', 'android-api-16', 'android-multilocale']
dsb -> ['android', 'android-api-16', 'android-multilocale']
el -> ['android', 'android-api-16', 'android-multilocale']
en-GB -> ['android', 'android-api-16', 'android-multilocale']
en-ZA -> ['android', 'android-api-16', 'android-multilocale']
eo -> ['android', 'android-api-16', 'android-multilocale']
es-AR -> ['android', 'android-api-16', 'android-multilocale']
es-CL -> ['android', 'android-api-16', 'android-multilocale']
es-ES -> ['android', 'android-api-16', 'android-multilocale']
es-MX -> ['android', 'android-api-16', 'android-multilocale']
et -> ['android', 'android-api-16', 'android-multilocale']
eu -> ['android', 'android-api-16', 'android-multilocale']
fa -> ['android', 'android-api-16', 'android-multilocale']
ff -> ['android', 'android-api-16', 'android-multilocale']
fi -> ['android', 'android-api-16', 'android-multilocale']
fr -> ['android', 'android-api-16', 'android-multilocale']
fy-NL -> ['android', 'android-api-16', 'android-multilocale']
ga-IE -> ['android', 'android-api-16', 'android-multilocale']
gd -> ['android', 'android-api-16', 'android-multilocale']
gl -> ['android', 'android-api-16', 'android-multilocale']
gn -> ['android', 'android-api-16', 'android-multilocale']
gu-IN -> ['android', 'android-api-16', 'android-multilocale']
he -> ['android', 'android-api-16', 'android-multilocale']
hi-IN -> ['android', 'android-api-16', 'android-multilocale']
hr -> ['android', 'android-api-16', 'android-multilocale']
hsb -> ['android', 'android-api-16', 'android-multilocale']
hu -> ['android', 'android-api-16', 'android-multilocale']
hy-AM -> ['android', 'android-api-16', 'android-multilocale']
id -> ['android', 'android-api-16', 'android-multilocale']
is -> ['android', 'android-api-16', 'android-multilocale']
it -> ['android', 'android-api-16', 'android-multilocale']
ja -> ['android', 'android-api-16', 'android-multilocale']
ka -> ['android', 'android-api-16', 'android-multilocale']
kab -> ['android', 'android-api-16', 'android-multilocale']
kk -> ['android', 'android-api-16', 'android-multilocale']
kn -> ['android', 'android-api-16', 'android-multilocale']
ko -> ['android', 'android-api-16', 'android-multilocale']
lo -> ['android', 'android-api-16', 'android-multilocale']
lt -> ['android', 'android-api-16', 'android-multilocale']
lv -> ['android', 'android-api-16', 'android-multilocale']
mai -> ['android', 'android-api-16', 'android-multilocale']
ml -> ['android', 'android-api-16', 'android-multilocale']
mr -> ['android', 'android-api-16', 'android-multilocale']
ms -> ['android', 'android-api-16', 'android-multilocale']
my -> ['android', 'android-api-16', 'android-multilocale']
nb-NO -> ['android', 'android-api-16', 'android-multilocale']
ne-NP -> ['android', 'android-api-16']
nl -> ['android', 'android-api-16', 'android-multilocale']
nn-NO -> ['android', 'android-api-16', 'android-multilocale']
or -> ['android', 'android-api-16', 'android-multilocale']
pa-IN -> ['android', 'android-api-16', 'android-multilocale']
pl -> ['android', 'android-api-16', 'android-multilocale']
pt-BR -> ['android', 'android-api-16', 'android-multilocale']
pt-PT -> ['android', 'android-api-16', 'android-multilocale']
rm -> ['android', 'android-api-16', 'android-multilocale']
ro -> ['android', 'android-api-16', 'android-multilocale']
ru -> ['android', 'android-api-16', 'android-multilocale']
sk -> ['android', 'android-api-16', 'android-multilocale']
sl -> ['android', 'android-api-16', 'android-multilocale']
son -> ['android', 'android-api-16', 'android-multilocale']
sq -> ['android', 'android-api-16', 'android-multilocale']
sr -> ['android', 'android-api-16', 'android-multilocale']
sv-SE -> ['android', 'android-api-16', 'android-multilocale']
ta -> ['android', 'android-api-16', 'android-multilocale']
te -> ['android', 'android-api-16', 'android-multilocale']
th -> ['android', 'android-api-16', 'android-multilocale']
tr -> ['android', 'android-api-16', 'android-multilocale']
trs -> ['android', 'android-api-16']
uk -> ['android', 'android-api-16', 'android-multilocale']
ur -> ['android', 'android-api-16', 'android-multilocale']
uz -> ['android', 'android-api-16', 'android-multilocale']
vi -> ['android', 'android-api-16']
wo -> ['android', 'android-api-16', 'android-multilocale']
xh -> ['android', 'android-api-16', 'android-multilocale']
zam -> ['android', 'android-api-16', 'android-multilocale']
zh-CN -> ['android', 'android-api-16', 'android-multilocale']
zh-TW -> ['android', 'android-api-16', 'android-multilocale']
2017-10-03 10:41:08 -07:00
Michael Comella
b85cdd45bb Bug 1404460: Add test for pocket locale enabling. r=liuche
MozReview-Commit-ID: LHdQuICvVjE

--HG--
extra : rebase_source : 101ce5408e6f329bf04b5e889e942d6f42953500
2017-10-02 18:36:41 -07:00
Michael Comella
0b27441da0 Bug 1404460: Hide Pocket preference if Pocket not available in locale. r=liuche
When changing locales, an open dialog will not refresh but clicking on the
"Top sites" preference again (to display the dialog) will show the correct
dialog for the current locale.

MozReview-Commit-ID: 6UJvDIJZJtc

--HG--
extra : rebase_source : 777d0f4bc34829c8aacdeaac42fc0e27c3e7afd6
2017-10-02 17:35:03 -07:00
Michael Comella
3e9f59b825 Bug 1404460: Add POCKET_ENABLED_TO_LOCALE to asUserPrefs telemetry. r=liuche
After speaking with liuche, we decided it'd be better to add a bit to determine
this rather than combining it with the isPocketEnabled field (which would be
loss of data) or cross-referencing the locale of the submitted event when
checking the Pocket value during telemetry analysis (which is hard to get right
and likely to get out of date).

MozReview-Commit-ID: JKFrdEsEbyp

--HG--
extra : rebase_source : bc20193ca29238cbde5361a840cbd367b492a346
2017-10-02 17:01:10 -07:00
Michael Comella
8d7c0b37f0 Bug 1404460: Only show Pocket stories in specified locales. r=liuche
Ideally, we'd centralize all queries as to which options are user specified.
However, I wanted to do the smallest change so we can uplift so I filed
bug 1405161 for this centralization.

I opted not to include the "de" locale that is included on desktop because it
does not appear we ever get the "de" locale on Firefox for Android [1].

I tested this patch by changing the system locale between locales with Pocket
on my device (en-US, en-GB, de-DE) and locales without Pocket (ko-KR). The
locale switching system makes this refresh automatically without extra code.

I also intend to test via the in-app locale switcher but that will take time
because I can't do artifact builds with multi-locale so I'm pushing this for
review before I'm finished.

Follow-up changes:
- Add to telemetry
- Hiding the preference in the undesired locales.
- A test for isPocketEnabledByLocaleInner (useful to document how this is
intended to work for locales with variants, different scripts, etc.)

[1]: https://sql.telemetry.mozilla.org/queries/4613#table

MozReview-Commit-ID: 7AVQ8fWub8I

--HG--
extra : rebase_source : 948f1a4ea6c6bbc51c8ae945b940d8ab4770e34e
2017-10-02 15:59:42 -07:00
Michael Comella
8caed77b97 Bug 1403755: Rm code to insert blanks into top sites. r=liuche
This code was being mistakenly activated when getting top sites for Activity
Stream.

This is the first removal of old top sites code and will mean we can't go back
to old top sites by flipping the `ActivityStream.isEnabled` flag. Since we're
planning to ship AS, this shouldn't matter.


MozReview-Commit-ID: 9VB0RqNHmE0

--HG--
extra : rebase_source : 0c40456d12de5d7f2f2e4a0fda58b7c090754530
2017-09-28 14:09:48 -07:00
James Willcox
a4eed17d59 Bug 1405021 - Use web app origin as default scope r=droeh
MozReview-Commit-ID: EwxR6mQITmy

--HG--
extra : rebase_source : 2b2caec9e7fa8d4dc35976c7cd13a3e3ce0c796b
2017-10-02 13:34:54 -05:00
James Willcox
5c9f9341f7 Bug 1400334 - Guard against no theme color in standalone webapp r=nechen
MozReview-Commit-ID: C9LfdSvujS9

--HG--
extra : rebase_source : 55c2ae6c93a8df713c947b79250472a5468ca0d0
2017-10-02 13:24:45 -05:00
Grigory Kruglov
f4c2b679dc Bug 1405430 - Use a brand name instead of hard-coded 'Firefox' r=flod
MozReview-Commit-ID: KfkPdGlw5hV

--HG--
extra : rebase_source : 865d7b8375e3b800845f06dd4c5db7a669f05eed
2017-10-03 14:31:19 -04:00
Michael Comella
f1209017b7 Bug 1405404: Add 'de' to list of pocket whitelisted locales. r=liuche
This is used in multi-locale builds, e.g. [1] where all German is "de" but in
[2], we have a separate l10n repo for en-GB.

[1]: https://hg.mozilla.org/releases/l10n/mozilla-beta/de
[2]: https://hg.mozilla.org/releases/l10n/mozilla-beta/en-GB

MozReview-Commit-ID: CXw9aFH9psz

--HG--
extra : rebase_source : 3f92c5f3cbefbb7cea14a1f673edce546a640a96
2017-10-03 10:29:49 -07:00
Sebastian Hengst
31c3c16fec Backed out changeset 0bf07287d614 (bug 1405404) for failing android-test. r=backout 2017-10-03 20:18:57 +02:00
Michael Comella
2e364d2e38 Bug 1405404: Add 'de' to list of pocket whitelisted locales. r=liuche
This is used in multi-locale builds, e.g. [1] where all German is "de" but in
[2], we have a separate l10n repo for en-GB.

[1]: https://hg.mozilla.org/releases/l10n/mozilla-beta/de
[2]: https://hg.mozilla.org/releases/l10n/mozilla-beta/en-GB

MozReview-Commit-ID: CXw9aFH9psz

--HG--
extra : rebase_source : 2e921536a9347c656128fd52d6342677d359abbc
2017-10-03 10:29:49 -07:00
Wes Kocher
83fd890d27 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: HeJwJwwTzhQ
2017-10-02 16:26:42 -07:00
Wes Kocher
382a7d90d6 Merge inbound to central, a=merge
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
James Willcox
5ad5e6c258 Back out bug 1395841 - Part 2 for breaking PWA shortcut installation r=me
This reverts commit eadc939a6ecf5eaff2a233f7015e814cc76a33ed.

MozReview-Commit-ID: 2V2oF1PC5cf
2017-10-02 14:14:52 -05:00
James Willcox
fff76b1372 Bug 1404478 - For reals send the right CPU ABI in the core ping r=jchen
MozReview-Commit-ID: 9tM8723iqMH
2017-10-02 13:12:43 -05:00
Eugen Sawin
f2591d27c0 Bug 1316934 - [3.1] Add JNI for AudioManager properties. r=snorp 2017-10-02 17:56:17 +02:00
Atanas Minkov
f2f143f706 Bug 1386990 - "change" event listener no longer required for tracking form input in session store r=JanH
MozReview-Commit-ID: 1MhuLbvInl6

--HG--
extra : rebase_source : f74d7d080c6c5ea38efa39a2e5dc2cc82571396f
2017-10-01 03:26:58 +03:00
Jing-wei Wu
a556345663 Bug 1402882 - Update firstrun welcome image for nightly/beta/release. r=nechen
MozReview-Commit-ID: AzV4Sl8iGc5

--HG--
extra : rebase_source : 8c8ffc53936432da7cac9ecddbe76c5ba9f9130f
2017-10-03 15:18:04 +08:00
Michael Comella
f1b1b8b981 Bug 1395409: Add testActivityStreamPocketReferrer. r=liuche
MozReview-Commit-ID: FlcMG5IewRH

--HG--
extra : rebase_source : 0d744d9f3d4ffa55a594da566f2eacea0f1a3a17
2017-08-30 17:33:08 -07:00
Wes Kocher
0196bb1eed Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9KMX1mdjylD
2017-09-29 14:48:25 -07:00