Commit Graph

25420 Commits

Author SHA1 Message Date
Gurzau Raul
0fcc1a37e6 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-09 00:57:59 +02:00
Ted Mielczarek
8b7140ce04 bug 1424323 - remove MOZ_AUTOMATION_UPLOAD_SYMBOLS from in-tree mozconfigs. r=rillian
With all of our builds in Taskcluster now, we should never be uploading
symbols from build tasks. Unfortunately Windows builds were still doing so.
This patch removes MOZ_AUTOMATION_UPLOAD_SYMBOLS from all the in-tree
mozconfigs and a few other places so that it should always default off
(per moz-automation.mk). The rest of the uploadsymbols bits will be
removed once Thunderbird fixes their automation.

This patch was mostly autogenerated by running:
rg --files-with-matches UPLOAD_SYMBOLS browser/config/mozconfigs/ mobile/android/config/mozconfigs/ | xargs sed -ri '/.*UPLOAD_SYMBOLS.*/d'
sed -ri '/.*UPLOAD_SYMBOLS.*/d' build/unix/mozconfig.linux build/mozconfig.win-common build/macosx/local-mozconfig.common build/mozconfig.automation

Then mobile/android/config/mozconfigs/common and
taskcluster/scripts/builder/build-linux.sh were hand-edited.

MozReview-Commit-ID: Cy8kSEodSg4

--HG--
extra : rebase_source : 01caf1651b4eb428313e1f371aa585f8f34c4151
2017-12-08 13:50:17 -05:00
Kris Maglione
4a4c4fdfd4 Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
MozReview-Commit-ID: LxLDWlsIlSk

--HG--
extra : rebase_source : 5762bdf08ff6c09c1b29f87366bddb552e4c74b2
extra : amend_source : 922a0c03722bd5a81daace7f0289ec3228191cfb
2017-11-28 14:13:59 -08:00
Cosmin Sabou
c191e25cf5 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
Geoff Brown
6b6a2f5071 Bug 1424005 - Add support for an Android 7.0 x86_64 avd in 'mach android-emulator'; r=me, a=test-only
This enables 'mach android-emulator --version x86-7.0'. Works great for me!
2017-12-07 18:23:39 -07:00
Tom Prince
1d74db87ce Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek
MozReview-Commit-ID: CkIg3fiwp1z

--HG--
extra : rebase_source : 5a4a50c8feb477a9b50c30e35b72a316b1f1bc8c
2017-12-10 23:05:05 -07:00
Dorel Luca
2f271a1136 Backed out 4 changesets (bug 1424651) as requested by tomprice r=backout on a CLOSED TREE
Backed out changeset 10ebf78f32bb (bug 1424651)
Backed out changeset 746d96792d18 (bug 1424651)
Backed out changeset 6038fb7b458c (bug 1424651)
Backed out changeset 189fd4f1df41 (bug 1424651)
2017-12-12 06:33:18 +02:00
Tom Prince
4dfc8f7a46 Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek
MozReview-Commit-ID: CkIg3fiwp1z

--HG--
extra : rebase_source : 475e2d8888ff4b93efa9886581de9d145b51c51c
2017-12-10 23:05:05 -07:00
Michael Kaply
622473375e Bug 1417678 - New search defaults for browser and mobile. r=florian,mconnor
MozReview-Commit-ID: FP9f7QbXZAV

--HG--
extra : rebase_source : 50d2345c6c3d40b4a0274380c13cd816f1dd0703
2017-12-01 11:43:54 -06:00
Andrew Swan
0a51e1ac64 Bug 1263313 Remove search pane from about:addons r=rhelmer
Also remove related code that was only used from here including
stuff related to marketplace purchases, etc.

MozReview-Commit-ID: ESX78tVQK7M

--HG--
extra : rebase_source : 56d956168f75cdc40fd3df057e41493f80733352
2017-12-05 21:17:13 -08:00
Nevin Chen
aa00d3ebba Bug 1430731 - Close WebAppActivity after fallback to Fennec. ?maliu r=maliu
MozReview-Commit-ID: 6Nf5PzxJS0X

--HG--
extra : rebase_source : 1bc3f8c4b965babc07f3d63f19af35814caa05aa
2018-01-16 17:00:57 +08:00
Ciure Andrei
93d5417e33 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2018-01-11 12:08:47 +02:00
Cameron McCormack
8731df3c34 Bug 1427512 - Part 29: Remove nsIDOMCSSDeclaration. r=xidorn,jryans,bz
This removes the .style attribute from nsIDOMSVGElement, but there
shouldn't be any users of that.

MozReview-Commit-ID: LOBSFo85Utn
2018-01-11 16:17:57 +08:00
Cameron McCormack
e3549b2d1c Bug 1427512 - Part 22: Remove nsIDOMStyleSheet. r=xidorn,bz
MozReview-Commit-ID: KO2mWX4P8lI
2018-01-11 16:17:57 +08:00
Nick Alexander
0dc2a55a74 Bug 1417232 - Part 4: Tweak Gradle targets. r=ted.mielczarek
These were just incorrect or unnecessary.

MozReview-Commit-ID: AH6z70e4ErF

--HG--
extra : rebase_source : aa6ba361849dc837941a66339dba0b6afa210d38
2017-11-10 11:38:39 -08:00
Nick Alexander
ac6d84fa56 Bug 1417232 - Part 3: Extract magic Gradle configuration from |mach android *|. r=ted.mielczarek
This pushes all of the magic Gradle targets into gradle.configure,
which is the most accessible central place for them.  Some impact the
build, so they almost certainly need to be in moz.configure; and its
better to have one central place to update than many places.

Gradle has a notion of configurations.  Fennec determines many
configurations, only one of which is used in automation; and right
now, that one is "officialPhotonDebug".  Evolving the "one true"
configuration is frustrating, and this helps with that.  Post
Android-Gradle plugin 3.0+, we can do better and also extract the
configuration details for the :geckoview and :geckoview_example Gradle
projects, but right now they are ad-hoc and can't really be improved.

MozReview-Commit-ID: LdGE05zn2H1

--HG--
extra : rebase_source : db7e9fe90f2bd1ae5058af046a66edd0cd549141
2017-11-10 15:39:09 -08:00
Nick Alexander
0cf6550d5a Bug 1417232 - Part 2: Extract magic Gradle configuration from build into |mach android assemble-app|. r=ted.mielczarek
These magic locations evolve over time.  Baking them into
moz.configure is the easiest way to share them across the build
system, and pushing them into a new |mach android *| command continues
a pattern that has been very successful.

MozReview-Commit-ID: CyxVQ0LHHgl

--HG--
extra : rebase_source : 8350d71665f0126aa4ee2c8fec32c4b8e34dc772
2017-11-08 15:27:36 -08:00
Nick Alexander
e7f29934ad Bug 1417232 - Part 1: Move Treeherder report logging to mach command. r=ted.mielczarek
This was in Gradle due to history.  When this first landed, we invoked
Gradle directly from the mozharness, and the best way to print the
report URLs was from Gradle itself.  When the Android Gradle suites
were made tier 1, little harnesses (|mach android
{checkstyle,findbugs,lint,test}|) were written and invoked locally and
in automation.  This functionality should have migrated with them.

This removes the special Gradle target names from the Gradle
configuration, making it easier to change them in the future.

MozReview-Commit-ID: 1KPd3J5t82Q

--HG--
extra : rebase_source : 1da85e31c113bc9da138817bebf981af8b9b66dd
2017-12-07 10:14:57 -08:00
Nick Alexander
2d84ab6e71 Bug 1417232 - Part 0: Extract |mach android archive-geckoview|. r=ted.mielczarek
We've had good success with |mach android *| for invoking test suites
and other Gradle-related features; this was just an oversight.  The
real advantage is that almost all of the magic Gradle targets are now
in mobile/android/mach_commands.py and not scattered throughout the
tree.  That'll make it easier to move the actual Gradle configuration
choices forward in the future.

MozReview-Commit-ID: GI1pUHHfXeO

--HG--
extra : rebase_source : 9d7b98e968a2537f8dd1ffd0646c51ffe429bd57
2017-11-10 09:05:57 -08:00
shindli
53c3b17b09 Backed out 6 changesets (bug 1417232) for failing in /python/mozbuild/mozbuild/test/configure/lint.py::Lint::test_mobile_android r=backout on a CLOSED TREE
Backed out changeset 06e72cdd94a5 (bug 1417232)
Backed out changeset 036308b8fe6b (bug 1417232)
Backed out changeset bb63e12fea6f (bug 1417232)
Backed out changeset d0a9d2d4c5b7 (bug 1417232)
Backed out changeset b613dde03d99 (bug 1417232)
Backed out changeset 8699e19b02e5 (bug 1417232)
2017-12-08 01:25:05 +02:00
Nick Alexander
0497507258 Bug 1417232 - Part 4: Tweak Gradle targets. r=ted.mielczarek
These were just incorrect or unnecessary.

MozReview-Commit-ID: AH6z70e4ErF

--HG--
extra : rebase_source : e6d172ebb71a410ed3414b27c97d39c364ba942d
2017-11-10 11:38:39 -08:00
Nick Alexander
e8c5070b81 Bug 1417232 - Part 3: Extract magic Gradle configuration from |mach android *|. r=ted.mielczarek
This pushes all of the magic Gradle targets into gradle.configure,
which is the most accessible central place for them.  Some impact the
build, so they almost certainly need to be in moz.configure; and its
better to have one central place to update than many places.

Gradle has a notion of configurations.  Fennec determines many
configurations, only one of which is used in automation; and right
now, that one is "officialPhotonDebug".  Evolving the "one true"
configuration is frustrating, and this helps with that.  Post
Android-Gradle plugin 3.0+, we can do better and also extract the
configuration details for the :geckoview and :geckoview_example Gradle
projects, but right now they are ad-hoc and can't really be improved.

MozReview-Commit-ID: LdGE05zn2H1

--HG--
extra : rebase_source : 3cf360a814ed4927ec6c767b42448285ed2ffb35
2017-11-10 15:39:09 -08:00
Nick Alexander
d1d1541e8d Bug 1417232 - Part 2: Extract magic Gradle configuration from build into |mach android assemble-app|. r=ted.mielczarek
These magic locations evolve over time.  Baking them into
moz.configure is the easiest way to share them across the build
system, and pushing them into a new |mach android *| command continues
a pattern that has been very successful.

MozReview-Commit-ID: CyxVQ0LHHgl

--HG--
extra : rebase_source : 8350d71665f0126aa4ee2c8fec32c4b8e34dc772
2017-11-08 15:27:36 -08:00
Nick Alexander
b76185017f Bug 1417232 - Part 1: Move Treeherder report logging to mach command. r=ted.mielczarek
This was in Gradle due to history.  When this first landed, we invoked
Gradle directly from the mozharness, and the best way to print the
report URLs was from Gradle itself.  When the Android Gradle suites
were made tier 1, little harnesses (|mach android
{checkstyle,findbugs,lint,test}|) were written and invoked locally and
in automation.  This functionality should have migrated with them.

This removes the special Gradle target names from the Gradle
configuration, making it easier to change them in the future.

MozReview-Commit-ID: 1KPd3J5t82Q

--HG--
extra : rebase_source : 1da85e31c113bc9da138817bebf981af8b9b66dd
2017-12-07 10:14:57 -08:00
Nick Alexander
0801b79cd4 Bug 1417232 - Part 0: Extract |mach android archive-geckoview|. r=ted.mielczarek
We've had good success with |mach android *| for invoking test suites
and other Gradle-related features; this was just an oversight.  The
real advantage is that almost all of the magic Gradle targets are now
in mobile/android/mach_commands.py and not scattered throughout the
tree.  That'll make it easier to move the actual Gradle configuration
choices forward in the future.

MozReview-Commit-ID: GI1pUHHfXeO

--HG--
extra : rebase_source : 9d7b98e968a2537f8dd1ffd0646c51ffe429bd57
2017-11-10 09:05:57 -08:00
Nevin Chen
c739d3f3f1 Bug 1406011 - include 'whether Firefox is default browser' as part of core ping. r=maliu
MozReview-Commit-ID: HfJ1XwELa0P

--HG--
extra : rebase_source : 0f304204d52df50b6a9673ed2940caa050212070
2017-12-05 16:44:39 +08:00
Dorel Luca
1208bc03a7 Merge mozilla-central to autoland r=merge on a CLOSED TREE
--HG--
extra : rebase_source : 5f22b0e83fd5f1b28e0c1ebbcc429c332835eb36
2017-12-07 00:27:29 +02:00
Dorel Luca
ed8dc2034d Merge inbound to mozilla-central r=merge a=merge 2017-12-07 00:01:19 +02:00
Eugen Sawin
7beeeaa987 Bug 1422405 - [1.1] Add shutdown intent for geckoview_example. r=jchen 2017-12-06 18:49:33 +01:00
James Cheng
d04758259c Bug 1423518 - Add Samsung Galaxy S4 Mini GT-I9195 into blacklist. r=jolin
MozReview-Commit-ID: LYqXif8kMmm

--HG--
extra : rebase_source : 6bd80e121c0d96a4b6092740d2f3434b5a7eba19
2017-12-06 18:02:00 +08:00
Chris H-C
7144c7d031 bug 1408416 - Remove inconsistent Telemetry strings from About dialogs r=Dexter
On nightly and aurora we have supplemental strings about Telemetry in the About
dialog/section. However, we already open the data policy tab (Desktop) and
notification (Mobile) on nightly, aurora, -and beta- to more accurately tell
users about our data policies.

So let's remove the inconsistently-applied semi-hard-to-find strings.

MozReview-Commit-ID: 3zjXQwi9r7v

--HG--
extra : rebase_source : af9728dd1ff2161ff028f85ebf7f93c22eae0181
2017-12-05 11:05:53 -05:00
Zibi Braniecki
a5600cdb98 Bug 1414390 - Add intl.locale.requested locale list to replace general.useragent.locale. r=jfkthame,mossop
This patch moves us from using an old pref `general.useragent.locale`combined
with `intl.locale.matchOS` for retrieving user requested locale, to use a new
preference `intl.locale.requested` which stores a list of well-formed BCP47
language tags. If set to empty, the OS locales are used. If not set at all,
default locale is used.

We are also adding a piece of code to migrate from old to new system.


MozReview-Commit-ID: 854yQ1kC6Ee

--HG--
extra : rebase_source : c4a7171bc026f857f7878ee83d973ec01b536a84
2017-11-01 20:16:21 -07:00
Zibi Braniecki
e62b350d3b Bug 1422997 - Fix multilocale.json in repacks. r=Pike
MozReview-Commit-ID: 8KBNmesxhpY

--HG--
extra : rebase_source : d7e483df25d9a58961c9486dfe09a51437394ee3
2017-12-04 16:14:23 -08:00
Jim Chen
2119c96737 Bug 1423010 - 3. Clean up o.m.g.gfx package; r=rbarker
Remove unused classes and make classes that are not used outside of the
package package-private.

MozReview-Commit-ID: 9FxcL5QsM1Q

--HG--
extra : rebase_source : d9ed39d06a0e2aadec131d06c92cb11ef342a320
2017-12-05 11:40:10 -05:00
Jim Chen
93f25f7335 Bug 1423010 - 2. Fix other code that use BitmapUtils; r=rbarker
Use o.m.g.util.BitmapUtils in code that use BitmapUtils.

MozReview-Commit-ID: KPM05Aqf1kW

--HG--
extra : rebase_source : ea910333fc195b329ef41bf168d0299584e63d20
2017-12-05 11:40:10 -05:00
Jim Chen
dadd929ff8 Bug 1423010 - 1. Move BitmapUtils to util package; r=rbarker
I think BitmapUtils is better suited for the o.m.g.util package instead
of o.m.g.gfx, since none of the other classes in gfx actually use
BitmapUtils.

MozReview-Commit-ID: IEwSIb5h9Y7

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/BitmapUtils.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/BitmapUtils.java
extra : rebase_source : 3960fbd5172b745b3a41d1da8e855a2a539ed906
2017-12-05 11:40:10 -05:00
Cameron McCormack
544acb33d3 Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.

MozReview-Commit-ID: JuXTo8Nth5Q

--HG--
extra : rebase_source : dde58f56e55f82ddda364ec5978e43fe71be875c
2017-11-30 11:55:32 +08:00
Cameron McCormack
0c46625eab Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
David Keeler
36f5d05cd8 bug 1397837 - remove vestigial references to "code signing" from PSM r=Cykesiopka,snorp
As of bug 1257362, the platform does not verify code signing certificates in
general, so anything involving the code signing trust of certificates can go.

MozReview-Commit-ID: 9g9kM62xfYZ

--HG--
extra : rebase_source : 5bec64e5f451c8433aff0de82a91f7bd54c24608
2017-12-01 16:16:20 -08:00
Jan Henning
fca799f015 Bug 1413739 - Part 2 - Simple test for handling of an ACTION_ASSIST intent. r=nechen
assertUrl wasn't used before and getUrlEditText().getText() returns a
SpannableStringBuilder, so we need to add a toString() conversion there in order
to successfully use it.

MozReview-Commit-ID: 9BtZWDRstdD

--HG--
extra : rebase_source : bef971f37f99f60baad4fe1c88f2ef7b6b9e6f2f
2017-12-03 21:03:47 +01:00
Jan Henning
d3f7376545 Bug 1413739 - Part 1 - Offer Firefox itself as an Assist App. r=nechen
The technique for setting our icon is just a straight reimplementation
of bug 1210242.

Because of the way the new tab might be opened from within a
processActionViewIntent Runnable, we can't enter editing mode by simply
listening for an ACTION_ASSIST intent from within BrowserApp, as we need to
enter editing mode *after* the correct tab has already been opened and selected
and BrowserApp doesn't get any hint on when that Runnable might have run.

Instead, we introduce a new tab event, so we can trigger editing mode at the
right time via the tab itself.

MozReview-Commit-ID: 8Bvv5TXyhhI

--HG--
extra : rebase_source : 92f6131098e1c2a8e810431aa82e68e7e422cfd1
2017-12-03 21:16:03 +01:00
Bogdan Tara
be0e9ed9c8 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-12-04 22:46:08 +02:00
L10n Bumper Bot
d9b3452d66 no bug - Bumping Fennec l10n changesets DONTBUILD r=release a=l10n-bump
vi -> ['android', 'android-api-16', 'android-multilocale']
2017-12-04 12:40:52 -08:00
Jim Chen
d9c1816b68 Bug 1416330 - 5. Remove LayerView; r=rbarker
Remove LayerView now that it's no longer used. FullScreenState is
obsolete as well and is removed.

MozReview-Commit-ID: Jt7OMAoarOJ

--HG--
extra : rebase_source : da9285999fe093c41ea6d7693cf9255c0db1d688
2017-12-04 11:50:20 -05:00
Jim Chen
be7056007e Bug 1416330 - 4. Use CompositorController in Robocop; r=gbrown
Use the new CompositorController to access draw callbacks and pixel
getter. These methods now require calling on the UI thread, so the code
in Robocop now explicitly post runnables to the UI thread. Prior to
this, we were implicitly posting to the UI thread anyways, so the end
result is the same as before.

MozReview-Commit-ID: 7Mkjdc9hUNr

--HG--
extra : rebase_source : 821f72573200021604cdacf158d0989d1ecabf32
2017-12-04 11:50:20 -05:00
Jim Chen
203776418e Bug 1416330 - 3. Update Fennec code to not use LayerView; r=rbarker
Use GeckoSession/LayerSession or GeckoView in Fennec code instead of
using LayerView.

MozReview-Commit-ID: Iod7XsqKy1e

--HG--
extra : rebase_source : 5917540422698f5526ca373f17c4358a712cdcef
2017-12-04 11:50:20 -05:00
Jim Chen
5477ffbc19 Bug 1416330 - 2. Stop using LayerView in GeckoView; r=rbarker
Implement the setSurfaceBackgroundColor functionality in a new
coverUntilFirstPaint method. Because we no longer rely on any LayerView
functionality, GeckoView now inherits directly from FrameLayout.

MozReview-Commit-ID: 3xgWsgk64GM

--HG--
extra : rebase_source : 1185e40456ffce6c40676230e6f921dd0f3cbc3e
2017-12-04 11:50:20 -05:00
Jim Chen
6ad1d8bbfb Bug 1416330 - 1. Add CompositorController; r=rbarker
Add CompositorController and LayerSession.getCompositorController for
accessing miscellaneous compositor-related methods such as adding draw
callbacks and getting pixels.

A simple Runnable is used for draw callbacks instead of using the
DrawListener interface from LayerView. A first-paint callback is added
to implement the "clear surface background on first paint" requirement
when switching between documents in Fennec.

MozReview-Commit-ID: 8pE1B5HYe2w

--HG--
extra : rebase_source : abd35b189d04073c203b542fb9f9ef763027e117
2017-12-04 11:50:20 -05:00
Michael Kaply
abee2315cf Bug 1422881 - Handle null activity broadcasts. r=snorp
MozReview-Commit-ID: JE2k2NODild

--HG--
extra : rebase_source : 0c1adf5e72ec033ade37b69dbfcec3b1dbae9fe7
2017-12-04 12:13:45 -06:00
Dorel Luca
5343debb6a Backed out 3 changesets (bug 1417837) for failing browser/chrome/test_media_playback.html r=backout on a CLOSED TREE
Backed out changeset 9556f12b4058 (bug 1417837)
Backed out changeset 49a463e85e42 (bug 1417837)
Backed out changeset 7a76f2363663 (bug 1417837)
2017-12-04 14:59:31 +02:00
Jamie Nicol
834586be68 Bug 1421586 - Limit maximum number of SurfaceTextures in existence. r=snorp
Limit the number of SurfaceTextures to ensure that we do not reach the
process's fd limit. 200 was chosen as the limit because it allows for
more tiles than any reasonable page should require, yet should not
come close to the 1024 fd limit, even with 2 fds (buffer and sync
fence) per SurfaceTexture.

MozReview-Commit-ID: F21H1Rj4FVF

--HG--
extra : rebase_source : 379b460c8067cc3c5aa11a47cc66f865bae1ac64
2017-11-29 16:08:12 +00:00
Cameron McCormack
824f088ce8 Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.

MozReview-Commit-ID: JuXTo8Nth5Q

--HG--
extra : rebase_source : a5987d80f45c3ec5192c1aa5da772a05cfda79ff
2017-11-30 11:55:32 +08:00
Cameron McCormack
311c671019 Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
Coroiu Cristina
035be65ea1 Backed out 3 changesets (bug 1417837) for ESlint failures at /builds/worker/checkouts/gecko/toolkit/components/narrate/NarrateControls.jsm r=backout on a CLOSED TREE
Backed out changeset 0d6b56293cbf (bug 1417837)
Backed out changeset 1c341a427a7a (bug 1417837)
Backed out changeset fa4f488ea88f (bug 1417837)
2017-12-04 12:34:37 +02:00
Cameron McCormack
850bcde3b4 Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.

MozReview-Commit-ID: JuXTo8Nth5Q

--HG--
extra : rebase_source : 87aa2f1060a1e7974610a109507a103c5366727a
2017-11-30 11:55:32 +08:00
Cameron McCormack
33f3ce5cd6 Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
Nevin Chen
9d786faef5 Bug 1421916 - Refine/update PWA action icon r=maliu
MozReview-Commit-ID: 7gndnFFHezm

--HG--
extra : rebase_source : eb804561083aaf2c210523fe346e80712666e5d1
2017-12-04 16:07:57 +08:00
Nevin Chen
92398b50fb Bug 1419245 - A2HS badge is shown on site with broken HTTPS. r=walkingice
MozReview-Commit-ID: BFWdqTcxOi9

--HG--
extra : rebase_source : d891304d2e484e178309dd9fcfa873266cd55f59
2017-11-23 17:07:59 +08:00
Ian Moody
5231a620c1 Bug 1421859 - Remove flat_icon now that it is unused. r=nechen
MozReview-Commit-ID: 7wJ0JL2fBFC

--HG--
extra : rebase_source : 89e1a65309682398f4823c6835c19494d8743305
2017-12-03 18:44:53 +00:00
Ian Moody
0f1d295052 Bug 1421859 - Use ic_status_logo instead of flat_icon in MediaControl and TabReceived notifications. r=nechen
ic_status_logo is what all the other notifications use, and flat_icon hasn't
been updated to the new photon logo.

MozReview-Commit-ID: Luo5ibVmXvk

--HG--
extra : rebase_source : 4e9335c177028ecdbe42bd69773494a2420f3700
2017-12-03 18:43:38 +00:00
Nevin Chen
32c2be0d45 Bug 1420886 - Replace -ads with -analytics. r=maliu
Looking at latest Adjust SDK [1]
compile 'com.google.android.gms:play-services-analytics:10.2.1'
should be enough. And it doesn't have DoubleClick in it (testing with dexdump)	.
Even Adjust has change from -ads to -analytics [2]

I just build/test with below options.

export MOZ_INSTALL_TRACKING=1
ac_add_options --with-adjust-sdk-keyfile=.....

export MOZILLA_OFFICIAL=1
export MOZ_TELEMETRY_REPORTING=1

export MOZ_ANDROID_MMA=1
ac_add_options --with-leanplum-sdk-keyfile=.....

and it works for below places where we have have com.google.android.gms.ads.identifier.AdvertisingIdClient  : Leanplum[3] and Adjust[4]

[1] https://github.com/adjust/android_sdk

[2] https://github.com/adjust/android_sdk/issues/143

[3] https://searchfox.org/mozilla-central/rev/9f3bd430c2b132c86c46126a0548661de876799a/mobile/android/thirdparty/com/leanplum/internal/Util.java#204

[4] https://searchfox.org/mozilla-central/rev/9f3bd430c2b132c86c46126a0548661de876799a/mobile/android/thirdparty/com/adjust/sdk/Reflection.java#97

MozReview-Commit-ID: 6YdQ6NJm4hM

--HG--
extra : rebase_source : 6a26cfd135c72738f086f305c60905a920abace8
2017-11-29 15:53:01 +08:00
Nevin Chen
f7b0829cce Bug 1421149 - [PWA] Icons in the "Add to Home screen" overlay should not have outline & dropshadow. r=maliu
MozReview-Commit-ID: LGq1h1sgWgt

--HG--
extra : rebase_source : e5e7b27640969dce95d5d0888d87f6bbedaff95b
2017-11-28 16:53:23 +08:00
Gabriele Svelto
689bddee12 Bug 1421874 - Fix SessionStore to include AppConstants before using it; r=sebastian
MozReview-Commit-ID: IOSHvaOOE19

--HG--
extra : rebase_source : 674a7d486a156187bad7427abdb8a6feadf773a8
2017-12-01 15:11:21 +01:00
Francesco Lodolo (:flod)
0ec0112df1 Bug 1422249 - Update locales in mobile l10n.toml r=Pike
Vietnamese (vi) is missing from the list of languages.
List of locales on single-locale builds is out of date.

MozReview-Commit-ID: 3zZ3MYAuBWB

--HG--
extra : rebase_source : f98d9af6d8c6db1b8195eab211576b303a18dc23
2017-12-01 09:34:17 +01:00
Michael Kaply
545f2e85ea Bug 1416063 - Switch duckduckgo to ddg for mobile. r=flod
MozReview-Commit-ID: DID75cJDNeI

--HG--
extra : rebase_source : 8f4c42123dd8f1d55b56813b73fb0ea3439c2a9c
2017-11-30 16:21:21 -06:00
Kilik Kuo
b5261ea942 Bug 1365505 - [P2][Fennec] Only include exoplayer & HLSDecoder related components when building --with-gradle. r=maliu
MozReview-Commit-ID: 7Y0bZynN66i

--HG--
extra : rebase_source : 6730f4e09c559074387b3fcf9dd2fb038628d448
2017-11-30 17:53:00 +08:00
Kilik Kuo
f6da4e9275 Bug 1365505 - [P1][Fennec] Enable HLS support by default for all brandings. r=jolin
MozReview-Commit-ID: AVGfgKR0zRX

--HG--
extra : rebase_source : b1d54aea01ccdf5a4b58e98744efc1b36fb0e941
2017-11-30 17:46:06 +08:00
Michael Kaply
476410d40e Bug 1417502 - Update Yandex search params per Yandex. r=flod
MozReview-Commit-ID: ERkD09pt0cn

--HG--
extra : rebase_source : ea7abe1f7c1e04fef162e1092cbb92058de6a83f
2017-11-30 16:35:34 -06:00
Delphine Lebédel
a407c86830 Bug 1422200 - Add vi to maemo-locales for multi-locale builds, r=flod
MozReview-Commit-ID: FFJGTFPi17E

--HG--
extra : rebase_source : 828a0d93ed114e724d38793f239462982fcd9b9b
2017-11-30 18:13:43 -08:00
Thomas Nguyen
d67c09f7dd Bug 1345433 - Ensure tests load pass valid triggeringPrincipal. r=ckerschb,JanH
MozReview-Commit-ID: LWcP7drDPwL

--HG--
extra : rebase_source : 3741530254b3cb2627f798cf22eacf64c29a8b9e
2017-10-23 18:15:40 +08:00
Thomas Nguyen
fd883fdb12 Bug 1345433 - Bring back assertion that history entries need a valid triggeringPrincipal r=JanH,smaug
MozReview-Commit-ID: 9GfGIxkqfhM

--HG--
extra : rebase_source : 9568fb89e43400453d42980a267aee733d551e13
2017-10-23 18:14:28 +08:00
Nevin Chen
f8dabfd76d Bug 1421946 - Make Switchboard accept duplicated experiment names. r=maliu
MozReview-Commit-ID: IL2WLraknMt

--HG--
extra : rebase_source : 1ac61425d5be8ffd18b237519036b21218f35e9d
2017-11-30 17:58:05 +08:00
Jim Chen
675847149d Bug 1416316 - 4. Update comments and bindings; r=jchen
MozReview-Commit-ID: 9CBe7Iej1D8

--HG--
extra : rebase_source : 0db28213833915747d9b34fe58458348a33458ad
2017-11-30 13:25:51 -05:00
Jim Chen
84ca8a1479 Bug 1416316 - 3. Update NPZC usages; r=rbarker
Remove NPZC references from LayerView, and add an NPZC getter in
LayerSession. Use the new APIs in GeckoView to forward events to NPZC.

MozReview-Commit-ID: 1UcJkpW0XuM

--HG--
extra : rebase_source : 6f50d1ca9398a2549678cc4e0fbb2578d284f63a
2017-11-30 13:25:50 -05:00
Jim Chen
bd61ff7f2f Bug 1416316 - 2. Clean up NativePanZoomController; r=rbarker
Clean up the NativePanZoomController object including,

1) Remove references to LayerView because NPZC will be created and used
by LayerSession.

2) Rename `mDestroyed` to `mAttached` because NPZC now needs to support
cases where it's used before being attached, in addition to after being
destroyed.

3) Move origin of synthesized event coordinates from the screen to the
surface in native code, so we don't need to do the same thing in Java.

4) Invoke all callbacks from native code on the UI thread.

MozReview-Commit-ID: Fu4XIY59yKw

--HG--
extra : rebase_source : cb4d432cb940cfa92f3c0a931f1f2d2991932462
2017-11-30 13:25:50 -05:00
Jim Chen
c8f7a24671 Bug 1416316 - 1. Move overscroll to LayerSession; r=rbarker
There is some overscroll handling code in NativePanZoomController that
should be moved, along with other overscroll code in LayerView, to
LayerSession. LayerSession now provides a getter for
OverscrollEdgeEffect, which is cleaned up to have a public API with
documentation.

MozReview-Commit-ID: LkKHFS8OkR7

--HG--
extra : rebase_source : dc6b680b1cc7d7e2dd221091a63a208971d63c80
2017-11-30 13:25:50 -05:00
Michael Comella
f577ab7c41 Bug 1417361: Rename OnCardLongClickListener.onClick -> onLongClick. r=liuche
This should make the code slightly simpler to follow.

MozReview-Commit-ID: HrAv39eCtzb

--HG--
extra : rebase_source : 6c40a2f501705f50256dccea9534d9f8c1605c19
2017-11-28 17:29:53 -08:00
Michael Comella
9e2b82c64c Bug 1417361: Use anchor for context menu on tablet. r=liuche
This uses the same anchors as the old code so should be low risk.

MozReview-Commit-ID: 7pA3SSRghv0

--HG--
extra : rebase_source : b7b4bb7afbd7569085416c5f1d74e714eef4216d
2017-11-28 16:35:54 -08:00
Margareta Eliza Balazs
cb71a3c4fe Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-30 12:55:54 +02:00
Bogdan Tara
df97c78dbf Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-30 01:10:06 +02:00
Bogdan Tara
d8635b15e4 Merge inbound to mozilla-central r=merge a=merge on a CLOSED TREE 2017-11-30 00:41:09 +02:00
Nevin Chen
991a5d548b Bug 1420055 - Drop an event when user finish first run on-boarding. r=maliu
MozReview-Commit-ID: 11pkuifwhAf

--HG--
extra : rebase_source : e09ed7f089e57b729bfdf716d5ca344d9270aa24
2017-11-23 14:21:29 +08:00
Tooru Fujisawa
2efac753f7 Bug 1416251 - Remove conditional catch consumers in mobile/android/. r=nechen 2017-11-29 19:58:31 +09:00
Dorel Luca
be78e6ea9b Merge inbound to mozilla-central r=merge a=merge 2017-11-29 12:26:15 +02:00
Tiberius Oros
18ea9ecad9 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.html => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js^headers^
extra : rebase_source : e126b0ab427161de0acd67cdfb9a1434415412dc
2017-11-29 02:25:59 +02:00
Dorel Luca
79499f4044 Merge mozilla-central to autoland r=merge on a CLOSED TREE 2017-11-29 12:31:25 +02:00
Makoto Kato
9bba600ffc Bug 1420332 - Use system locale when system default is selected for browser locale. r=snorp
This is a regression by bug 1337078.  When user selects system default for
Browser language, "locale" pref is empty.  So BrowserLocaleManager.getLocale
always returns null.  So, current locale is always en-US in Gecko code.

So we should return system locale when "locale" pref is empty.

Also, ReadSystemLocales expects language tag string for locale.  Since
Locale.toString doesn't return language tag, so we should convert to it.

MozReview-Commit-ID: 3NhAkuA4HaH

--HG--
extra : rebase_source : 98e7c928e852391abe11b1b7ba19cc61d4924cea
2017-11-27 10:55:25 +09:00
Eugen Sawin
546e2f6dbb Bug 1417049 - [1.2] Don't show Add to Home Screen page action for incompatible launchers. r=nechen 2017-11-29 17:27:01 +01:00
Andrew Gaul
7fcb045971 Bug 1418734 - Remove HashMap from SecurityModeUtil r=nechen
Replace with enum field.  Also hoist getImageLevel into enum and change callers.
2017-11-18 21:41:20 -08:00
Nevin Chen
1b0f55a9e8 Bug 1403566 - Support mutli login for PWA. r=jchen
MozReview-Commit-ID: LuQPnrtn1Wa

--HG--
extra : rebase_source : 00566bbd073fa6df0e274f609307f677ca890b22
2017-11-28 17:54:56 +08:00
Dylan Roeh
925c23f412 Bug 1425898 - Call refreshLocales on the Gecko thread rather than the UI thread. r=jchen 2017-12-21 15:08:09 -06:00
Dão Gottwald
aff5b2a7f6 Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
MozReview-Commit-ID: 4FQ5aL2XrU5

--HG--
extra : rebase_source : a8863472a82697b3e7668866a35f14b6f01fafe7
2017-11-28 11:38:15 +01:00
tushararora
b990216761 Bug 1334782 - tabs.query should pattern match the title r=zombie
MozReview-Commit-ID: 5WaKLaOP7Nc

--HG--
extra : rebase_source : 6d317b643cd6d6f38659dfc5cc0c8e16bee74e56
2017-11-16 16:17:45 +05:30
Michael Comella
78b70a134c Bug 1416971: Update Pocket MORE link. r=liuche
Updated URL is specified in comment 1.

MozReview-Commit-ID: 3S6vJ4E7jYO

--HG--
extra : rebase_source : e053cfc858492c3e0f2fbf5ca11c37dc07160750
2017-11-27 11:26:57 -08:00
Johann Hofmann
d655438426 Bug 1374574 - Remove the FlyWeb system add-on from Fennec. r=ahunt,sebastian
MozReview-Commit-ID: AyYD4HedXFv

--HG--
extra : rebase_source : 82d068d219239e2b43e1ec285f7112065642bd29
2017-11-22 14:49:35 +01:00
Jan Henning
18fe01839f Bug 1415297 - Dispatch TabEvents.LOADED again on DOMContentLoaded. r=sebastian
AddToHomeScreenPromotion uses this for triggering the self-same promotion and
the BrowserToolbar uses it to update its progress display.

MozReview-Commit-ID: 1xrwjWP5Idh

--HG--
extra : rebase_source : 64d9ef66cf8427cccf3f84f59806cada9eddf842
2017-11-07 22:07:05 +01:00
Cosmin Sabou
651cb90a8a Backed out changeset be86ccde4f4a (bug 1352497) for bc failures on Windows 7 debug with e10s at docshell/test/browser/browser_bug1309900_crossProcessHistoryNavigation.js r=backout a=backout 2017-11-26 01:36:44 +02:00
Andrew Gaul
ea51a3fcd3 Bug 1419268: Make some static fields final r=nalexander
This allows compile-time initialization instead of runtime in clinit.
2017-11-20 21:01:10 -08:00
Dão Gottwald
bfd060da04 Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
MozReview-Commit-ID: 8aPg9oDFIlu

--HG--
extra : rebase_source : 6e9836a6d66b464df1228f7ed84e9b37bad8809c
2017-11-22 13:51:08 +01:00
arthur.iakab
61b76d3643 Merge mozilla central to autoland r=merge a=merge on a CLOSED TREE 2017-11-24 12:05:22 +02:00
Nevin Chen
c489438563 Bug 1419320 - PWA icon and onboarding image update. r=maliu
MozReview-Commit-ID: FqHHWg5qsfg

--HG--
extra : rebase_source : c881da264a4c5d87c7aaaf07cfec057be021ef4c
2017-11-23 16:08:58 +08:00
Gurzau Raul
21905d169e Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-24 00:38:13 +02:00
Julian Descottes
af2e5d5dd1 Bug 1416711 - Add registerAllActors API;r=ochameau
Most of the codebase that needs to create a debugger server
can use a server with all actors registered.

Define an additional method registerAllActors to do that.

By previous implementations, all the call sites that were
using browser: true were indirectly using tab & root: true
as well. So all the call sites using browser: true have been
migrated to registerAllActors and the specific behavior of
the browser: true case has been removed. Passing browser:true
to registerActors now only registers browser specific actors.

MozReview-Commit-ID: F3sx71eGrdG

--HG--
extra : rebase_source : 7704264e84d96e03a0c789103ff466980913d4d2
2017-11-13 21:22:15 +01:00
Julian Descottes
c2cea9f242 Bug 1416711 - Remove windowType argument from registerActors;r=ochameau
The windowType option of registerActors has nothing to do with
registering actors. It is only used in one spot in the codebase, so
switch this one to DebuggerServer.chromeWindowType = "..."; and
remove the option from registerActors.

MozReview-Commit-ID: QH6GKmTbVq

--HG--
extra : rebase_source : 13d70ddc21cae2b43cab2899c0e4b6f597c4f3ec
2017-11-13 21:06:59 +01:00
Julian Descottes
7324ecc861 Bug 1416711 - Stop guarding consumer calls to DebuggerServer.init();r=ochameau
DebuggerServer.init() already bails out if it was previously initialized
so we could avoid guarding the calls to init() with it everywhere.

Registering an actor module several times is also a noop as the Server
keeps a map of all the already registered modules and will bail out if
the module is already known.

MozReview-Commit-ID: 4ONLlx9253i

--HG--
extra : rebase_source : a6fce209baf5e019b6a216761c01832a30332343
2017-11-13 21:04:43 +01:00
Julian Descottes
4cac7dcb25 Bug 1416711 - Migrate addBrowser/TabActors to registerActors;r=ochameau
DebuggerServer has old APIs addBrowserActors & addTabActors that can be
replaced by calls to registerActors.

MozReview-Commit-ID: KpYJpbSHM8I

--HG--
extra : rebase_source : c7f20edf503b944ef2582b5fe73bd6d899c0d1cc
2017-11-13 20:29:55 +01:00
Cosmin Sabou
a8c3a54f72 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-23 11:45:29 +02:00
Cosmin Sabou
a5d613086a Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-23 11:42:46 +02:00
James Cheng
75bf8e9453 Bug 1419249 - Fix the wrong logic calculating starttime of the first sample. r=kikuo
MozReview-Commit-ID: 3je7idVeYoZ

--HG--
extra : rebase_source : ecd1a43d6a98e0f0cf5fd53c5b3f0d830d985fc4
2017-11-22 17:47:03 +08:00
James Cheng
89998341ee Bug 1418766 - Fix Crash in java.lang.OutOfMemoryError by making Exoplayer pause by default. r=kikuo
MozReview-Commit-ID: JGIRcYLXtdv

--HG--
extra : rebase_source : f83c395358c46458d40729176b5f5a3cc463009d
2017-11-21 17:21:19 +08:00
Makoto Kato
b444fbea2a Bug 1366049 - enable Stylo for Android. r=snorp
All tests are passed with stylo, So let's turn on stylo even if Android.

MozReview-Commit-ID: X0ORZUn60a

--HG--
extra : rebase_source : 61f0d3513114a2d0716d9e660eba98004ff85bbf
2017-11-21 19:35:32 +09:00
shindli
a0b20fcb81 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-22 23:42:02 +02:00
Noemi Erli
088b617365 Backed out changeset 9353a526c194 (bug 1366049) for bustage in /python/mozbuild/mozbuild/test/configure/lint.py r=backout on a CLOSED TREE 2017-11-22 23:31:04 +02:00
shindli
82254ca1cf Merge inbound to mozilla-central r=merge a=merge 2017-11-22 23:29:44 +02:00
Ray Lin
78b7e8c2f7 Bug 1397173 - Apply dark overlay style when only error occurs in mobile video controls. r=jolin
MozReview-Commit-ID: CsVK90kmLlT

--HG--
extra : rebase_source : e73ae0f6c10b43c2ca22e32b7c328278e74b72a7
2017-11-22 14:11:54 +08:00
Sebastian Hengst
d605c83e10 Backed out changeset c5970c2922ed (bug 1412336) for failing mochitests dom/tests/mochitest/general/test_interfaces.html and dom/vr/test/mochitest/test_vrDisplay_canvas2d.html (VRDisplay not available). r=backout on a CLOSED TREE 2017-11-22 18:53:10 +02:00
Dylan Roeh
e28b186aa4 Bug 1412336 - Do not set dom.vr.enabled to true in Fennec nightly. r=rbarker 2017-11-21 16:54:43 -06:00
Benjamin Cheng
294078ee3c Bug 1413107 - Remove ending period in Custom Tabs Switch under Settings -> General r=nechen
MozReview-Commit-ID: 9VmunM4BMox

--HG--
extra : rebase_source : ea63b5729f3ac3fdd9a50a7547c766c1cf4d8a1f
2017-11-12 02:38:18 +08:00
Nevin Chen
5213849f03 Bug 1418193 - Display MMA device id in about:config. r=maliu
MozReview-Commit-ID: LuHPuFbZneu

--HG--
extra : rebase_source : a709acb7870b59b975200151258e5a19308c565e
2017-11-17 12:05:23 +08:00
James Cheng
c1c5121e36 Bug 1419677 - Fix typo to make BuildConfig.DEBUG_BUILD work properly. r=nalexander
MozReview-Commit-ID: ITszwTqsSqk

--HG--
extra : rebase_source : 7ba31f01cabb962a8e97c75ef2f02e2684d90ac0
2017-11-23 11:12:38 +08:00
shindli
a2e65c617d Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-23 00:17:19 +02:00
shindli
fb855aa7ba Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Jan Henning
257ecaca74 Bug 1417498 - Account for aRequest being null in onLocationChange. r=JanH
According to the documentation, aRequest may be null in some cases, and one such
case is when the location change was caused by a page using the history API.

MozReview-Commit-ID: AUlHBgzaKDX

--HG--
extra : rebase_source : a51770f17242f899adc566a3ebd8c09357600ef9
2017-11-17 19:50:04 +01:00
Gabriele Svelto
5ff191810d Bug 1402519 - When the crash reporter code is disabled at configure time replace it with a dummy implementation; r=ted.mielczarek
MozReview-Commit-ID: F5QbaI1LlmZ

--HG--
extra : rebase_source : f05c929911d27dc1598bc040df54022cd90aa06a
2017-11-14 14:49:33 +01:00
Gabriele Svelto
014408d0f5 Bug 1402519 - When the crash reporter code is disabled at configure time replace it with a dummy implementation; r=ted.mielczarek
MozReview-Commit-ID: F5QbaI1LlmZ

--HG--
extra : rebase_source : 37aacdebc4307a21ff4f2ae27d1b031adc25737c
2017-11-14 14:49:33 +01:00
Dylan Roeh
f5b434a433 Bug 1411521 - Handle javascript: URIs properly in PWAs. r=snorp 2017-11-22 13:17:27 -06:00
Ciure Andrei
c7cf019289 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-22 12:20:25 +02:00
Coroiu Cristina
9eb4f34b0a Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-22 01:50:20 +02:00
Samael Wang
bb968e4fcd Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : 5a1cc56554d1429f3c5af1c8cecaa1d72471ed21
2017-11-14 19:19:27 +08:00
Jim Chen
676e0a6e5c Bug 1416310 - 5. Remove GeckoLayerClient.java and update generated bindings; r=jchen
Remove GeckoLayerClient.java since it's no longer used, and update
auto-generated JNI bindings. r=me for trivial patch.

MozReview-Commit-ID: CiNPLLkh3VJ

--HG--
extra : rebase_source : 0cddae4f8914dd6f6a0631a7e69701828476f2b8
2017-11-20 17:17:02 -05:00
Jim Chen
85057e2e9a Bug 1416310 - 3. Merge GeckoLayerClient into other classes; r=rbarker
Move the GeckoLayerClient JNI callbacks to LayerSession.Compositor. Move
the rest of the viewport code to LayerView. Finally, move the input
event synthesis code to NativePanZoomController.

MozReview-Commit-ID: 1FEAM43KcwL

--HG--
extra : rebase_source : af2ded170a79f13afbb1f690ae466e77c7145ff6
2017-11-20 17:17:02 -05:00
Jim Chen
75a417ee33 Bug 1416310 - 2. Use per-GeckoView event to handle scroll-to-focused-input; r=rbarker
Instead of sending an event through the global EventDispatcher in
GeckoLayerClient, switch to using the per-GeckoView EventDispatcher in
GeckoInputConnection, to handle scroll-to-focused-input-on-resize. This
lets us implement the same functionality for standalone GeckoView.

The patch also fixes some small bugs including unregistering
not-registered events, not scrolling when switching input focus, and
inadvertent scrolling when not showing the keyboard.

MozReview-Commit-ID: 20OZP9dMXtI

--HG--
extra : rebase_source : d9dee0fd8b3d01147b8b2eda5154c380d0f167dd
2017-11-20 17:17:01 -05:00
Jim Chen
bbe7b4e34c Bug 1416310 - 1. Remove getMatrixForLayerRectToViewRect; r=rbarker
Patch gets rid of `LayerView.getMatrixForLayerRectToViewRect`, and just
uses `LayerView.getZoomFactor` directly when calculating the matrix in
GeckoInputConnection. This also lets us avoid the `isCompositorReady`
call on a non-UI thread. To get the correct offset, we need the screen
bounds from Gecko, so it's passed to Java as the first element in the
rect array. Using bounds from Gecko lets us avoid having to deal with
things like the dynamic toolbar animator ourselves.

MozReview-Commit-ID: 6I61SZGyQyO

--HG--
extra : rebase_source : d576fb7ef9a42de10b14db662e5c4833f16f6312
2017-11-20 17:17:00 -05:00
James Willcox
d6ec9137a6 Bug 1416015 - Fix checkstyle failure r=me
MozReview-Commit-ID: I9KkGiP8fUm
2017-11-21 13:58:56 -06:00
James Willcox
436c2828a9 Bug 1416015 - Ensure SurfaceTexture desctruction happens correctly r=jnicol
MozReview-Commit-ID: I4X1jQQC7ry
2017-11-21 12:43:31 -06:00
Axel Hecht
7245bd41b2 bug 1385227, use proper make steps to put l10n repacks in sequence, r=gps
This drops the abuse of make dependencies to factor our steps
in l10n repacks and language packs.
It's replaced with clobbers, libs, and the packaging, which
can be shared between installers and the language pack.

MozReview-Commit-ID: 2vEHp0QogXQ

--HG--
extra : rebase_source : c14f0b17904f8f9e0e3f004384c2a292ceeafe4f
extra : source : e95f8bd7b5190bf1d3fae75a88a15ebbe6613809
2017-08-04 17:19:12 +02:00
Cosmin Sabou
fdc83a94aa Merge inbound to mozilla-central r=merge a=merge 2017-11-21 00:01:02 +02:00
Jim Chen
31f98e2e0f Bug 1417650 - Correctly specify flags for Tab:OpenUri; r=me
Pass in the flag names for Tab:OpenUri so we don't have to worry about
synchronizing the flags in Java with ones in C++. r=me for trivial
patch.

MozReview-Commit-ID: BowjLV1s7nT
2017-11-20 14:15:35 -05:00
Gijs Kruitbosch
d15df6f6ff Bug 1408044 - stop using/overriding about: in Fennec and use about:fennec/firefox instead, r=nalexander
MozReview-Commit-ID: 3LQjMJZOuqc

--HG--
extra : rebase_source : a156925274ff4cf7582919f30669b7a0277c58d1
2017-11-14 23:41:37 +00:00
Gijs Kruitbosch
18eb334e10 Bug 1408044 - stop trying to localize the toolkit about.dtd file in mobile code, r=nalexander
MozReview-Commit-ID: 9dpsRgqz52F

--HG--
extra : rebase_source : dda3b339eb385dba65ddee820f3dfb393b02fdaf
2017-11-15 14:28:10 +00:00
Noemi Erli
e90c67896c Backed out 3 changesets (bug 1406253)for build bustage in dom/base/nsCopySupport.cpp r=backout on a CLOSED TREE
Backed out changeset 284f3cc2880c (bug 1406253)
Backed out changeset aecb3d509a39 (bug 1406253)
Backed out changeset 9ce01198e8a1 (bug 1406253)
2017-11-20 13:34:29 +02:00
Samael Wang
ef3c08ceb1 Bug 1406253 - Part 3: use currentRequstFinalURI in context menu and add a test case. r=dao
If the image request gets redirect on loading, HTMLImageElement.currentURI
(which corresponds to nsIImageLoadingContent.currentURI) would return the
original URI before redirect, making "Save Image" in the context menu use
incorrect URI and filename. Use currentRequestFinalURI instead to get
redirected URI.

MozReview-Commit-ID: Bd7Q36sH93b

--HG--
extra : rebase_source : b88ccf98bc2a41aac007d79060424eaa2c2aca88
2017-11-14 19:19:27 +08:00
Dylan Roeh
aa335d6514 Bug 1370915 - Reorganize compatibility checks in BrowserApp and GeckoApp to avoid attempting to load mozglue on unsupported hardware. r=jchen 2017-11-17 08:51:39 -06:00
Florian Quèze
b44b6a963a Bug 1405670 - remove support for NS_APP_SEARCH_DIR_LIST and NS_APP_SEARCH_DIR from the directory service, r=adw. 2017-11-17 12:05:20 +01:00
Makoto Kato
b2dfd3b57f Bug 1366049 - enable Stylo for Android. r=snorp
All tests are passed with stylo, So let's turn on stylo even if Android.

MozReview-Commit-ID: X0ORZUn60a

--HG--
extra : rebase_source : f93f979711ab5f16eb3ced1d07e3c6d83464a6f0
2017-11-21 19:35:32 +09:00
Jim Chen
82c5935b9b Bug 1416319 - 8. Switch to using LayerSession coordinates APIs; r=rbarker
Use the LayerSession coordinates APIs instead of manually calculating
coordinates using viewport metrics and toolbar height, which is prone to
error.

MozReview-Commit-ID: 4ebI3BHEOXR

--HG--
extra : rebase_source : 264f03f3032f101687c2a39d1cf052ac1805f12b
2017-11-22 14:12:23 -05:00
Jim Chen
0c82587e52 Bug 1416319 - 7. Don't expose viewport metrics from LayerSession; r=rbarker
Provide a set of coordinates APIs in LayerSession instead of exposing
the raw viewport metrics, which are hard to use. This also lets us
remove ImmutableViewportMetrics completely.

The new APIs provide rectangular bounds in client or surface
coordinates, and matrices to transform those coordinates to screen
coordinates. This is done because the transformation to screen
coordinates could (in the future) involve skew, rotation, etc, so it's
up to the application to decide how to handle non-rectangular screen
bounds.

MozReview-Commit-ID: 8Yw8L63TmrQ

--HG--
extra : rebase_source : 76954d32da9fb8435ec68ea53b6dc618f8cb0121
2017-11-22 14:12:23 -05:00
Jim Chen
e1e55d7285 Bug 1416319 - 6. Remove DynamicToolbarAnimator from LayerView; r=rbarker
Remove all DynamicToolbarAnimator-related code from LayerView now that
they are in LayerSession.

MozReview-Commit-ID: 56AO79T3NoK

--HG--
extra : rebase_source : 7685806436d43dc203cc034dd5105eb1f9c80a94
2017-11-22 14:12:23 -05:00
Jim Chen
dc678eed57 Bug 1416319 - 5. Update DynamicToolbarAnimator usage in other classes; r=rbarker
Use DynamicToolbarAnimator through the session in places where we need
to interact with the toolbar or get the current toolbar height.

MozReview-Commit-ID: PdGX4FEHp5

--HG--
extra : rebase_source : 825fc70b584eb4b75f0ce9bd21a36c68f700c8c2
2017-11-22 14:12:22 -05:00
Jim Chen
5686bed431 Bug 1416319 - 4. Store DynamicToolbarAnimator in LayerSession; r=rbarker
Add getter/setter for DynamicToolbarAnimator in LayerSession in lieu of
LayerView. It is then LayerSession's responsibility to keep track of how
changes in the toolbar affects other things like the window and viewport
bounds.

MozReview-Commit-ID: HmRqxZ7EUCZ

--HG--
extra : rebase_source : 80648a17ed10672400daa4bcce0de49f4ee76557
2017-11-22 14:12:22 -05:00
Jim Chen
e5bc1dc324 Bug 1416319 - 3. Clean up DynamicToolbarAnimator API; r=rbarker
The plan is to incorporate DynamicToolbarAnimator into the official
GeckoView API and expose getter/setter in LayerSession. This patch
cleans up the class to make sure only public APIs are public, and to
assert they are called on the UI thread.

MozReview-Commit-ID: D3ePV3k2HvX

--HG--
extra : rebase_source : b1925ff484b5661f3a02f66079d4834961efffbe
2017-11-22 14:12:22 -05:00
Jim Chen
c04cfbb676 Bug 1416319 - 2. Remove usage of MetricsListener by FormAssistPopup; r=rbarker
This code is supposed to reposition the form assist popup if the toolbar
appears or disappears while the popup is visible, but we can move that
to a resize event listener in JS, so we don't have to maintain
the MetricsListener API for DynamicToolbarAnimator.

MozReview-Commit-ID: HR6wcJrGloR

--HG--
extra : rebase_source : a330a181bd352ad0028cb2a8faf1f92470189ead
2017-11-22 14:12:22 -05:00
Jim Chen
b21cdffaf4 Bug 1416319 - 1. Move content-document-is-displayed flag to native code; r=rbarker
One fix I forgot to make in bug 1416310 is to change the code to reset
the flag in LayerView. I think it's better if we just moved the whole
thing to native code, since we don't really use the flag in Java.

MozReview-Commit-ID: 9cbcYb89LhC

--HG--
extra : rebase_source : a209669d6657a60c198f59f4a0e4d959478485c3
2017-11-22 14:12:22 -05:00
Jan Henning
d44422eff6 Bug 1417918 - Save current keyword before navigating to SelectFolderFragment. r=jwu
Same issue as bug 1374251 now that keywords are editable as well.

MozReview-Commit-ID: AJyDRAAN2IR

--HG--
extra : rebase_source : 8e99338ca8b4d79ea2ea95451d045476cb76ba51
2017-11-17 18:42:39 +01:00
Tom Prince
a45ea20b93 Bug 1413575: Adjust in-tree references to mozbase documentation to point in-tree. r=ahal
MozReview-Commit-ID: rctbByyjTA

--HG--
extra : rebase_source : a682eb6d77b79640ac9ec20e9d64340613bcfed7
2017-11-20 11:43:13 -07:00
Luca Greco
af79ee9b90 Bug 1373170 - Fix and re-enable android pageAction getPopup/setPopup tests. r=bsilverberg
MozReview-Commit-ID: 3CKvvtI7OEN

--HG--
extra : rebase_source : 73105a314e940e25c76f30d21b1f336f6e1f7595
2017-08-30 21:38:13 +02:00
Gurzau Raul
f464825286 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-16 12:16:07 +02:00
Gurzau Raul
6dcee027d7 Merge inbound to mozilla-central r=merge a=merge 2017-11-16 12:04:45 +02:00
Mike Hommey
9ec14dddcb Bug 1417689 - Remove explicit --enable-elf-hack in mozconfigs. r=nalexander
--enable-elf-hack is the default on all platforms where it's supported,
and is completely ignored on platforms where it's not supported.
While moving the flag to moz.configure, we're going to make it only
work on platforms where elfhack is supported, so we at least need to
remove it from mozconfigs for those platforms where it's not supported.
But generally speaking, we want less things in mozconfigs, so just
remove it from there, since it's the default anyways.
2017-11-16 09:37:17 +09:00
Nevin Chen
3eb6a885c1 Bug 1390454 - Apply Banner fix for Leanplum SDK. r=maliu
Since we want to update our fork of Leanplum SDK as minimum as possible, this patch only pick the patch from Leanplum repo:
https://github.com/Leanplum/Leanplum-Android-SDK/pull/41

MozReview-Commit-ID: 5qFgH9xhHfy

--HG--
extra : rebase_source : 411dbdb11f4b9c826118bc39f9f137ec65836b4e
2017-11-15 14:53:55 +08:00
Nevin Chen
3952fdd772 Bug 1390454 - Make Banner dialog status bar transparent. r=maliu
I didn't check if currently the app is using dark theme(LightweightTheme) or not.
Cause that requires some hacky injection to let Leanplum SDK knows the status bar corlor or dark theme or not.

MozReview-Commit-ID: 4Twe59Gw6mS

--HG--
extra : rebase_source : a4fd4db28ccb9b210a547b328af72c6390a038d0
2017-11-14 15:06:18 +08:00
Nevin Chen
90db452b7d Bug 1411607 - Hide Experimental features section when there are no experiments. r=maliu
MozReview-Commit-ID: Fph0llqYgdL

--HG--
extra : rebase_source : 489b6e2f512c936d74d1ee84f5da086027cb8d1a
2017-11-10 17:17:49 +08:00
Andrew Gaul
e6b528e144 Bug 1413620 - Prefer Integer.valueOf over new Integer. r=nalexander,nechen
The former uses the Integer object cache to avoid allocations.
2017-11-01 10:40:27 -07:00
Brindusan Cristian
89030a420a Merge mozilla-central to inbound r=merge a=merge on a CLOSED TREE 2017-11-16 00:51:41 +02:00
Grigory Kruglov
713625953b Bug 1403787 - Change try/catch to catch the correct exception r=eoger,nalexander
We're aiming to catch FileNotFound exceptions here, but underneath they're re-thrown as IllegalStateException.

MozReview-Commit-ID: HaCpbqq93q0

--HG--
extra : rebase_source : 60a5be31cdb5bd66a2b2d9bde5e86671d9a01ffd
2017-10-30 03:17:48 -07:00
Jan Henning
bbc847a79b Bug 1416261 - Use android:theme, as app:theme has been deprecated. r=jwu
MozReview-Commit-ID: Iuf4NfCWnyc

--HG--
extra : rebase_source : 384b48cbdaef0c6ac8eefb661f869a249b977f3d
2017-11-10 17:35:31 +01:00
J. Ryan Stinnett
c87de83b8d Bug 1417664 - Include layout debugger interface for packaged builds. r=mats,nalexander
MozReview-Commit-ID: 1bNIRlmsHx6

--HG--
extra : rebase_source : a1a21527aa75b2e0148c052194183cc7d94a8f9a
2017-11-15 16:01:39 -06:00
Thom Chiovoloni
91c3f631d6 Bug 1415656 - Fix android serializing dateAdded as a string in sync bookmark records r=Grisha
MozReview-Commit-ID: 1u9DeVvYwjY

--HG--
extra : rebase_source : 24a16261ff037929dc424ddd1c278030a2d09f25
2017-11-14 15:14:08 -05:00
Jim Chen
c9c8f7024a Bug 1415994 - 7. Migrate existing gfx code to use LayerSession; r=snorp
Remove most of the Compositor and Surface management code in LayerView.
And use LayerSession.Compositor in rest of the gfx code.

MozReview-Commit-ID: 5E9pj3eGHlv

--HG--
extra : rebase_source : 0b0a64113db58aaf376c98d5480f5cf31174a3d3
2017-11-14 18:18:35 -05:00
Jim Chen
db59a90277 Bug 1415994 - 6b. Track GeckoDisplay origin changes; r=snorp
Add a `screenOriginChanged` callback to GeckoDisplay.Listener, which
informs Gecko of changes in the origin of the display. The origin
translates to coordinates for web APIs like screenX/screenY and certain
other calculations.

Also, make GeckoDisplay listen to layout changes in the view tree (by
overriding gatherTransparentRegion as an optimization), and call
`screenOriginChanged` accordingly.

MozReview-Commit-ID: C72EHCkbV3T

--HG--
extra : rebase_source : 240c5c8fb3c2938ae966f40e86f7c5a0ca66526c
2017-11-14 18:18:35 -05:00
Jim Chen
eb9152fe63 Bug 1415994 - 6. Implement GeckoDisplay in GeckoView; r=snorp
Make GeckoView implement GeckoDisplay for its own SurfaceView, and use
that with GeckoSession.

MozReview-Commit-ID: LXllQGlCxaB

--HG--
extra : rebase_source : 1b41e411b2c293797d572d584c4f2b7036e83b23
2017-11-14 18:18:35 -05:00
Jim Chen
ff6c25061a Bug 1415994 - 5. Use LayerSession from GeckoSession; r=snorp
Make GeckoSession inherit from LayerSession, and connect its Compositor
to native code as part of the GeckoSession routine.

MozReview-Commit-ID: wQaH1A0a7z

--HG--
extra : rebase_source : ee4ae96e974d15c8cb9ad569ea9abf0ace4d0fa5
2017-11-14 18:18:35 -05:00
Jim Chen
3ef19c1765 Bug 1415994 - 3. Add LayerSession; r=snorp
Add a LayerSession class that's split off LayerView. Currently,
LayerSession takes over Surface management and the Compositor class from
LayerView. Eventually, all of LayerView will migrate to LayerSession.

MozReview-Commit-ID: F1ozOfZGY2g

--HG--
extra : rebase_source : eaf42122db1238c99b0da1e689bc365180a2835f
2017-11-14 18:18:34 -05:00
Jim Chen
915defe322 Bug 1415994 - 2. Introduce GeckoDisplay; r=snorp
Introduce a GeckoDisplay interface for interaction with GeckoSession.

MozReview-Commit-ID: 13prgWaPqKU

--HG--
extra : rebase_source : 282b27a1f7c11cf4e559b1f25946c3f4574e900a
2017-11-14 18:18:34 -05:00
Jim Chen
11dc67a595 Bug 1415994 - 1. Don't report screen size in GeckoLayerClient; r=rbarker
We don't actually use the screen size through GeckoLayerClient anymore.
Getting rid of it lets us get rid of the Context field in
GeckoLayerClient as well.

MozReview-Commit-ID: GM1jlhAZm4T

--HG--
extra : rebase_source : 04827eb61d6304d4782a7a935d5528013255726f
2017-11-14 18:18:34 -05:00
Grigory Kruglov
2c2f325436 Bug 1408585 - Remove RepositorySession createSession delegates r=rnewman
MozReview-Commit-ID: KezYHeSWDiL

--HG--
extra : rebase_source : c63f69a7d5b16d152fa809560a70c14ae1da5715
2017-11-14 14:37:05 -05:00
Grigory Kruglov
45de7880f9 Bug 1408585 - Remove RepositorySession begin delegates r=rnewman
'begin' now throws in case things go wrong.

MozReview-Commit-ID: 8jcxYiPcsii

--HG--
extra : rebase_source : 3a6cd6b5dd68f8674d4de827a4228f1e3807724a
2017-11-13 14:29:49 -05:00
Dave Townsend
9b2e25316e Bug 1414406: Remove the inline options feature for add-ons. r=aswan
MozReview-Commit-ID: 4ycTaMzqWgx

--HG--
extra : rebase_source : 9176d61244a140a5c4fde953302e9fb72aebff5a
2017-11-13 15:09:00 -08:00
Nick Alexander
0d056acc9a Bug 1415778 - Part 3: Fix up Gradle. r=jchen
This patch makes the :geckoview Gradle project only use
o.m.geckoview.BuildConfig, and makes the :app Gradle project use all
of the preprocessed code coming from the moz.build system.
Eventually, we'll reduce that set of preprocessed code to only
o.m.gecko.BuildConfig, which will then be produced by Gradle.

MozReview-Commit-ID: Dnkde7axyZL

--HG--
extra : rebase_source : dc0b7f9fa542cbfd9c665bfac761d45f5957f7b8
2017-11-09 09:44:40 -08:00
Nick Alexander
4d8546e06b Bug 1415778 - Part 2: Move AppConstants to o.m.geckoview.BuildConfig. r=jchen
Some of these make no sense for GeckoView, but perfect is the enemy of
the good here.

MozReview-Commit-ID: 9MwRkc61v9P

--HG--
extra : rebase_source : 8e7fa8102c615f34dbd76394fb6877188007c3c7
2017-11-08 21:14:44 -08:00
Nick Alexander
26c00638a1 Bug 1415778 - Part 1: Stop using AppConstants.Versions. r=jchen
Versions is no more efficient than checking android.os.Build, and it
actually interferes with the Android lint that checks API
compatibility.

MozReview-Commit-ID: Cl1227uHWKZ

--HG--
extra : rebase_source : 91ceba45906ad5fbb47d55c982ecbb65569a3f00
2017-11-08 20:41:57 -08:00
Nick Alexander
6f9dfe6900 Bug 1415778 - Pre: Don't use ANDROID_PACKAGE_NAME in GeckoView. r=jchen
MozReview-Commit-ID: FswHnEIBM35

--HG--
extra : rebase_source : 0dcccaab5e907dfb415a3626cc353ff7de823ea3
2017-11-08 21:15:12 -08:00
Jim Chen
30cc0165d5 Bug 1417490 - Avoid crash in getMatrixForLayerRectToViewRect; r=me
Avoid crash in `GeckoLayerClient.getMatrixForLayerRectToViewRect` by not
calling `isCompositorReady`. If the compositor is really not ready, we will
return inaccurate data, but that's acceptable. r=me for trivial patch.

MozReview-Commit-ID: HobHchWYQ5D
2017-11-15 15:08:27 -05:00
Coroiu Cristina
6a04305b5d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-14 12:31:45 +02:00
Jim Chen
fe020808ec Bug 1416576 - Correctly handle Tab:OpenUri; r=me
Correctly handle the Tab:OpenUri event introduced in bug 1412872. r=me
for trivial patch.

MozReview-Commit-ID: BIpKcLCi8sV
2017-11-13 22:50:43 -05:00
Michael Kaply
1a22aca3b3 Bug 1416484 - Add and update some engines for later testing. r=mconnor
MozReview-Commit-ID: 3797KN2Bq52

--HG--
extra : rebase_source : 9311e75586ad31f6d20766b7f440eccb49a778e3
2017-11-11 10:23:03 -06:00
Andreea Pavel
7fb4cc447c Merge inbound to mozilla-central r=merge a=merge 2017-11-11 11:59:20 +02:00
Ryan VanderMeulen
ef843a0e30 Merge m-c to inbound. a=merge 2017-11-10 16:14:16 -05:00
Ryan VanderMeulen
b16410f51c Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
Dylan Roeh
ebd39f9ce0 Bug 1337078 - Improve the use of Android API in OSPreferences r=snorp
Add BrowserLocaleManager.refreshLocales, a native function which calls OSPreferences::Refresh, and BrowserLocaleManager.getLocale, which returns the current locale string. Use these in place of observing modification of the intl.locale.os pref.
2017-11-10 09:20:04 -06:00
Makoto Kato
4fa452ee6e Bug 1416113 - Unnecessary to set LOCALE_THOUSANDS_SEP, LOCALE_DECIMAL_POINT and LOCALE_GROUPING. r=snorp
LOCALE_THOUSANDS_SEP, LOCALE_DECIMAL_POINT and LOCALE_GROUPING are only used by
old code without ICU.  Since we turn on ICU with ECMA-402 support, it is
unnecessary to set LOCALE_THOUSANDS_SEP, LOCALE_DECIMAL_POINT and
LOCALE_GROUPING in GeckoLoader.setupLocaleEnvironment.

MozReview-Commit-ID: LlGQdLlM7I2

--HG--
extra : rebase_source : 559fafd4ded9e351805fdd7b10e7aaebfc09637e
2017-11-10 13:55:56 +09:00
Jim Chen
06dbbe8e81 Bug 1411968 - Only try launching BrowserApp when handling notifications; r=nechen
Usually when we handle notification events, we try to launch whatever
Activity showed the notification so that the user can see results.
However, only BrowserApp supports being launched this way, so we should
restrict launching Activites to BrowserApp. For others like
CustomTabsActivity, we should just handle the notification event
directly. Currently, only download notifications are supported for these
other Activities, so it's okay if we don't display the Activity.

MozReview-Commit-ID: CNVRSEWBOQ6

--HG--
extra : rebase_source : 79392e1d26a969b6a90dcb976b13dae91fc75241
2017-11-10 18:26:18 -05:00
Csoregi Natalia
6d76ab3d79 Backed out 2 changesets (bug 1414406)for ESLINT failures /toolkit/mozapps/extensions/content/extensions.js:1193 r=backout on a CLOSED TREE
Backed out changeset f501182ed44b (bug 1414406)
Backed out changeset f438ce3fc88e (bug 1414406)
2017-11-14 00:02:18 +02:00
Dave Townsend
9c5a18de90 Bug 1414406: Remove the inline options feature for add-ons. r=aswan
MozReview-Commit-ID: 4ycTaMzqWgx

--HG--
extra : rebase_source : 2898d9947489b9a1d8b69364cb6574706e849225
2017-11-06 10:26:40 -08:00
Narcis Beleuzu
24bf9b5ccd Backed out changeset ca5529c5b232 (bug 1411968) for mass failures on Android 4.3 API16+ debug. r=backout on a CLOSED TREE 2017-11-13 20:02:26 +02:00
Jim Chen
2d53382441 Bug 1411968 - Only try launching BrowserApp when handling notifications; r=nechen
Usually when we handle notification events, we try to launch whatever
Activity showed the notification so that the user can see results.
However, only BrowserApp supports being launched this way, so we should
restrict launching Activites to BrowserApp. For others like
CustomTabsActivity, we should just handle the notification event
directly. Currently, only download notifications are supported for these
other Activities, so it's okay if we don't display the Activity.

MozReview-Commit-ID: CNVRSEWBOQ6

--HG--
extra : rebase_source : 79392e1d26a969b6a90dcb976b13dae91fc75241
2017-11-10 18:26:18 -05:00
Geoff Brown
cbb956e0c3 Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh 2017-11-10 07:03:36 -07:00
Margareta Eliza Balazs
7e070192d7 Merge inbound to mozilla-central r=merge a=merge 2017-11-10 11:55:43 +02:00
Nicholas Nethercote
f4dd5e2636 Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Andrea Marchesini
a4ddff0ca6 Bug 1347515 - Get rid of dom/json, r=qdot 2017-11-10 00:27:36 +01:00
Eugen Sawin
41e3646a3a Bug 1415929 - [1.0] Move Android app data directory out of setting to an environment variable. r=snorp 2017-11-09 21:37:24 +01:00
Michael Comella
4b81416ab1 Bug 1414995: Crash when publicsuffixlist could not be opened. r=nechen
MozReview-Commit-ID: 2agnVzKLkzd

--HG--
extra : rebase_source : 8f4b13154f74ac358fea2c2693f546a95b7f46ca
2017-11-06 16:12:15 -08:00
Sebastian Hengst
ad5f08ae5a merge mozilla-central to autoland. r=merge a=merge 2017-11-09 00:52:17 +01:00
L10n Bumper Bot
f945fe7970 no bug - Bumping Fennec l10n changesets DONTBUILD r=release a=l10n-bump
ach -> default
bs -> default
ia -> default
ltg -> default
oc -> default
2017-11-08 14:40:48 -08:00
Sebastian Hengst
a353221537 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
Narcis Beleuzu
57d9eb5fb1 Backed out 1 changesets (bug 1414096) for dt1 failures "devtools/client/commandline/test/browser_cmd_pref3.js" r=backout on a CLOSED TREE
Backed out changeset e843de356b7e (bug 1414096)
2017-11-08 18:04:01 +02:00
Sebastian Hengst
91932e97bd Backed out 2 changesets (bug 1415298) for orphaned pattern 'assets/**' in mobile/android/app/moz.build. r=backout on a CLOSED TREE
Backed out changeset e046373e0dca (bug 1415298)
Backed out changeset 160586d66bcb (bug 1415298)

--HG--
rename : mobile/android/app/src/main/assets/example_asset.txt => mobile/android/app/assets/example_asset.txt
rename : mobile/android/app/src/main/assets/parental_controls_theme.png => mobile/android/app/assets/parental_controls_theme.png
rename : mobile/android/app/src/main/assets/publicsuffixlist => mobile/android/app/assets/publicsuffixlist
2017-11-08 20:11:03 +02:00
Nick Alexander
7094a99a6c Bug 1415298 - Fix finding assets/ in |mach android test| locally. r=maliu
Upgrading to the Android-Gradle plugin 3.0+ broke |mach android test|
locally.  This addresses the issue.

MozReview-Commit-ID: 3vV47ET7d19

--HG--
extra : rebase_source : aaf7a550f8b2776a41d55fdce2c43c0c8c473331
2017-11-07 12:43:40 -08:00
Nick Alexander
0de3e321d4 Bug 1415298 - Pre: Move assets/ into standard Gradle location. r=maliu
This is part of a larger project to standardize our source locations.

MozReview-Commit-ID: Gbh9qSW7RJY

--HG--
rename : mobile/android/app/assets/example_asset.txt => mobile/android/app/src/main/assets/example_asset.txt
rename : mobile/android/app/assets/parental_controls_theme.png => mobile/android/app/src/main/assets/parental_controls_theme.png
rename : mobile/android/app/assets/publicsuffixlist => mobile/android/app/src/main/assets/publicsuffixlist
extra : rebase_source : e73b7d579e02984e6e2a4a3c746c515a69768568
2017-11-07 12:41:21 -08:00
Delphine Lebédel
f9662b26c6 Bug 1413376 - [oc] Search engine setup for Firefox Mobile Occitan, r=flod
MozReview-Commit-ID: 7SPWMd8n2UR

--HG--
extra : rebase_source : b6772ad0d961583393f1c00aafde79f3d15a60b4
2017-11-08 08:35:12 -08:00
Delphine Lebédel
86b74b0c47 Bug 1411102 - Add ach, bs, ia, ltg and oc to Fennec all-locales for single-locales builds, r=flod
MozReview-Commit-ID: BX6azMD9G5c

--HG--
extra : rebase_source : 2e73ec3a5991f35c8a4552d949889408b51fb638
2017-11-08 08:21:09 -08:00
Narcis Beleuzu
e8f9b9e9a8 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-08 12:55:21 +02:00
Narcis Beleuzu
218e1676cb Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
Cervantes Yu
c6bc943ace Bug 1414714 - Part 2: Remove unused gfx.* prefs. r=nical
The following prefs are removed because they are defined in gfxPrefs, but the
resulting gfxPrefs property is used at all.
* gfx.SurfaceTexture.detach.enabled
* gfx.touch.resample.*
* gfx.screen-mirroring.enabled

MozReview-Commit-ID: CyI3JN4TTu5
2017-11-08 15:26:50 +08:00
Delphine Lebédel
e64d4a4e5f Bug 1411110 - [ia] Search plugin set up for Interlingua on Firefox Android, r=flod
MozReview-Commit-ID: 7ayczE2fyQx

--HG--
extra : rebase_source : 4e9590a91cf58f4c82b0d424d7f84515d937ef98
2017-11-07 13:53:23 -08:00
Nicholas Nethercote
8b3d03c666 Bug 1414096 - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : fb7af066adfa0491a79fae6282a62b08661553c8
2017-10-31 16:34:35 +11:00
Margareta Eliza Balazs
130574a8e2 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-08 00:09:29 +02:00
Randall Barker
8cb9ab66e9 Bug 1413362 - part 3: Add support to build system for GoogleVR based WebVR on Android r=froydnj,nalexander
MozReview-Commit-ID: 8BHBnvor5VT
2017-11-07 10:50:15 -08:00
Randall Barker
7fe4594a76 Bug 1413362 - part 1: Add GeckoVRManager to support GVR WebVR implementation on Android r=jchen,snorp
MozReview-Commit-ID: C7XTF8N1W9a
2017-11-07 10:50:14 -08:00
Nick Alexander
8a81d12535 Bug 1415220 - Make Fennec build --with-gradle by default. r=sebastian
This was just an oversight.

MozReview-Commit-ID: 4mHbW3gF4Qn

--HG--
extra : rebase_source : 7af77c4e028561e127f101b92bf8738502325bf9
2017-11-07 09:03:18 -08:00
Luca Greco
ed4206c563 Bug 1414379 - Closing the extension popup tab should select the parent tab only if the popup tab was selected. r=mixedpuppy
MozReview-Commit-ID: KgSTdblvmYe

--HG--
extra : rebase_source : cef256274fc1ae190bdc2e81ec0ab4129033a645
2017-11-01 04:45:50 +01:00
Sebastian Hengst
ae33b526b2 Backed out changeset 1d43c5bf597b (bug 1414379) for eslint failure at mobile/android/components/extensions/test/mochitest/test_ext_popup_behavior.html:162: missing semicolon. r=backout 2017-11-07 15:08:45 +02:00
Luca Greco
ff7dbabc6a Bug 1414379 - Closing the extension popup tab should select the parent tab only if the popup tab was selected. r=mixedpuppy
MozReview-Commit-ID: KgSTdblvmYe

--HG--
extra : rebase_source : c9f825a2d5f36c110c66e3636079f3a5492accc6
2017-11-01 04:45:50 +01:00
Nick Alexander
35681f5451 Bug 1415298 - Fix finding assets/ in |mach android test| locally. r=maliu
Upgrading to the Android-Gradle plugin 3.0+ broke |mach android test|
locally.  This addresses the issue.

MozReview-Commit-ID: 3vV47ET7d19

--HG--
extra : rebase_source : c31e876969b0aff6cf7711fcb2227f6ca0d4fe46
2017-11-07 12:43:40 -08:00
Nick Alexander
b05cd8e8cd Bug 1415298 - Pre: Move assets/ into standard Gradle location. r=maliu
This is part of a larger project to standardize our source locations.

MozReview-Commit-ID: Gbh9qSW7RJY

--HG--
rename : mobile/android/app/assets/example_asset.txt => mobile/android/app/src/main/assets/example_asset.txt
rename : mobile/android/app/assets/parental_controls_theme.png => mobile/android/app/src/main/assets/parental_controls_theme.png
rename : mobile/android/app/assets/publicsuffixlist => mobile/android/app/src/main/assets/publicsuffixlist
extra : rebase_source : dad3ded6a41d60989921b437dcf91181854c7b5a
2017-11-07 12:41:21 -08:00
Narcis Beleuzu
82324f1ffe Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-08 12:57:37 +02:00
Sebastian Hengst
f5e52adeea merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-07 12:43:06 +02:00
Sebastian Hengst
f2944960ec Backed out 3 changesets (bug 1413362) for causing merge conflicts. r=merge a=merge
Backed out changeset 8b15dfaeecaa (bug 1413362)
Backed out changeset 2d9da0d19d04 (bug 1413362)
Backed out changeset 653c66220a5f (bug 1413362)

--HG--
extra : amend_source : e5c12297b0bb6ebe27a2481e4aac6c0ca8160a1b
2017-11-07 12:41:11 +02:00
Jim Chen
832cd8d996 Bug 1415074 - Fix unresponsiveness after restoring GeckoView states; r=jchen
Fix a bug where GeckoView becomes unresponsive to dispatched events
after restoring states, due to the native queue not being restored.
r=me for small, tested patch.

MozReview-Commit-ID: K1cVjjNaZK1

--HG--
extra : rebase_source : b1329c84d82f5bdc06767bf310ca87e52ff6ec9b
2017-11-07 01:53:11 -05:00
Randall Barker
0f56210acd Bug 1413362 - part 3: Add support to build system for GoogleVR based WebVR on Android r=froydnj,nalexander
MozReview-Commit-ID: 8BHBnvor5VT
2017-11-06 17:43:29 -08:00
Randall Barker
75f309874f Bug 1413362 - part 1: Add GeckoVRManager to support GVR WebVR implementation on Android r=jchen,snorp
MozReview-Commit-ID: C7XTF8N1W9a
2017-11-06 17:43:28 -08:00
Dylan Roeh
f9543dc96b Bug 1414395 - Handle blob: and data: URIs better in PWAs and Custom Tabs. r=snorp 2017-11-06 11:12:14 -06:00
Eugen Sawin
dfda7f814f Bug 1375141 - [2.0] Check for null-URI when attaching pending intent data. r=snorp 2017-11-06 20:31:55 +01:00
Eugen Sawin
99ec71c21f Bug 1389926 - [1.0] Reduce timeout clamp for background tabs to 1s. r=snorp 2017-11-06 20:31:55 +01:00
Csoregi Natalia
c79466f107 (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland
--HG--
extra : amend_source : d435c08a762988804bfe23251b8b5f76702eca99
2017-11-06 15:23:47 +02:00
Csoregi Natalia
aaa47364af Backed out 5 changesets (bug 1411688) for failing Android single-locale repacks. r=backout a=backout
Backed out changeset 65d5d13b4ea0 (bug 1411688)
Backed out changeset 8ba514bd8ed6 (bug 1411688)
Backed out changeset 866854a996b8 (bug 1411688)
Backed out changeset 34f83aab44e6 (bug 1411688)
Backed out changeset 2e4e139bb5d7 (bug 1411688)
2017-11-06 12:18:50 +02:00
Jan Henning
0c394a908c Bug 1414838 - Show stop button again as soon as page loading starts. r=nechen
As of bug 1366672, case START no longer falls through in order to allow for a
different behaviour of the progress indicator, however we still need to add
UpdateFlags.PROGRESS, so that the stop button shows up as soon as a page starts
loading.

MozReview-Commit-ID: 3P33JEsS5ic

--HG--
extra : rebase_source : 4f83ab57613df31cdd4f392c478df33a992c95af
2017-11-06 20:20:57 +01:00
Jim Chen
0d7a6aa9de Bug 1413698 - 7. Rename GeckoView{Handler,Settings} to GeckoSession{..}; r=jchen
The old GeckoView was renamed to GeckoSession, so the old
GeckoViewHandler and GeckoViewSettings should be renamed to
GeckoSession.. as well. GeckoView JS files are left alone and may be
converted in a future bug. r=me for trivial patch.

MozReview-Commit-ID: BJTwugWboKf

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoViewHandler.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoSessionHandler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoViewSettings.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoSessionSettings.java
extra : rebase_source : d6e55620b8588174bff801f3f7b436f67e9b3f32
2017-11-06 14:54:10 -05:00
Jim Chen
451fe9916f Bug 1413698 - 6. Remove PresentationView; r=jchen
Remove PresentationView, which is no longer used. r=me for trivial
patch.

MozReview-Commit-ID: DKcysGTXXC7

--HG--
extra : rebase_source : e7f015e167ea1138903891e24bf215bfabefc141
2017-11-06 14:54:09 -05:00
Jim Chen
6a5d5a1ab2 Bug 1413698 - 5. Use GeckoSession where appropriate; r=snorp
Change places where we use GeckoView to use GeckoSession instead.

MozReview-Commit-ID: InT4i1MaoBe

--HG--
extra : rebase_source : 67f57d5b00818292b8d273665e60f81a11097eea
2017-11-06 14:54:09 -05:00
Jim Chen
af4d72a10d Bug 1413698 - 4. Add minimal GeckoView; r=snorp
With the old GeckoView renamed to GeckoSession, add a new minimal
implementation of GeckoView that manages View lifetime but delegates
most tasks to GeckoSession.

MozReview-Commit-ID: 9FFdLpTfPQY

--HG--
extra : rebase_source : 596866e9121265bf0529648926a71d1dfe3b2976
2017-11-06 14:54:09 -05:00
Jim Chen
8c452ff94b Bug 1413698 - 3. Recorganize GeckoViewSettings; r=snorp
* Move the chromeUri and screenId settings to GeckoViewSettings.

* Add a private data-dir setting that the debugger-socket-dir setting
  falls backs to. Set the data-dir setting inside `GeckoSession.openWindow`.

* Add optional init-only and values properties for settings.

* Use integer constants for display-mode setting.

MozReview-Commit-ID: HgJg0t0oade

--HG--
extra : rebase_source : 537689d93202e4201e879bae9e073ceb4489190b
2017-11-06 14:54:09 -05:00
Jim Chen
edb0428314 Bug 1413698 - 2. Move GeckoView to GeckoSession; r=snorp
Rename GeckoView to GeckoSession. Strip out parts of it that depended on
being a subclass of View. Also strip out parts of it that dealt with
switching EventDispatcher and NativeQueue, because now there's only one
copy of each for each GeckoSession.

MozReview-Commit-ID: J699twtpmTS

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoView.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoSession.java
extra : rebase_source : 60e045f6f1e6a70dcabc03f5a32cae5576c2edd8
2017-11-06 14:54:09 -05:00
Jim Chen
6fdb886eb4 Bug 1413698 - 1. Separate out attach() from open() in GeckoView.Window; r=snorp
Right now, `GeckoView.Window.open()` consists of opening a new Gecko
nsWindow and attaching it to the opening GeckoView. This patch separates
the attaching step into an `Window.attach()` function that was renamed
from `Window.reattach()`. Going forward, `Window.open()` and
`Window.close()` will correspond to opening and closing a session, which
`Window.attach()` will correspond to attaching a display to a session.

MozReview-Commit-ID: 94Un74pwizY

--HG--
extra : rebase_source : a7d9c6c3227de4b05e800d77a184f1deae9af5f8
2017-11-06 14:54:08 -05:00
Nick Alexander
af1a4a8366 Bug 1411688 - Part 4: Make single-locale repacks agree with underlying Nightly builds. r=aki
There's nothing that makes sense in the existing setup; we're only not
getting bitten because the set of things that _do_ depend on all of
the flags that differ between the underlying Nightly builds and
single-locale repacks is small, and nobody has complained.  For
example, about:licenses probably does not include the Adjust SDK
license for single-locale repacks.

This patch series recompiles the Java code as part of each
single-locale repack, and that means the feature flags, etc, need to
be the same between the underlying compiled code (from the underlying
Nightly build) and the fresh Java compile.  This patch tries to
harmonize the two.

MozReview-Commit-ID: 230q7HuD1vV

--HG--
extra : rebase_source : 1be8a389ed289c788add4d3e95c540f29165cf6b
extra : source : d7f794ec69ccd38d66ec5394fac7cc6658e29ce4
2017-10-23 13:50:51 -07:00
Nick Alexander
cc2129e406 Bug 1411688 - Part 1: Make --with-gradle handle single-locale repacks. r=snorp
Single-locale repacks do the following:

Download existing APK; unzip APK; update l10n resources; |mach package| with IS_LANGUAGE_REPACK=1.

This is pretty hard to accommodate, but we can try.  The key issues
here are to recognize when IS_LANGUAGE_REPACK=1 and not ask for l10n
resources (in particular, strings.xml) to be generated.

We do need to include the freshly built classes.dex when repackaging,
because newer Gradle/aapt doesn't preserve the R.java IDs.

MozReview-Commit-ID: 9FvQtmPOUjg

--HG--
extra : rebase_source : b0440ceb318662bf3c08f2139c51dae5775a6b38
2017-10-23 13:24:58 -07:00
Nick Alexander
a090e4b296 Bug 1411688 - Part 0: Make --with-gradle handle single-locale repack ABIs. r=snorp
This agrees with
http://searchfox.org/mozilla-central/rev/423b2522c48e1d654e30ffc337164d677f934ec3/mobile/android/base/generate_build_config.py#95.
It should really come from the underlying binaries for repacks, but
right now we only repack ARM builds, so this will do.

MozReview-Commit-ID: 3UvrJDV1l9a

--HG--
extra : rebase_source : e57b49e32c80906bdb513850c370d64e5a140978
2017-11-02 09:38:47 -07:00
Sebastian Hengst
07b805d165 Backed out 5 changesets (bug 1411688) for flake8 linting failure at testing/mozharness/scripts/mobile_l10n.py. r=backout on a CLOSED TREE
Backed out changeset 8ddf3257a8db (bug 1411688)
Backed out changeset c313d76f2aa5 (bug 1411688)
Backed out changeset 3df83a3b7e9c (bug 1411688)
Backed out changeset 133417cefdab (bug 1411688)
Backed out changeset a8fd33d8a2af (bug 1411688)
2017-11-04 00:49:47 +01:00
Makoto Kato
945aa85d0c Bug 1292486 - Get rid of nsIUnicodeNormalizer interface. r=jfkthame
m-c and c-c don't use nsIUnicodeNormalizer interface now.

MozReview-Commit-ID: DGK7wBrcrob

--HG--
extra : rebase_source : 9260435fb2d4455b45920971c105a8d502c4e53e
extra : histedit_source : cf2863ebff742f160f30e6a15517f07490f1e6a6
2017-10-20 17:35:34 +09:00
Jan Henning
e99464f25e Bug 1415307 - Stop sampling background colour in DOMContentLoaded. r=rbarker
Bug 1297850 removed the only consumer of the background colour on the Java side,
so this can go as well.

MozReview-Commit-ID: DJwrUVUHZ1t

--HG--
extra : rebase_source : be2b5068c57878ff556d1af16eb1df5d5a8779aa
2017-11-07 22:17:04 +01:00