Commit Graph

20424 Commits

Author SHA1 Message Date
Sebastian Kaspari
6e4b1228f5 Bug 1276910 - Do not show "Add to home screen" prompt in private browsing. r=margaret
MozReview-Commit-ID: DFoMnyx4Gde

--HG--
extra : rebase_source : 4f91aea87e161fa08d07677f5c90717e7514e59c
extra : histedit_source : b8f02f27216478603d61c3f71562da74e0297e16
2016-06-01 10:02:51 +02:00
Carsten "Tomcat" Book
c2494b5883 merge mozilla-inbound to mozilla-central a=merge 2016-06-01 15:07:48 +02:00
Michael Comella
9912677a15 Bug 1277071 - Move PREF_SEQ_COUNT to CorePingBuilder. r=jonalmeida
MozReview-Commit-ID: 44R0ahE094N

--HG--
extra : rebase_source : a7283f8da674ea315f9fa0ac0dd59dead66f3e80
extra : source : e22b131d462f845529713d8a3e0612525d06b78c
2016-05-31 16:33:08 -07:00
Michael Comella
82181ad56b Bug 1270191 - Correct my previous patches to more faithfully reproduce the refactored code. r=liuche
The previous code checked:

if (env.startsWith("MOZ_DISABLE_SWITCHBOARD=")) {
    if (!env.endsWith("=")) {

So it would not pass with the empty String but my previous revision permitted
the empty string.

Practically speaking, I don't think it matters because this is only used in
remoteautomation.py where the value is 1, but better safe than sorry.

MozReview-Commit-ID: DLtmvWlQYs7

--HG--
extra : rebase_source : 3c96cf81f729911bfefcc103f46068bd9b8fb202
2016-05-31 17:25:17 -07:00
Michael Comella
1e85dedec9 Bug 1270191 - Disable telemetry upload during tests. r=grisha
MozReview-Commit-ID: GoQQRfGRvd4

--HG--
extra : rebase_source : c2d56638e078012766e8f7c9b64de6d3988e6dbc
2016-05-31 17:04:40 -07:00
Michael Comella
8fc95417b0 Bug 1270191 - Move Experiments to env var solution. r=grisha
MozReview-Commit-ID: 5Rpdyg7zpNG

--HG--
extra : rebase_source : 1642484993287d489060e95e3fbeb62232b422c6
2016-05-31 17:04:25 -07:00
Michael Comella
b50b3795da Bug 1270191 - Add IntentUtils.getEnvVarMap. r=grisha
MozReview-Commit-ID: 7ojczu4rOnD

--HG--
extra : rebase_source : f33965372fdfdb801d5f9b999c91dd591f6c856c
2016-05-31 16:48:03 -07:00
Chenxia Liu
a9a8e90f7c Bug 1276374 - Remove firstrun Content Notifications slide. r=ahunt
MozReview-Commit-ID: CIkvOZrqHwT

--HG--
extra : rebase_source : 9ed4662dd6b766536ecaef2e6e7b199d1d444cd3
2016-05-31 15:35:29 -07:00
Chenxia Liu
ca0df37914 Bug 1275782 - Disable "search-term" experiment. r=ahunt
MozReview-Commit-ID: FQY76x04Ilo
2016-05-31 15:49:51 -07:00
Kit Cambridge
02d8a1e5d9 Bug 1265593 - Forward app server keys to Autopush on Android. r=nalexander
MozReview-Commit-ID: 3J4mM1k0pcY

--HG--
extra : rebase_source : c5a33f2f7043321307da17a6915dedfac66f1fc9
extra : histedit_source : 0357740fc62df416635c90a1ad075f6ee5e492e8
2016-03-22 12:09:31 -07:00
Alastor Wu
b76ee4b13b Bug 1257738 - part2 : modify logic of requesting audio focus in Android.
MozReview-Commit-ID: AG095CIgnA5
2016-06-01 10:21:58 +08:00
Alastor Wu
fa47d77e11 Bug 1257738 - part1 : implement the audio competing mechanism.
MozReview-Commit-ID: GZw7P0kbhOa
2016-06-01 10:21:13 +08:00
Wes Kocher
6e70ed1223 Merge m-c to inbound, a=merge 2016-05-31 17:18:54 -07:00
Wes Kocher
738f9c933b Backed out changeset d51737cf083d for android reftest failures 2016-05-31 16:05:58 -07:00
Michael Comella
94f6e41492 Bug 1243305 - Only share images whose src length is not too long. r=margaret
If the src is too long, we crash!

To test this, you can use my test page:
  https://people.mozilla.org/~mcomella/test/base64.html

An alternative approach would be to prevent users from sharing base64
images altogether because the experience is slightly jarring (since the
base64 string is copied to the application rather than the image).

MozReview-Commit-ID: AQeQ0Ff6ZMB

--HG--
extra : rebase_source : f265c9c474adaeaef9dd50bde5b9f80c6d5b0f53
2016-05-20 14:10:05 -07:00
Michael Kaply
b2516f1220 Bug 1272439 - Make distribution.searchplugins.defaultLocale work on Fennec. r=margaret 2016-05-31 13:04:35 -05:00
Michael Comella
8b44ee5388 Bug 1275880 - Correct action mode styling. r=liuche
MozReview-Commit-ID: H7up9G5vlcg

--HG--
extra : rebase_source : 6c881551c530b0ce90801bf272b8a3ab0f8b35f2
2016-05-27 12:49:55 -07:00
Michael Comella
c903ed153c Bug 1275880 - Give preferences action bar the correct config & delete unused. r=liuche
MozReview-Commit-ID: DavXaecwtux

--HG--
extra : rebase_source : 557a628bdf8fe3d67de7f703d406fd43d2d41c18
2016-05-26 10:28:33 -07:00
Michael Comella
898b428762 Bug 1275880 - Consolidate gecko preferences theme to one api level. r=liuche
MozReview-Commit-ID: BscET9LeUYM

--HG--
extra : rebase_source : 676b86bd3679c41e9cb464dd2964e2dfb8f73b72
2016-05-26 09:42:35 -07:00
Carsten "Tomcat" Book
6f2926b4e4 Backed out changeset ca182106b9e6 (bug 1264815) for bustage 2016-05-31 07:05:17 +02:00
Carsten "Tomcat" Book
a52403d289 Backed out changeset 20d0b05e708b (bug 1264815) 2016-05-31 07:05:01 +02:00
Carsten "Tomcat" Book
62db018fa7 Backed out changeset d049a47c24c1 (bug 1264815) 2016-05-31 07:05:00 +02:00
danhuang1202
a4be4050b9 Bug 1272677 - Hide content width setting and line-height setting buttons in android's reader mode control panel. r=Margaret
MozReview-Commit-ID: 4AnnPTcvqzg

--HG--
extra : transplant_source : %EFf%CC%F2%99%C4%DF%26Q%BBj%CE%8A%B7py%BA%18%C3%A8
2016-05-27 17:39:48 +08:00
SUN Haitao
f2ea042b72 Bug 1264815 - Add a component to handle 'persisent-notification-click'. r=kcambridge 2016-05-12 09:28:46 +08:00
SUN Haitao
bcc1e5ad16 Bug 1264815 - Add a 'showPersistentAlertNotification' method to GeckoAppShell. r=wchen 2016-04-17 21:18:20 +08:00
SUN Haitao
f18489fcdb Bug 1264815 - Add a 'data' parameter to GeckoThread.createServices; r=jchen 2016-04-16 14:19:37 +08:00
Felipe Gomes
d2bf40b405 Bug 1273685. Further reduce the message size by limiting the size of the URI to be sent. r=Gijs
MozReview-Commit-ID: EMXYaUwnGR2
2016-05-30 19:03:16 -03:00
Jan Henning
4834308be5 Bug 810981 - Part 4 - Test session store scroll position and zoom level handling. r=margaret
MozReview-Commit-ID: 4jZ0ixoJmOO

--HG--
extra : rebase_source : eb39f09fd93d8a50d4e36c1f92667b025cf5e32d
2016-05-06 18:44:42 +02:00
Jan Henning
8268d23f01 Bug 810981 - Part 3 - Recalculate zoom level before restoring to a different screen orientation. r=kats
On pages that aren't "width=device-width" or similar, Gecko adjusts the resolution when the display dimensions change, e.g. because the device has been rotated. The session store needs to do something similar when restoring a page if the device orientation has changed since the moment the tab state was captured.

Therefore, we now include the width of the browser window in the saved zoom data and use it to scale the zoom level as necessary when restoring a tab.

MozReview-Commit-ID: LBbEquO1bZ9

--HG--
extra : rebase_source : 38465ee3f16dded1d1e953fd3cdbf31b821d4777
2016-05-18 22:53:34 +02:00
Jan Henning
c2dbf437b9 Bug 810981 - Part 2 - Save the current zoom level when scrolling. r=kats r=margaret
Since we're now recording the scroll position in the session data, it makes sense to store the zoom level as well.

To do this, we make use of the new facility introduced in bug 1270019, which allows us to provide a desired initial resolution to the MobileViewportManager. For this to work, we need to send our desired zoom level before the MVM calculates the initial page resolution, i.e. before first paint/page load. Therefore, we now have browser.js notify us of location change events, so we can set the zoom level to restore early enough.

This also means that we can no longer restore the scroll position on load, because the MobileViewportManager applies the resolution we provide it via utils.setRestoreResolution() only after the first paint or page load ( whichever happens earlier). In the latter case, our JS load event handler will run shortly before the MVM has applied the desired zoom level in its own event handling code, which means that any scroll attempt which depends on the page already being zoomed in will fail to apply.
Therefore, the scroll position restoring needs to be moved to a later point in time, i.e. in this case the "pageshow" event.

MozReview-Commit-ID: 6NtYqc8pm3N

--HG--
extra : rebase_source : a6737e5c047ab2327e3a0e52c2a1176e9248a361
2016-05-26 23:31:15 +02:00
Jan Henning
ac14326b20 Bug 810981 - Part 1 - Record current scroll position in mobile session store. r=margaret
This copies the approach we've taken for form data saving and applies it to recording the current scroll position of the page, too.

This means that after receiving a scroll event, we capture the scroll position for the top level document and all direct child frames and include it in the session store data. Because compared to the form data input events the scroll event can fire at a relatively high rate, we throttle the scroll position capturing using timeouts to run at most twice per second.

MozReview-Commit-ID: C0lBxzHav7Z

--HG--
extra : rebase_source : 325c0f92ce003ea9026e3206b4bb101db1f037a7
2016-05-18 22:24:16 +02:00
Carsten "Tomcat" Book
743296ac11 Merge mozilla-central to fx-team 2016-05-30 15:31:42 +02:00
Jan Henning
7f05689996 Bug 905223 - Part 2 - Move session data parsing into a background thread. r=jchen
Parsing the session store JSON data to restore the last session's tabs is both
- computationally relatively expensive
- involving disk I/O

therefore, we shouldn't be doing it on the main thread.

To make sure the session data is actually ready, subsequent code running from a different thread that needs to access it (loading the startup tab, the Recent Tabs panel reading the "Tabs from last time") checks that session store data processing has actually finished and waits if necessary.

MozReview-Commit-ID: EYf1fdglIrA

--HG--
extra : transplant_source : %0D%60F%B0%16%DF%7E%03%CEL%F9%15G%E0%8E%8Fl%21%EEZ
2016-04-23 22:36:46 +02:00
Jan Henning
08568edccd Bug 905223 - Part 1 - Factor out external URL calculation. r=margaret
For session data parsing, we need to know whether we were invoked with an external URL or not. Since we want to move session data parsing forward to an earlier point in time, but also continue needing that external URL info during initialize() as well, we'll factor out those calculations into their own functions which can then be called from both places.

MozReview-Commit-ID: HFlT8uxC9yz

--HG--
extra : transplant_source : %A4%AE/%F5%00P%89%95N%033%F3%C6%0E%98%A4%8A%9F%B6%2A
2016-04-23 20:08:58 +02:00
Jan Henning
8968ec7154 Bug 905223 - Part 0 - Add target API annotations to get rid of errors in Android Studio. r=margaret
Android Studio doesn't recognise our version guards and is consequentially always showing two errors in GeckoApp, which makes it more difficult to spot when you've introduced an actual error.

MozReview-Commit-ID: LpNIwHOhEWE

--HG--
extra : transplant_source : %22%86%80q%1E%CE%FE%B1%16%BF%40%DF%C0%0F%5D%CB%E0%F8%A0%8A
2016-04-23 22:29:03 +02:00
Sebastian Kaspari
a6e3c6698c Bug 1247047 - Update releng manifests to use new SDK. r=ahunt
MozReview-Commit-ID: D3cbfRAhe5l

--HG--
extra : rebase_source : 25797dbb7d76369c5b0ad4ae322835bad185fd65
2016-05-23 20:55:41 +02:00
Sebastian Kaspari
65248e9ba7 Bug 1247047 - Remove play-services-{analytics,appindexing}, no longer required by play-services-ads 8.4.0. r=ahunt
MozReview-Commit-ID: KowZ2gjzs8a

--HG--
extra : rebase_source : f639ad1107a7723cf3d7a4dcbeb7b3b64fda9504
2016-05-23 17:56:05 +02:00
Sebastian Kaspari
586f1b35ad Bug 1247047 - Add play-services-measurement, required by play-services-gcm 8.4.0. r=ahunt
MozReview-Commit-ID: 4T65x2u3LmZ

--HG--
extra : rebase_source : f0f78a031da64a8ec638e08c8f50f611930190e9
2016-05-23 17:51:27 +02:00
Jim Chen
fcea6181e7 Bug 1272557 - Delay initializing PushService and DLC; r=snorp
Delay initialization of PushService and DLC in GeckoApplication to after
the Gecko:Ready message. That way, hopefully they give up some CPU time
to other initialization tasks.
2016-05-27 14:29:46 -04:00
Jim Chen
2772cc3e2b Bug 1275371 - Add test for shift+backspace; r=esawin 2016-05-27 14:29:15 -04:00
Ryan VanderMeulen
dd7d068db8 Backed out changeset 7323e625d203 (bug 1238128) for various test failures on a CLOSED TREE. 2016-05-26 21:38:35 -04:00
Boris Zbarsky
98aa24ddc7 Bug 1275704 part 3. Remove the nsXPConnect::ReportAllJSExceptions mechanism, since it's dead code now. r=bholley 2016-05-26 19:39:03 -04:00
Thom Chiovoloni
2ac6c74c3a Bug 1238128 - Ensure that the details passed to WebChannelMessageToChrome is a string, with a whitelist for messages from existing users r=Margaret,markh,MattN
MozReview-Commit-ID: DpdJ5bUcBdQ

--HG--
extra : rebase_source : 69753093e4e7506572329a50ee1be73d2ba4285d
2016-05-06 12:23:42 -04:00
Chris Manchester
44e4ff1fb6 Bug 1275721 - Remove --enable-android-resource-constrained. r=mshal
MozReview-Commit-ID: DqL0KCkbj9r

--HG--
extra : rebase_source : 18ed93ef68ecdfbd85fb4c13c39283932c38290c
2016-05-26 11:13:58 -07:00
Michael Comella
10648eb845 Bug 1271000 - Add explanation of potential test failures in TestClientsEngineStage. r=sebastian
MozReview-Commit-ID: 98KOJvB3IXC

--HG--
extra : rebase_source : abecf108e663c0cce5aa443509e99ad04fd93b3f
2016-05-25 11:03:55 -07:00
Sebastian Hengst
5a4685ed2f Backed out changeset a38fb5ad3684 (bug 1247047) 2016-05-25 18:31:55 +02:00
Sebastian Hengst
b83d99d00b Backed out changeset fac238070399 (bug 1247047) 2016-05-25 18:31:48 +02:00
Sebastian Hengst
66a50c6061 Backed out changeset bbd294728ecc (bug 1247047) 2016-05-25 18:31:40 +02:00
Sebastian Kaspari
8cb678bf6b Bug 1247047 - Update releng manifests to use new SDK. r=ahunt
MozReview-Commit-ID: D3cbfRAhe5l

--HG--
extra : rebase_source : a8bbe3b8bbc38279bc9e65f1345bb4bbf3539bc5
2016-05-23 20:55:41 +02:00
Sebastian Kaspari
abdc8c2da2 Bug 1247047 - Remove play-services-{analytics,appindexing}, no longer required by play-services-ads 8.4.0. r=ahunt
MozReview-Commit-ID: KowZ2gjzs8a

--HG--
extra : rebase_source : 40a9a4309891063b3ca9b4b2e89133d051d6563e
2016-05-23 17:56:05 +02:00