Commit Graph

282849 Commits

Author SHA1 Message Date
Nick Alexander
59ab1804e4 Bug 1163082 - Part 2: Extract Android distribution from packaged assets rather than APK root. r=rnewman
This reads from "assets/distribution/**" in the APK and writes to
"distribution/**" in the data directory.  That output is the same, but
the input used to read from "distribution/**", which is not really
supported by modern build tooling (Gradle), which doesn't allow to
write files directly into the APK root.

I manually tested this without issue.  I see no way to add meaningful
tests to our current Robocop test suite; the long term testing
approach is to develop a new test for this functionality and only run
it against the "distribution" build type that was added in Bug
1163080.  However, that's a larger project than I have time for now.
2016-01-26 10:36:09 -08:00
Nick Alexander
406f06596d Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.
2016-01-27 12:25:04 -08:00
Nick Alexander
040223ed15 Bug 1243855 - Add Java client for interacting with autopush endpoint service. r=rnewman,sebastian
A few notes: the test is live, so I've marked it @Ignore, so that it
doesn't run during |mach gradle test|.  There's some value in mocking
the service endpoint, but this is how I verify that the server works,
so it has more value right now as a live test than a mocked test.  In
the future, that probably won't be true.

There are issues running the test locally because Robolectric doesn't
provide all the cipher suites we use in GlobalConstants: in
particular, the GCM suites aren't supported.  This may improve as
Robolectric matures, or we may add a work-around in the code (like at
http://androidxref.com/4.4.4_r1/xref/libcore/support/src/test/java/libcore/java/security/StandardNames.java#68),
or we may add a test-specific flag.  For now, I'm not going to address
it directly.

Finally, I put the code in mobile/android/services, simply because the
less that goes into base, the better our build times will be.
2016-01-29 13:47:20 -08:00
Brian Grinstead
602fba82a9 Bug 1245287 - Add toolbox API for isToolRegistered and events for tool-registered and tool-unregistered;r=jryans 2016-02-03 16:00:21 -08:00
Andrzej Hunt
39237fa17b Bug 1243307 - Post: convert AsyncTask to ThreadUtils.postToBackgroundThread r=liuche 2016-02-01 15:38:35 -08:00
Andrzej Hunt
9b1ca4ca41 Bug 1243307 - Post: clarify where onPromptFinished is run r=liuche 2016-02-01 15:37:47 -08:00
Andrzej Hunt
ca01440bdb Bug 1243307 - Part 2: Ensure homescreen shortcut creation happens on background thread r=liuche 2016-02-01 15:36:38 -08:00
Andrzej Hunt
ff01801dc7 Bug 1243307 - Part 1: Make onPromptFinished run in the UI thread again r=liuche
This seems more consistent with what Android UI callbacks do. This commit also
means all callees must be adapted to use the background thread if needed.
2016-02-01 15:07:47 -08:00
Matthew Noorenberghe
cc582d55f0 Bug 1244908 - Remove privacy.clearOnShutdown.passwords migration code. r=dolske 2016-02-03 15:26:14 -08:00
Vladan Djeric
f5b6b70bc8 Bug 1193535 - Store Heartbeat Scores in Unified Telemetry. r=MattN 2016-02-03 15:25:53 -08:00
Matthew Wein
3d7905c366 Bug 1242588 fix how tab.create handles missing URLs. r=kmag 2016-01-30 17:09:49 -08:00
Michael Comella
65c9462b35 Bug 1244293 - Don't upload telemetry if user opts out. r=mfinkle
I'm slightly concerned we're providing too much configuration information in
the debugging statements.
2016-01-29 15:21:50 -08:00
Jordan Santell
003fbd01cf Bug 1176056 - Tests for the JITOptimizations react component. r=fitzgen 2016-02-03 12:04:51 -08:00
Dão Gottwald
e3a02bd145 Backed out changeset 97c27a348f09 / bug 1241837, CLOSED TREE 2016-02-03 17:59:35 +01:00
J. Ryan Stinnett
42893a9807 Bug 1245121 - Enable JSON Viewer on RELEASE_BUILD. r=Honza 2016-02-03 09:55:17 -06:00
AJ Kerrigan
5173a3d137 Bug 1244514 - webconsole.js eslint: fix spacing and line length; r=linclark 2016-02-01 14:16:04 -05:00
David Rajchenbach-Teller
324e4d9127 Bug 1221761 - Probe.prototype.release() now swallows NS_ERROR_NOT_AVAILABLE. r=felipe
During shutdown, we may find ourselves attempting to release and shutdown a probe while the PerformanceStats service is already shutdown. In this case, since the probe is already shutdown, we can simply ignore the error.
2016-01-28 11:17:49 +01:00
Margaret Leibovic
fde5c8e182 Bug 1241566 - Put malware download protection behind a switchboard flag. r=liuche 2016-01-29 16:30:35 -05:00
Allasso Travesser
69fe7145a9 Bug 1241837 - Use proxy for browsers property in tabbrowser instead of explicit array. r=dao 2016-02-03 16:05:56 +01:00
James Long
7b30a85240 Bug 1244892 - fix unhandled promise rejection in debugger test browser_dbg_scripts-switching-03.js r=ejpbruel 2016-02-03 09:41:59 -05:00
Paolo Amadini
52d209f702 Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-02-03 12:58:03 +00:00
Marco Bonardo
b1e3341f2d Bug 1244723 - xpcshell should shutdown profile after all the registered cleanup functions, not before them. r=ted 2016-02-03 12:35:07 +01:00
Carsten "Tomcat" Book
2868eff347 Merge mozilla-central to fx-team 2016-02-03 12:29:21 +01:00
Carsten "Tomcat" Book
a636b23432 merge mozilla-inbound to mozilla-central a=merge 2016-02-03 11:59:20 +01:00
Christoph Kerschbaumer
f5dd65f29e Bug 1195173 - Test asyncopen2 security checks for stylesheets (r=bz,ehsan) 2016-02-02 20:35:42 -08:00
Christoph Kerschbaumer
8e9efe6d00 Bug 1195173 - Apply CSP to preloaded styles within layout/style/Loader.cpp (r=bz) 2016-02-02 20:35:30 -08:00
Christoph Kerschbaumer
4372ffbfa4 Bug 1195173 - Convert ExtensionProtocolHandler to use channel->Open2() (r=maglione) 2016-02-02 20:35:15 -08:00
Christoph Kerschbaumer
5a89bae2c9 Bug 1195173 - Use channel->ascynOpen2 layout/style/Loader.cpp (r=bz) 2016-02-02 20:35:02 -08:00
Sotaro Ikeda
44189c670b Bug 1241769 - Use Singleton pattern to nsScreenManagerGonk r=mwu 2016-02-02 20:37:31 -08:00
Gerald Squelart
0a34785bad Bug 1143096 - Init all WebMBufferedParser members - r=kinetik
Initialize all WebMBufferedParser members, mainly to remove compiler warnings.
'mClusterTimecode' and 'mClusterOffset' are probably genuine potential issues,
see bug 1143096 comment 2 for details.
2016-02-03 14:25:47 +11:00
Ting-Yu Lin
103832f156 Bug 1240917 - Tweak ActionBar behavior when selection is collapsed. r=snorp
* Long pressing on empty input -> show the ActionBar.
* Single tapping on input (either empty or non-empty) -> do not show the
  ActionBar.
2016-02-02 14:32:31 +08:00
Ting-Yu Lin
5327de631c Bug 1240917 - Turn off caret timeout on Fennec. r=snorp 2016-02-02 14:32:31 +08:00
Ting-Yu Lin
479e166110 Bug 1240917 - Do not show caret in empty input on Fennec. r=roc
Per request in bug 1240917 comment 15, we decided not to show caret when
single press on an empty input. This effectively reverts the work in Bug
1230582.
2016-02-02 14:32:31 +08:00
Lin Clark
9b5ff7265d Bug 1243777 - Remove skip-if lines for mulet. r=jryans 2016-02-02 08:50:00 -08:00
Matthew Noorenberghe
583d391a7b No bug - mozscreenshots: Add delays capturing for WindowSize and Tabs configurations. rs=kitcambridge
Try to avoid capturing during transitions between changes (e.g. loading throbbers and window size transitions).
2016-02-02 19:05:28 -08:00
Matthew Noorenberghe
c8890c7df8 No bug - mozscreenshots: Don't capture screenshots on Try if not explicitly indicated by the env. var. rs=kitcambridge 2016-02-02 19:05:21 -08:00
Mark Hammond
3a8e2b9d98 Bug 1238531 - ensure buttons in SyncedTabs panel always use white text. r=Gijs 2016-02-03 11:47:25 +11:00
Mark Hammond
85cf8bda88 Bug 1241715 - get Sync TPS tests working locally by tweaking observers listened for and the authentication setup. r=whimboo 2016-02-03 11:21:09 +11:00
Mark Hammond
f6b39209c3 Bug 1245005 - don't report sync errors due to the application shutting down. r=rnewman 2016-02-03 11:21:09 +11:00
Lewis Cowper
0da2c1b50f Bug 985659 - Improve usability and styling of feed button's menu, remove bookmarks menu button's "subscribe to" menuitem/submenu, r=gijs 2016-02-02 03:27:00 +00:00
Andrzej Hunt
ba6b13ff04 Bug 1240500 - Don't repeatedly create ArrayLists when searching for occurrences r=margaret 2016-02-01 17:24:28 -08:00
Tim Nguyen
9280fdbf08 Bug 1245276 - Make 'All animations' left border darker in dark theme. r=bgrins 2016-02-02 23:19:21 +01:00
Shane Caraveo
3e1e108a08 Bug 1244647 fix typeof check, r=mikedeboer 2016-02-02 14:05:34 -08:00
Jared Wein
6472188551 Bug 1245175 - Remove bottom padding on about:addons. r=ntim 2016-02-02 10:16:00 +01:00
James Long
4b8d6103c3 Bug 1244223 - fix unhandled promise rejections in debugger tests r=me 2016-02-02 16:24:59 -05:00
Patrick Brosset
ebb8b0762c Bug 1231945 - Display animation.id when it exists; r=tromey 2016-02-02 11:49:22 +01:00
Julian Descottes
41595106e9 Bug 1227135 - about:debugging : disable debug buttons if addons debugging disabled;r=ochameau
When a preference impacting about:debugging changes, the current tab will be rendered
again. Each "target" is responsible for checking if Debugging should be allowed.
If not, the debug button should be disabled. Currently only extensions/addons
can be disabled, depending on the value of the "devtools.chrome.enabled" preference

Adds a mochitest checking this scenario.
2016-01-29 00:13:48 +01:00
Andrzej Hunt
87341a135e Bug 1242666 - Support apple-touch-icon-precomposed too r=mfinkle 2016-02-01 11:25:52 -08:00
Sebastian Kaspari
9614ad9a45 Bug 1244760 - DownloadContentService: Use HttpUrlConnection instead of HttpClient. r=rnewman 2016-02-01 17:32:07 +01:00
Nicolas Chevobbe
91ce008102 Bug 1218089 - Don't set different falsy values as repeated messages in console.log();r=bgrins 2016-01-31 17:02:37 +01:00