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

22699 Коммитов

Автор SHA1 Сообщение Дата
Jan Henning a4d0b0a000 Bug 1352433 - Part 1 - Don't clear all preferences when all you need to remove is a few keys. r=sebastian
MozReview-Commit-ID: DELmDbTHNLk

--HG--
extra : rebase_source : c01a32a5db5064ffe3bf9ba9e22cb9581e13d998
2017-04-01 23:02:54 +02:00
Jan Henning 715265a62e Bug 1352433 - Part 0 - Change variable name casing for constants. r=sebastian
The shared preferences keys used for storing/retrieving the activity list data are constants, so it is a bit disconcerting to see them named like normal member variables.

MozReview-Commit-ID: GivVloU0pFv

--HG--
extra : rebase_source : e26bcabd1cdf549e8a0ee54f0e6333c76484ca24
2017-04-01 22:51:51 +02:00
Eugen Sawin fd51be56ce Bug 1346542 - [3.0] Change setState to checkAndSetState to avoid updated state override. r=me 2017-03-31 19:27:46 +02:00
Sebastian Hengst d4679cd05d Backed out changeset 15e815413234 (bug 1351980) for asserting on Android, e.g. in test_pseudoElement-get-animations.html. r=backout 2017-03-31 18:39:46 +02:00
Ehsan Akhgari a3580de587 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own; r=schien 2017-03-31 09:54:28 -04:00
Sebastian Hengst e3bcc5dcd8 Backed out 2 changesets (bug 1351980) for asserting in Android tests, e.g. test_hc_noderemovechildnode.html. r=backout
Backed out changeset fbc8e05e5251 (bug 1351980)
Backed out changeset 1c7c92033bb1 (bug 1351980)
2017-03-31 15:38:38 +02:00
Carsten "Tomcat" Book 4ac9c2ffb1 Merge mozilla-central to mozilla-inbound 2017-03-31 14:47:54 +02:00
Sebastian Hengst d722cb70d6 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own: Replace RESPATH with BINPATH to fix mobile builds. r=bustage-fix 2017-03-31 14:22:25 +02:00
Ehsan Akhgari af1cabba18 Bug 1351980 - Initialize the UserAgentOverrides.jsm module at startup and shut it down at shutdown for all Gecko applications instead of relying on each one to do it on its own; r=schien 2017-03-31 07:37:59 -04:00
Eugen Sawin 4573e30ad0 Bug 1346542 - [2.1] Fix code style. r=jchen 2017-03-31 13:12:21 +02:00
Eugen Sawin 80710c9297 Bug 1346542 - [1.2] Move state holder to GeckoView::Window and set ready state when reattaching to window. r=jchen 2017-03-31 13:12:21 +02:00
Jim Porter 60de42fd09 Bug 1222032 - Improve copy for disambiguating login update r=MattN
MozReview-Commit-ID: Ga3pybr1yGY

--HG--
extra : rebase_source : 860095960026320413a10e556cd3fa7e61889726
2017-03-16 19:14:38 -05:00
Grigory Kruglov a8810d8865 Bug 1352608 - Close a cursor after we're done with it r=eoger
Removed "final" because "safeQuery" provides terrible developer ergonomics.

MozReview-Commit-ID: 2F0XZnBM3Yv

--HG--
extra : rebase_source : 634c6f8cfc14cce8d15e2911d474086dc85c6db4
2017-03-31 20:22:06 -04:00
Wes Kocher 985bcdea84 Merge m-c to autoland, a=merge 2017-03-29 15:48:28 -07:00
Wes Kocher 8e0bc97954 Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Ralph Giles e734305b80 Bug 1351031 - Update builders to rust 1.16.0. r=mshal
Repacks of upstream builds.

For release notes see https://blog.rust-lang.org/2017/03/16/Rust-1.16.html or
https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1160-2017-03-16

MozReview-Commit-ID: 9dHGKGSbelG

--HG--
extra : rebase_source : 0fb93f9d7cc6e663f3c7eb662e29f4f0061244db
2017-03-27 13:39:15 -07:00
Ryan VanderMeulen f4a0d77ffc Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
Nevin Chen f5182bc344 Bug 1295675 - Allow app level preferences. r=mkaply,sebastian
MozReview-Commit-ID: yv97PSkL5n

--HG--
extra : rebase_source : 6231b68a2d8e9a734f639006cf48939f3087a9aa
2017-03-23 10:57:20 +08:00
Dale Harvey 7b024ea9c8 Bug 1347605 - Ensure standalone pwa's are singletons 2017-03-29 18:44:30 +01:00
Ehsan Akhgari f2a992e41a Bug 1347425 - Part 3: Remove the site-specific user agent service; r=baku,jchen
This used to be the glue layer between DOM and Necko which is no longer
being used.
2017-03-28 22:10:53 -04:00
Grigory Kruglov 7443c95aab Bug 1350196 - Part 2: Perform PRNGFixes earlier. r=rnewman, r=nalexander
MozReview-Commit-ID: 18jnRRFhyPq

--HG--
extra : rebase_source : 703dd7ab2d67e522d36130fe1815c5d2610827de
2017-03-27 18:32:54 -07:00
Grigory Kruglov 719d2c720d Bug 1350196 - Part 1: Generate IV ourselves. r=rnewman, r=nalexander
MozReview-Commit-ID: 5rR8BQRcJoR

--HG--
extra : rebase_source : 0d474e3818f8b5abfd6c5904473cf3801a98b1cb
2017-03-27 18:40:02 -07:00
Dale Harvey f36bbc62c5 Bug 1347616 - Fall back to bookmark when manifest invalid. r=sebastian 2017-03-28 21:42:22 +01:00
Edouard Oger 466b73fea5 Bug 1346061 part 3 - Trigger a sync/email-verification-check on empty FxA push message. r=Grisha,nalexander
MozReview-Commit-ID: ABUm6LZij4M

--HG--
extra : rebase_source : 4818f95bf7dbe3f1c9891f3aeb7ade4c83d58870
2017-03-22 13:10:09 -04:00
Edouard Oger 965ba52d24 Bug 1346061 part 2 - Register device on FxA on Engaged state. r=Grisha,nalexander
MozReview-Commit-ID: 3HrXePgBxg6

--HG--
extra : rebase_source : ba6f805c4f313a8c317dd71fa34511c4544f0a54
2017-03-22 13:11:34 -04:00
Edouard Oger b2e227a8e3 Bug 1346061 part 1 - Expose getSessionToken() on State. r=Grisha,nalexander
We need to access sessionToken in the Engaged state in order to perform device
registration. We expose getSessionToken() on the base State class, to allow
customers to get the sessionToken easily instead of having to downcast the
TokensAndKeysState/Engaged states.

MozReview-Commit-ID: 8s2C350noUG

--HG--
extra : rebase_source : e0bc8bf7ebfdcb7a31bb4a6ddb5b928acf7baba9
2017-03-22 13:07:00 -04:00
Julian_Chu 351526c469 Bug 1348716 - Long click to copy URL in custom tabs r=sebastian
If user long click text area of ActionBar(URL or Title), then copy
current URL to clipboard.

MozReview-Commit-ID: EdVoMiX0Gt3

--HG--
extra : rebase_source : eecd78325162bb5c0a41436b90d0e10f5669030c
2017-03-21 11:16:28 +08:00
Jan Henning 40056ad049 Bug 1349793 - Speculatively swap history clearing test order. r=sebastian
This assumes that the observed test failure was caused by the async file delete triggered by the history sanitisation in test_sessionStoreClearTabHistory being somehow delayed long enough to only take place after we had already started test_sessionStoreClearFiles.

MozReview-Commit-ID: FenpPyb4sGZ

--HG--
extra : rebase_source : 3f14e1053b043a03aac1680ee56483243b5a4045
2017-03-25 18:36:33 +01:00
Phil Ringnalda e7905e8e6d Backed out 3 changesets (bug 1348803) for failures in audio and playback browser-chrome tests
CLOSED TREE

Backed out changeset 4ac559eea9ec (bug 1348803)
Backed out changeset 2ab6e0b8aec6 (bug 1348803)
Backed out changeset f966aef934b1 (bug 1348803)
2017-03-27 21:47:02 -07:00
Alastor Wu 7509784040 Bug 1348803 - part2 : modify event name to lower case letter. r=sebastian
Other events in browser.js are all lower case letter, also change these two to make them consistent.

MozReview-Commit-ID: LkzYUo6OrEA

--HG--
extra : rebase_source : 8b134332e32cae29a1f963e604f2507433c694b8
2017-03-28 10:58:32 +08:00
Alastor Wu 31d5fff67b Bug 1348803 - part1 : move fennec-only code to android/browser.js. r=sebastian
We could register media control related event after the tab has active media.
But we still need to register "audioFocusChange" in the beginning, because it
affect every tab even the tab has no active media.

MozReview-Commit-ID: 4pBKIR8F5tV

--HG--
extra : rebase_source : fc26c98ed7b33552b4eba5b20168394b1b1a4390
2017-03-28 10:57:50 +08:00
nechen e470b697ec Bug 1329157 - Safely collect caller app information. r=frank,sebastian data-r?bsmedberg
MozReview-Commit-ID: 7oXYArRyWKY

--HG--
extra : rebase_source : 61697025808692eab1a2f78fda8d552e525ffe8c
2017-03-14 12:06:08 +08:00
maliu 612509973d Bug 1350661 - Extract layout attributes into styles in order to separate api 15 and 17 style tree, r=sebastian
__Device_Configuration__|__o_Applied_Style_______________
      ldrtl-v17    v17   v15 |
             o      o     o  |  UrlBar.Entry
              \     |     |  |
               -----o     |  |  UrlBar.V17.Entry(start/end)
                     \    |  |
                      \   o  |  UrlBar.V15.Entry(left/right)
                       \  |  |
                        --o  |  UrlBar.Base.Entry(original style)

Though Android support RTL since API level 17(JB_MR1), it's really buggy at that moment.
This patch fix a severe UI layout attribute bug, which only happen on android 4.2 in RTL language context:
  If view attributes "start/end" and "left/right" are both written in a view layout xml, they will both be applied and cause UI abnormal. In API 18 and above, "left" will be ignored if "start" also exist.

For example, as below show, alignLeft and alignStart are both exist in ImageView. On android 4.2 with RTL context, it's width will both align Left and Start(Right), cause the symptom that ImageView have the same width and cover on the view "back."
```
<ImageView android:id="@+id/url_bar_entry"
  android:layout_alignLeft="@+id/back"
  android:layout_alignStart="@+id/back"
```

MozReview-Commit-ID: JptLuWX2w15

--HG--
extra : rebase_source : ef89a31f77f56f6f4e936e20644c243abfa7239f
2017-01-16 15:32:59 +08:00
Delphine Lebédel 407f92e9cf Bug 1036978 - Localization of un-used toolkit strings shouldn't be reported by compare-locales, r=Pike
Change filter_py to only report on toolkit files referenced in
mobile/locales/jar.mn.

We ignore netwerk, security/manager, devtools/shared, services/sync
on the module level.

MozReview-Commit-ID: 4YRwZHUD1gE

--HG--
extra : rebase_source : 2613456c9c3442ba2d27468fdc106c1778273f6f
2017-03-31 11:59:28 +02:00
Wes Kocher 23ba88918a Merge m-c to autoland, a=merge 2017-03-31 17:52:17 -07:00
Michael Kaply 5608a57441 Bug 1324045 - Move mobile searchplugins into mozilla-central. r=flod
MozReview-Commit-ID: 1IpUCM2EW6U

--HG--
rename : mobile/locales/en-US/searchplugins/amazondotcom.xml => mobile/locales/searchplugins/amazondotcom.xml
rename : mobile/locales/en-US/searchplugins/bing.xml => mobile/locales/searchplugins/bing.xml
rename : mobile/locales/en-US/searchplugins/duckduckgo.xml => mobile/locales/searchplugins/duckduckgo.xml
rename : mobile/locales/en-US/searchplugins/google-nocodes.xml => mobile/locales/searchplugins/google-nocodes.xml
rename : mobile/locales/en-US/searchplugins/google.xml => mobile/locales/searchplugins/google.xml
rename : mobile/locales/en-US/searchplugins/qwant.xml => mobile/locales/searchplugins/qwant.xml
rename : mobile/locales/en-US/searchplugins/twitter.xml => mobile/locales/searchplugins/twitter.xml
rename : mobile/locales/en-US/searchplugins/wikipedia.xml => mobile/locales/searchplugins/wikipedia.xml
rename : mobile/locales/en-US/searchplugins/yahoo.xml => mobile/locales/searchplugins/yahoo.xml
extra : rebase_source : a64c41b5df51388b8b482a562449c876cba09eaf
2017-03-29 15:39:23 -05:00
brainbreaker 2baa0a9e9f Bug 1271570 - Ask for storage permission when accessing file:// uris; r=sebastian
This commit adds a check for not prompting the user in case
 the permissions have already been granted for accessing
 file:// uris

MozReview-Commit-ID: A62AUqqTJSb

--HG--
extra : rebase_source : c5109c2fede109e1942cce240e26b12a220e8574
2017-03-29 00:43:43 +05:30
Sebastian Kaspari 9df10fe34f Bug 1351295 - Add ActivityStreamPreference to moz.build. r=Grisha
MozReview-Commit-ID: LAZbc7qsoqJ

--HG--
extra : rebase_source : 30c6c838cfdfd1d5adf55f00699b6f57436655d6
2017-03-28 16:48:04 +02:00
Edouard Oger b52bdd3388 Bug 1265314 - Set tabs record lastModified to clients.lastModified. r=nalexander
MozReview-Commit-ID: 84g7WXxRwdX

--HG--
extra : rebase_source : 3b041d9f3cb0b9285b5e7bad66a8f14f9c71410e
2017-03-24 15:40:34 -04:00
Jim Chen 9a410052b9 Bug 1351964 - Use UI thread for "Tabs:TabsOpened" event; r=sebastian
Use the UI thread for handling "Tabs:TabsOpened", so we don't race with
other tab events that are already handled on the UI thread.
2017-04-05 14:23:44 -04:00
Jim Chen 926495281b Bug 1321418 - Update menu items using the correct ID; r=sebastian
Regression caused by an incorrect ID used to update menu items.
2017-04-05 14:23:44 -04:00
Jim Chen 6962d3f0f6 Bug 1351000 - 2. Separate out GeckoView chrome/JS files; r=snorp
Put GeckoView chrome content and JS module files into their own
GeckoView-specific directories, to make it easier to build separate JARs
for GeckoView and Fennec.

--HG--
rename : mobile/android/chrome/content/GeckoViewContent.js => mobile/android/chrome/geckoview/GeckoViewContent.js
rename : mobile/android/chrome/content/geckoview.js => mobile/android/chrome/geckoview/geckoview.js
rename : mobile/android/chrome/content/geckoview.xul => mobile/android/chrome/geckoview/geckoview.xul
rename : mobile/android/modules/AndroidLog.jsm => mobile/android/modules/geckoview/AndroidLog.jsm
rename : mobile/android/modules/GeckoViewContent.jsm => mobile/android/modules/geckoview/GeckoViewContent.jsm
rename : mobile/android/modules/GeckoViewModule.jsm => mobile/android/modules/geckoview/GeckoViewModule.jsm
rename : mobile/android/modules/GeckoViewNavigation.jsm => mobile/android/modules/geckoview/GeckoViewNavigation.jsm
rename : mobile/android/modules/GeckoViewProgress.jsm => mobile/android/modules/geckoview/GeckoViewProgress.jsm
rename : mobile/android/modules/GeckoViewSettings.jsm => mobile/android/modules/geckoview/GeckoViewSettings.jsm
rename : mobile/android/modules/Messaging.jsm => mobile/android/modules/geckoview/Messaging.jsm
2017-04-05 14:23:44 -04:00
Jim Chen 9be065dee7 Bug 1351000 - 1. Generate separate omni.ja for GeckoView; r=glandium
Generate a separate omni.ja for GeckoView during the packaging step,
under dist/geckoview. Define a MOZ_GECKOVIEW_JAR flag to optionally
include/exclude files in the package manifest.
2017-04-05 14:23:43 -04:00
Delphine Lebédel b09171226d Bug 1348206 - Update central list.json with latest l10n changes, r=mkaply
MozReview-Commit-ID: KxVVsXxn4hy

--HG--
extra : rebase_source : 70fea2db666f97c07f210f777d4d91cfa40dc4cb
2017-03-30 17:00:27 +02:00
Nevin Chen 950025683c Bug 1317191 - Return when onPause is called before onResume and add Telemetry ping for future debugging. r=mcomella
MozReview-Commit-ID: HsLP061zOKb

--HG--
extra : rebase_source : 5b5414ddb9fd6e4f2d688073dc1b4ab08c16b353
2017-03-21 14:16:34 +08:00
Jan Henning 55037bf730 Bug 1265818 - Part 6 - Test PresState restoring on Android, too. r=sebastian
Expand the existing test by navigating to a different page and then going back after the tab has been restored again.

Proper restoration of the zoom level for anything other than the current history entry depends on resolution of bug 1312605.

MozReview-Commit-ID: Aspg2RRcY53

--HG--
extra : rebase_source : 4c70ebc82c682878506005007798db4fda0a613e
2017-02-21 19:47:30 +01:00
Jan Henning c425149110 Bug 1265818 - Part 5 - Tidy up and improve mobile scroll position test. r=sebastian
Just as the comparable test on desktop we should use a really big document with enough space for scrolling in both Y *and* X directions. We should also randomise the scroll positions used for testing instead of hardcoding them.

MozReview-Commit-ID: 9FvaOnaKJ6

--HG--
extra : rebase_source : af57219a92a7ad84a58c186fde9bd4c60ef16a76
2017-02-20 22:25:06 +01:00
Sebastian Kaspari b464c542ca Bug 1348820 - Always collect metadata from visited pages. r=Grisha
We are going to need this in the future and starting collection even before releasing
Activity Stream will create a better experience once we turn it on.

And this flag is hard to miss. So let's just get rid of it.

MozReview-Commit-ID: 5oDzXhpQdSA

--HG--
extra : rebase_source : c96800257070af9287d5236625150dbb62985c4b
2017-03-21 12:08:30 +01:00
Sebastian Kaspari d60800bd78 Bug 1348820 - Setup A/B experiment for enabling Activity Stream in Nightly. r=Grisha
This is a bit complicated. But most of that code should go away again as soon as
we can stop shipping the opt-out preference.

With this patch we have three flags that can be controlled via Switchboard:

* activity-stream: This is our global kill switch and allows us to pull the feature
  if needed. A user has to be in this experiment to ever see activity stream. The
  goal is to enable this experiment for 100% of the Nightly audience.

* activity-stream-opt-out: This is experiment will enable the Activity Stream by
  default. The goal is to enable this experiment for 50% of the Nightly audience.

* activity-stream-settings: This experiment controls the visibility of a setting
  to enable/disable activity stream (settings -> advanced -> experimental features).
  This allows us to control whether users can opt-in or opt-out of the activity
  experiment. The goal is to enable this for 100% of the Nightly audience.

MozReview-Commit-ID: BwEoTK6QMQx

--HG--
extra : rebase_source : dbe9815127c1aa620bbc2f1623aa4726438d3285
2017-03-20 19:46:39 +01:00
Kan-Ru Chen 31ae8ff78f Bug 1194751 - Part 2. Remove unused nsIScreen::LockMinimumBrightness and related methods. r=snorp
It's not used anywhere in gecko or addons. Remove it will make
removing PScreenManager easier.

MozReview-Commit-ID: K3BHnktO7wU

--HG--
extra : rebase_source : 6f481759d1fb82d222ea6a92ebfd50dbb6cb63d5
2017-03-09 19:16:29 +08:00
Alastor Wu ba792d4c7e Bug 1347648 - part3 : only request audio focus from gecko. r=sebastian
Media control would also be displayed for non-audible media, we shouldn't
arbitrary request audio focus . Only request audio focus from gecko which know
whether the media is audible.

MozReview-Commit-ID: Ke9DCYd0Qh2

--HG--
extra : rebase_source : 6ca2f83de877495f7249ee5e7f5cf2165f6f7f6b
2017-03-27 10:59:10 +08:00
Jan Henning f271a23fd4 Bug 1328868 - Part 10 - Make about:config handle text zoom changes a bit more gracefully. r=sebastian
This means scaling the the size of the images used for buttons and making sure that at large magnifications, the toolbar's text input properly moves into its own line instead of simply overlapping the preference immediately below. We also want to make sure that the text on any buttons remains vertically centred.

MozReview-Commit-ID: 7rUf1tucAzL

--HG--
extra : rebase_source : d227729955d15bc74d7502e116d0e71b97d76828
2017-02-18 15:50:08 +01:00
Jan Henning 5433c5ddda Bug 1328868 - Part 9 - Check that zooming via "font.size.systemFontScale" actually has any effect. r=sebastian
MozReview-Commit-ID: F2YtTER17xQ

--HG--
extra : rebase_source : f3366b0547de3993231378fc9d4abf530864a366
2017-02-10 19:21:32 +01:00
Jan Henning f1b64b555f Bug 1328868 - Part 8 - Add a test to check that flipping the Android pref enables/disables font inflation. r=esawin,sebastian
A basic check that the listener is indeed operational.

MozReview-Commit-ID: 6KijcsRaScI

--HG--
extra : rebase_source : c999d7bd78101f16efffedbfddbce89c83b39f9c
2017-03-24 18:24:52 +01:00
Jan Henning e8e6742199 Bug 1328868 - Part 7 - Move MakeObserver() into head.js r=esawin
We can use this function for our upcoming test as well, so we should move it into the common header.

MozReview-Commit-ID: H5ANDAlnpmm

--HG--
extra : rebase_source : 9d873d45ec7f701bc993e3b5f676c0638d58656d
2017-02-05 17:11:02 +01:00
Jan Henning 1126c640ca Bug 1328868 - Part 6 - Remove the old font size preference and its associated code and resources. r=sebastian
MozReview-Commit-ID: EgL3WFo6mdo

--HG--
extra : rebase_source : 5f5cf02433c83408283aeffaf8fa7cde6ecb5a62
2017-02-04 23:57:57 +01:00
Jan Henning 20e720f0f1 Bug 1328868 - Part 5 - Add a Java-side listener watching the new pref and the Android system font scale. r=sebastian
The state of the switch added in Part 4 is stored in our Android-side shared preferences. For this to have any actual effect on rendering, we now add a class that is initialised when Gecko starts up and listens to changes of that particular pref.

When it is turned on, we enable font inflation and add another listener for the system font scale, which then forwards the current font scale as well as any changes to Gecko, so mobile mode pages can be scaled correspondingly as well.

When the setting is turned back off again, the system font scale listener is stopped again and the Gecko font size settings reverted back to their default values.

MozReview-Commit-ID: GyffpZTQQX8

--HG--
extra : rebase_source : 23fcadbf04505f78ff1531c5d3c212d4f98eab9e
2017-02-05 13:22:49 +01:00
Jan Henning d19eabfecf Bug 1328868 - Part 4 - Add a new switch offering to honour the system font size to Fennec's preferences. r=sebastian
MozReview-Commit-ID: HZqxl6T90mZ

--HG--
extra : rebase_source : c262913f59eb776399267f250c67c8326b2c686a
2017-02-04 23:54:17 +01:00
Jan Henning 9606419e96 Bug 1328868 - Part 0 - Remove unneeded imports. r=esawin
MozReview-Commit-ID: 5mCrZ8aOAiw

--HG--
extra : rebase_source : 05322f92fd957c602f7d07fb1e1761f5fe71d92d
2017-02-03 22:50:30 +01:00
Andrew Swan f1085e3c9d Bug 1197420 Part 1 Schema groundwork for optional permissions r=kmag
MozReview-Commit-ID: JIfPYjxjFfM

--HG--
extra : rebase_source : 511dea13ceacc25a46505165962c1b01dfcc7b6e
extra : source : 4232cbc11710c9c9e9eb8757b54140e87307274f
2017-03-24 11:10:26 -07:00
Sebastian Hengst 2b746620b0 Backed out changeset b6af7d779efc (bug 1197420) on request of developer. r=backout 2017-03-25 17:40:08 +01:00
Andrew Swan 3cbd0a58c4 Bug 1197420 Part 1 Schema groundwork for optional permissions r=kmag
MozReview-Commit-ID: JIfPYjxjFfM

--HG--
extra : rebase_source : 511dea13ceacc25a46505165962c1b01dfcc7b6e
extra : source : 4232cbc11710c9c9e9eb8757b54140e87307274f
2017-03-24 11:10:26 -07:00
Makoto Kato 4d5b7f9b2d Bug 1350169 - Part 1. Remove Android backend for Alarm API. r=snorp
After landing bug 1300884 and B2G is dead, Web Alarm API is removed.  So we should remove Android backend for Alarm API. This implementation was for B2GDroid.

MozReview-Commit-ID: ItmjOQrVSgs

--HG--
extra : rebase_source : 1844b81c515c043245c9bed034698a1904f03286
2017-03-24 10:35:38 +09:00
Phil Ringnalda 25fd452953 Backed out 5 changesets (bug 1197420) for test_ext_permissions.js and test_chrome_ext_permissions.html timeouts on Fennec
CLOSED TREE

Backed out changeset 8a0125e00903 (bug 1197420)
Backed out changeset 925e3a9499ee (bug 1197420)
Backed out changeset 46e135035f10 (bug 1197420)
Backed out changeset 440bab141509 (bug 1197420)
Backed out changeset 3e690bbe8b5a (bug 1197420)
2017-03-24 20:43:24 -07:00
Andrew Swan a0a12d8239 Bug 1197420 Part 1 Schema groundwork for optional permissions r=kmag
MozReview-Commit-ID: JIfPYjxjFfM

--HG--
extra : rebase_source : 511dea13ceacc25a46505165962c1b01dfcc7b6e
extra : source : 4232cbc11710c9c9e9eb8757b54140e87307274f
2017-03-24 11:10:26 -07:00
Carsten "Tomcat" Book 5f408d092d Merge mozilla-central to mozilla-inbound 2017-03-24 14:29:00 +01:00
Matthew Wein 32477d70c1 Bug 1329027 - Fix regression caused by bug 1300808 r=kmag
MozReview-Commit-ID: CM5cyueJcNk

--HG--
extra : rebase_source : cd24e1485959f3d8513a1d5b4dfa60cca75fe1ba
2017-03-15 15:57:38 -04:00
Iris Hsiao 985089f6a8 Backed out changeset 565c6c66205d (bug 1295675) for android-checkstyle failure
--HG--
extra : rebase_source : 83190877a5cc199fc967738b686d4157a5cf76b3
2017-03-24 11:31:35 +08:00
Samael Wang d19130f17a Bug 1303838 - Switch to existing target tab when clicking links. r=smaug
Merge "DOMServiceWorkerFocusClient" & "DOMWebNotificationClicked"
to "DOMWindowFocus" event. Utilize the event to switch tab when
loading links to an existing target tab.

MozReview-Commit-ID: Hd1NkVkrJA1

--HG--
extra : rebase_source : 745c0d66c3afd8e487c616891c0f10bd820da1fe
2017-03-23 15:59:01 +08:00
Julian_Chu f8586f5270 Bug 1336373 - CustomTabsActivity supports tint in Action Button r=sebastian
If 3-rd party app specify to use tint for Action Button, use primary
text color as the tint color for Action Button.

MozReview-Commit-ID: 3sX0MH8P0dM

--HG--
extra : rebase_source : a50256dd16675f2a329eb182c6aed9e564386315
2017-03-20 13:59:43 +08:00
Nevin Chen 5a7c44e1cd Bug 1295675 - Allow app level preferences. r=sebastian
MozReview-Commit-ID: yv97PSkL5n

--HG--
extra : rebase_source : 3c8c931e093d470606612e7a679a0f4b10978881
2017-03-23 10:57:20 +08:00
Carsten "Tomcat" Book 332688962a Merge mozilla-central to mozilla-inbound
--HG--
rename : testing/web-platform/tests/storage/interfaces.html => testing/web-platform/tests/storage/interfaces.https.html
2017-03-23 13:57:16 +01:00
Carsten "Tomcat" Book 9b6d088496 merge autoland to mozilla-central a=merge
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
Dylan Roeh b2b30c26f8 Bug 1349200 - Ensure mozglue is loaded before checking NEON compatibility in GeckoApp.onCreate(). r=jchen 2017-03-21 08:49:15 -05:00
Carsten "Tomcat" Book 62f6c37109 merge mozilla-inbound to mozilla-central a=merge 2017-03-22 14:26:27 +01:00
Nevin Chen c74aecf8f0 Bug 1329155 - Send telemetry when custom tab is used. r=sebastian data-r?bsmedberg
MozReview-Commit-ID: 2ulEeO4DPc4

--HG--
extra : rebase_source : e55048375db95946724f9c776a10fb7bc6138946
2017-02-22 14:33:22 +08:00
Gabriele Svelto 1ab1c1e41b Bug 1322611 - After a crash compute the SHA256 hash of a minidump and attach it to the crash ping; r=Ted, nchen
This patch changes the crashreporter client code as well as the crash service
code to compute a SHA256 hash of a crash' minidump file and add it to the
crash ping. The crash service code computes the hash on the fly before handing
over the crash to the crash manager; the crash manager will then add it to the
crash ping. The crashreporter client on the other hand sends the hash via the
ping it generates but it also adds it to the event file so that the crash
manager can pick it up and send it along with its own crash ping. On Fennec
the crashreporter activity takes care of computing the hash.

SHA256 hash computation uses nsICryptoHash in the crash service, the
java.security.MessageDigest class in Fennec, the bundled NSS library in the
crashreporter when running on Windows and Mac and the system-provided NSS
library under Linux. The latter is required because the crashreporter client
uses the system curl library which is linked to NSS and which would thus clash
with the bundled one if used together.

This patch introduces two new methods for the nsICrashService interface:
|getMinidumpForID()| and |getExtraFileForID()|, these reliably retrieve the
.dmp and .extra files associated with a crash and ensure the files exist
before returning. These new methods are used in the CrashService for
processing and will become the only way to reliably retrieve those files
from a crash ID.

MozReview-Commit-ID: 8BKvqj6URcO

--HG--
extra : source : a4d8291c56fcde00238ab3166bbe6af6dd602340
2017-02-16 07:36:57 +01:00
Jan Henning 1d3de902a3 Bug 1345460 - Implement FX_SANITIZE telemetry on Android. r=liuche
To gauge the impact of bug 1343995 on perceived shutdown times, we want to measure how long sanitising actually takes in practice on Android.

MozReview-Commit-ID: 3gSfT8IoO70

--HG--
extra : rebase_source : 19ffdfbf1005ae4beebaa0c9d8befea31e1aa01f
2017-03-08 20:17:06 +01:00
maliu 0f3d8554f7 Bug 1337440 - [RTL] Get drawing offset relatively when rtl and horizontal, r=sebastian
MozReview-Commit-ID: JZAnNJwxCyI

--HG--
extra : rebase_source : c8fba2c54ed9b8b9bdfb9547fe17021e69ed1b98
2017-03-22 14:55:31 +08:00
Phil Ringnalda 4a0b7c1001 Backed out changeset 5a84ab13274a (bug 1337440) for Android build bustage 2017-03-22 21:07:39 -07:00
maliu 3e39bf264a Bug 1337440 - [RTL] Get drawing offset relatively when rtl and horizontal, r=sebastian
MozReview-Commit-ID: JZAnNJwxCyI

--HG--
extra : rebase_source : 20e7104f47670446b365083a54114724c6391643
2017-03-22 14:55:31 +08:00
Jing-wei Wu fde16a6369 Bug 1339884 - Adjust DateTimePicker's upper and lower bound. r=Grisha
MozReview-Commit-ID: GuefY4Sp4wF

--HG--
extra : rebase_source : c96ea175bd479bb9a026197d32530183e5732603
2017-03-22 11:41:07 +08:00
Iris Hsiao fdb0902465 Bug 1329160 - follow up fix for android-checkstyle failure. r=me
commit cfdceed7ac0f3a01c0ba26e5cbad9bf00d7fc41d
Author: Nevin Chen <cnevinchen@gmail.com>
    add space

    MozReview-Commit-ID: G12OwXykTZx
2017-03-22 14:48:44 +08:00
maliu aad3222a91 Bug 1321981 - [RTL] ViewPager Support - part 4. Switch to RtlViewPager, r=sebastian
MozReview-Commit-ID: 2s695og8Umo

--HG--
extra : rebase_source : 783cc65585ebecc5f3a57658697f3d01985af885
2017-03-21 14:34:08 +08:00
maliu 3fc1180e7a Bug 1321981 - [RTL] ViewPager Support - part 3. Skip set current item if adapter is empty, r=sebastian
MozReview-Commit-ID: L82yxhdG5bd

--HG--
extra : rebase_source : 71615c37c4e5b4abc67d2eb92a6e4662dc59b149
2017-03-21 14:58:03 +08:00
maliu a699dea057 Bug 1321981 - [RTL] ViewPager Support - part 2. Notify dataset change with calling super, r=sebastian
MozReview-Commit-ID: LUvWH3Sq8IJ

--HG--
extra : rebase_source : 3a9a8d657619f877f0d17e8f5870113dfd87da0e
2017-03-21 14:49:40 +08:00
maliu 2f076a0ebd Bug 1321981 - [RTL] ViewPager Support - part 1. Import thirdparty RtlViewPager, r=sebastian
MozReview-Commit-ID: E3VP2SoRKTt

--HG--
extra : rebase_source : 975e73220f66ff00265082f28e1de247bf0ab3e7
2017-03-21 13:47:23 +08:00
Nevin Chen 74a6aca7ac Bug 1329160 - Send an event when warmup() is called. r=jchen,liuche,sebastian
MozReview-Commit-ID: LAz80Pt6KVV

--HG--
extra : rebase_source : aab97e5f5194ba0063d45495f566f267a3519978
2017-03-07 17:31:38 +08:00
Jan Henning 6a3517605c Bug 1346004 - Part 5 - Replace Gecko customtab tab attribute by a generic type attribute. r=sebastian
This'll allow customising context menu/session store/... behaviour in Gecko depending on the tab type, since in the future we might not only have special behaviour for custom tabs, but for web app tabs etc. as well.

MozReview-Commit-ID: LS6oGfO4KpR

--HG--
extra : rebase_source : 677a013a05cc683cae82c84864509d8f4799b474
2017-03-12 16:13:10 +01:00
Jan Henning 0c3fc3bbc6 Bug 1346004 - Part 4 - Filter non-browsing tabs from the TabsLayout/TabStrip. r=sebastian
Custom tabs etc. shouldn't show up in the main browser activity.

MozReview-Commit-ID: 1yrLZP6HJ3e

--HG--
extra : rebase_source : 6f3a1b8149d4747ef665f1a90a589940d12526a9
2017-03-11 20:48:54 +01:00
Jan Henning 82058233f4 Bug 1346004 - Part 3 - getNextTab() should fall back to browsing-type tabs if no tabs of the same type are available. r=sebastian
We always want at least one browsing type tab open to match current behaviour and assumptions built into the app, but the same doesn't hold true for other tab types. A CustomTabActivity instance e.g. only holds a single tab, so the lifetime of the tab is tied to the lifetime of the CustomTabActivity. If we're exiting the activity, we just want to close the corresponding tab without opening a new replacement for it.

Since we have to select some other tab instead in that case (so the selected tab in the tab list and the selected tab in Gecko remain in sync and so we always have a selected tab), getNextTab() therefore has to fall back to browsing-type tabs as a default if no other tabs of the same type are available.

MozReview-Commit-ID: IpvINlu5Qq9

--HG--
extra : rebase_source : 6b934209c06dd8ed2b199f92a768a37c028bb689
2017-03-11 20:57:54 +01:00
Jan Henning 8f872bf77f Bug 1346004 - Part 2 - Tabs helper functions for searching next/previous tab should take the Tab type into account. r=sebastian
MozReview-Commit-ID: DRBjBrndDWW

--HG--
extra : rebase_source : 0394f93bb767d11955b9e65fd8c91caace7235e6
2017-03-11 20:29:17 +01:00
Jan Henning 0c9a69e4ab Bug 1346004 - Part 1 - Keep track of a tab type on the Java tab object. r=sebastian
As long as the tabs are opened in the same Gecko browser window, splitting the Java UI tabs list into multiple parts breaks too many assumptions, so the easier solution is to allow setting a type attribute on each tab object, which will allow filtering of them later on.

MozReview-Commit-ID: 1PbxMkWTK47

--HG--
extra : rebase_source : ea7b82271b681e04590046a1d5cf9c2230729781
2017-03-11 20:04:07 +01:00
Jan Henning e6ea2d8f8c Bug 1346004 - Part 0 - Remove unneeded imports. r=sebastian
MozReview-Commit-ID: GsXHhrvNRSy

--HG--
extra : rebase_source : c4c0a23e5007be65465a8dde1c80f48a5f15227b
2017-03-12 16:18:48 +01:00
maliu bf7feabf64 Bug 1347476 - [RTL] Update TouchDelegate Rect for tab close button relatively, r=sebastian
MozReview-Commit-ID: 2ptzHWBVvUq

--HG--
extra : rebase_source : a8e65e3ff8328e7867812def7339a6374ac9c799
2017-03-16 11:11:13 +08:00
Julian_Chu 90c5f53183 Bug 1337238 - Involve ProgressBar to CustomTabsActivity for page loading r=sebastian
To add a progressbar to CustomTabsActivity then user knows page loading
progress.

MozReview-Commit-ID: L1Qc7Oj81bZ

--HG--
extra : rebase_source : c55813f271d3bbdaacf485809290c935d2b6ef7b
2017-03-10 15:29:35 +08:00
Julian_Chu 22ddc100d0 Bug 1337238 - Reuse some id resources in layout xml file r=sebastian
No need to create id resources for common widgets in each activities, e.g.
toolbar. Reuse id resources to make less ambiguous when invoking `findViewById`

In BrowserApp and CustomTabsActivity, both of them have ActionBar and
Progress-Bar. Let them use the same id resource.

MozReview-Commit-ID: 2jq18dwlBlm

--HG--
extra : rebase_source : 7d8d2bcb3da6969b1471e267527f27ea1bbeaab7
2017-03-10 12:39:27 +08:00
Wes Kocher b5269f8dbf Merge m-c to autoland, a=merge
MozReview-Commit-ID: BDOTGJBgUrr
2017-03-20 18:27:32 -07:00
Wes Kocher 4f5262444c Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Grigory Kruglov e7b03d35b1 Bug 1346438 - Specify X-I-U-S header value as 0 when uploading crypto/keys r=nalexander
MozReview-Commit-ID: GTcZUdvVU8E

--HG--
extra : rebase_source : 14318877ae4d52384090e99e7668e1deb19f3408
2017-03-17 19:09:43 -07:00