Граф коммитов

25217 Коммитов

Автор SHA1 Сообщение Дата
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
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