Commit Graph

28508 Commits

Author SHA1 Message Date
Mark Finkle
6bbc62012c Bug 1246973 - Support clearing UI Telemetry when creating pings r=gfritzsche 2016-02-12 18:02:03 -05:00
Nick Alexander
6d4027e223 Bug 1247470 - Don't try to sign bouncer APK during Android single locale repacks. r=glandium
There's no slick way to determine that we're doing a single local
repack, and it's not worth adding a new flag just for this situation.
So let's not sign the bouncer APK if tests are disabled; since tests
are disabled during single local repack packaging, this should be
sufficient.  This makes the bouncer APK just like the Robocop APK.

MozReview-Commit-ID: AaHUEMhcqMy
2016-02-10 15:47:45 -08:00
Nick Alexander
f7269cd80a Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu
2016-02-12 10:06:40 -08:00
Carsten "Tomcat" Book
78e28b195f Backed out changeset ef81c79f6266 (bug 1249439) 2016-02-19 14:18:22 +01:00
Olli Pettay
6167684c4b Bug 1249439 - xul:browser adds itself as a strong observer to observer service, r=gijs 2016-02-19 13:10:22 +02:00
Carsten "Tomcat" Book
4f89063dcd Merge mozilla-central to mozilla-inbound 2016-02-19 12:07:49 +01:00
Louis Christie
a77bfc3d2d Bug 1238433 - Added telemetry for the proportion of dropped frames. r=cpearce, f=bsmedberg 2016-02-18 15:22:13 +13:00
Gijs Kruitbosch
7be93a5465 Bug 1244259 - wait for SafeBrowsing to have added MozEntries in initial runs of talos perf testing, r=jmaher,gcp
MozReview-Commit-ID: Dvs5RQyhfpy
2016-02-12 08:47:31 +00:00
Carsten "Tomcat" Book
cc458bb98e Merge mozilla-central to fx-team 2016-02-12 15:21:12 +01:00
Carsten "Tomcat" Book
ab1e5f44dc merge mozilla-inbound to mozilla-central a=merge 2016-02-12 15:15:17 +01:00
Carsten "Tomcat" Book
73e08a4e77 Backed out changeset 306cf0271d3e (bug 1119520) for causing merge conflicts with m-i to m-c merge 2016-02-12 15:14:36 +01:00
Carsten "Tomcat" Book
469cebaa25 merge fx-team to mozilla-central a=merge 2016-02-12 12:40:31 +01:00
Mike de Boer
cb2ff71b55 Bug 1245813: make sure that messageManager message listeners are swapped as well after chat window attach/ detach. This means that the browser_tearoff.js mochitest can be enabled again. r=mixedpuppy 2016-02-12 13:23:03 +01:00
Mike de Boer
c2501076fa Bug 1245813: add documentation to explain more about what swapDocShells does and, most importantly, does not do with respect to messageManagers. r=smaug 2016-02-12 13:23:01 +01:00
Carsten "Tomcat" Book
25b02e1520 Backed out changeset 9802a7367d48 (bug 1225743) for ES failures 2016-02-12 12:16:19 +01:00
Ryan VanderMeulen
08b59f8d68 Backed out changeset e135879cff29 (bug 1218473) to fix various Windows startup issues being experienced by some users. a=sledru 2016-02-11 13:35:48 -05:00
Carsten "Tomcat" Book
302ee59a1d Backed out changeset 6e4e5e584c32 (bug 1240848) for causing bug 1241921 to reappear 2016-02-11 15:12:51 +01:00
Carsten "Tomcat" Book
0a555533a6 merge mozilla-inbound to mozilla-central a=merge 2016-02-11 11:52:01 +01:00
Carsten "Tomcat" Book
1b78803718 merge fx-team to mozilla-central a=merge 2016-02-11 11:47:12 +01:00
Bill McCloskey
a4b98a20e4 Bug 1242013 - Record tab cache position in telemetry (r=mconley) 2016-02-11 21:39:11 -08:00
Carsten "Tomcat" Book
38b8addd44 Backed out changeset 5bf07e98c4ee (bug 1243750) for breaking Linux and OS X Nightly Builds 2016-02-10 16:08:27 +01:00
Carsten "Tomcat" Book
3847eaf3bd merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Steffen Wilberg
c072530c75 Bug 1246128: F11 displays the audio container in fullscreen instead of the browser. r=bz
MozReview-Commit-ID: IWKJvwDaFsG
2016-02-07 17:55:48 +01:00
R Kent James
1e14aff4e0 Bug 1211160 - update lastModifiedTime of distribution addons to properly sync roaming profiles, r=dtownsend 2016-02-10 10:33:37 -08:00
Gian-Carlo Pascutto
93d27418ab Bug 1150921 - Add telemetry for response codes to SafeBrowsing requests. r=francois f=bsmedberg 2016-02-10 17:59:40 +01:00
Felipe Gomes
69770f623a Bug 1246245 - Webextensions and themes should also block initial e10s rollout. r=Mossop 2016-02-11 18:47:09 -02:00
Nick Alexander
500e6635c8 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu
2016-02-03 11:18:38 -08:00
Carsten "Tomcat" Book
cd1934bb71 Merge mozilla-central to fx-team 2016-02-11 11:57:05 +01:00
Tracy Walker
5b03e7d747 Bug 1245225 - [e10s] Renabled working test cases. Remove relevant skip-if e10s in toolkit/components/thumbnails/test/browser.ini for browser_thumbnails_bg_crash_while_idle.js, browser_thumbnails_bg_no_cookies_sent.js, browser_thumbnails_bug727765.js and browser_thumbnails_capture.js. r=jimm 2016-02-05 10:18:36 -06:00
Eric Hu
34a778ced7 Bug 1244766 - Remove optional Health Report callback parameter from Places telemetry. r=gfritzsche 2016-02-04 01:25:55 +07:00
Andrew Swan
c118eae29e Bug 1236940 - Add ip property to chrome.webRequest.onCompleted callback. r=billm 2016-02-02 21:08:51 -08:00
Vince Tieu
54f1239848 Bug 524757 - "Add architecture and operating system to about:support". r=adw 2016-02-09 15:57:00 +01:00
Dave Townsend
a752390265 Bug 1244357: Use a shim around the certificate DB to allow the add-ons manager to think that add-ons are signed when they aren't. r=rhelmer
Because the add-ons manager hasn't startup up yet we can replace the certificate
database in xpcshell tests with one that claims add-ons are signed by valid
certificates even when they aren't. This allows us to run tests even in builds
where signing cannot be disabled during for the normal application.

This adds an override for all tests except those that are explicitely testing
signing.
2016-01-29 16:41:18 -08:00
Dave Townsend
d4fb4aa3b5 Bug 1244248: Cache the certificate database during startup rather than getting it everytime it is needed. r=rhelmer 2016-02-09 08:36:36 -08:00
Luca Greco
65d6f96e68 Bug 1190685 - [webext] Implements webNavigation.getFrame/getAllFrames API methods. r=kmag 2016-02-08 18:30:48 +01:00
Marco Bonardo
345570e137 Bug 1243778 - PushRecord::getLastVisit cannot rely on the Places url index anymore. r=kitcambridge 2016-02-08 14:42:07 +01:00
Carsten "Tomcat" Book
63e921a3d8 merge mozilla-inbound to mozilla-central a=merge 2016-02-09 12:02:38 +01:00
Wes Kocher
7d98434e52 Backed out changeset baf5dfffbc34 (bug 1246128) for an ESLint failure a=backout 2016-02-08 16:47:51 -08:00
Myk Melez
42a2e4cb04 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Aaron Klotz
2b397040ac Bug 1240848: Adds additional instructions to x64 detour patcher and prevents register clobbering in jmp from trampoline; r=ehsan 2016-02-03 16:21:17 -07:00
James Willcox
7a9c161c34 Bug 1245612 - Send texture usage bytes in crash reports r=bsmedberg 2016-02-08 09:18:52 -06:00
Steffen Wilberg
0d57c596a0 Bug 1246128: F11 displays the audio container in fullscreen instead of the browser. r=bz
MozReview-Commit-ID: IWKJvwDaFsG
2016-02-07 17:55:48 +01:00
J. Ryan Stinnett
e55cea1e3b Bug 1204127 - Clean up paths added after migration. r=ochameau 2016-02-08 17:32:07 -06:00
Alessio Placitelli
a111231fcb Bug 1244182 - Properly document all the fields of the main ping. r=gfritzsche 2016-02-08 06:51:00 -08:00
Chenxia Liu
84a918d554 Bug 1245368 - Add telemetry for home panel customizations. r=margaret 2016-02-04 16:14:34 -08:00
Dave Townsend
570a8ec931 Backing out c57d2020f884 for bug 1244357 due to test failures. CLOSED TREE 2016-02-08 10:18:48 -08:00
Dave Townsend
d98a43d044 Bug 1245649: Enable no-nested-ternary. r=mconley 2016-02-03 21:17:16 -08:00
Dave Townsend
4dcf69dfe4 Bug 1244357: Use a shim around the certificate DB to allow the add-ons manager to think that add-ons are signed when they aren't. r=rhelmer
Because the add-ons manager hasn't startup up yet we can replace the certificate
database in xpcshell tests with one that claims add-ons are signed by valid
certificates even when they aren't. This allows us to run tests even in builds
where signing cannot be disabled during for the normal application.

This adds an override for all tests except those that are explicitely testing
signing.
2016-01-29 16:41:18 -08:00
Dave Townsend
8691b09bc2 Bug 1236377: Ignore invalid file descriptors when loading an add-ons database written by a different OS. r=rhelmer
nsIFile descriptors use OS specific formats so when trying to read them we have
to catch any failure if the database was written by a different OS. This leaves
the _sourceBundle undefined in only one case which is guaranteed to be during
startup since xpistate.descriptor for the add-on will also be incorrect and so
the full add-on scan will be triggered. That will spot the mismatch and update
the add-on in the database with the correct descriptor.
2016-02-02 13:17:10 -08:00
Margaret Leibovic
e9ba3ecf54 Bug 1243387 - Add telemetry probe to understand how often users load reading list items when offline. r=mfinkle 2016-02-05 09:37:15 -05:00
Margaret Leibovic
39e38e1e79 Bug 1246170 - Remove about:logins histogram telemetry probes. r=mfinkle 2016-02-05 10:11:54 -05:00
Tim Nguyen
a7195e8b0d Bug 1246498 - Various clean ups to aboutNetworking.css. r=jaws 2016-02-07 18:06:26 +01:00
Phil Ringnalda
dae29e0abd Merge m-c to f-t 2016-02-06 19:17:04 -08:00
Phil Ringnalda
beba52d63c Merge m-i to m-c, a=merge 2016-02-06 19:08:33 -08:00
Matthew Noorenberghe
9fc569a58b Bug 612168 - Follow-up for test_undouninstall.js trailing whitespace. r=eslint 2016-02-06 18:15:29 -08:00
Shih-Chiang Chien
c3e400ba96 Bug 1129785 - support video sharing via Presentation API. r=mfinkle. 2016-02-06 18:15:22 -08:00
Kris Maglione
b5abe1fe8c Bug 1225715: Follow-up: Ignore unknown permissions and top-level manifest keys. r=me 2016-02-06 14:02:30 -08:00
Andrew Swan
361c05143d Bug 612168 - Handle uninstalls of restartless addons in XPIProvider. r=Mossop 2016-02-05 15:06:48 -08:00
Matthew Noorenberghe
c78f003f63 Bug 1246323 - passwordmgr: Bug 1001765 follow-up for VK_ESCAPE handling and test cleanup. r=dolske 2016-02-05 17:33:47 -08:00
Kris Maglione
66e8dc30df Bug 1234020: Part 2m - [webext] Return promises from the notifications API. r=rpl 2016-02-04 13:34:11 -08:00
Kris Maglione
6500b66487 Bug 1234020: Part 2c - [webext] Return promises from the idle API. r=rpl 2016-02-02 19:35:31 -08:00
Kris Maglione
2d769cdaa7 Bug 1234020: Part 2a - [webext] Return promises from the background page APIs. r=rpl 2016-02-02 19:14:34 -08:00
Phil Ringnalda
80c8b4cc56 Merge m-c to f-t 2016-02-05 19:45:14 -08:00
Phil Ringnalda
cf9ad27651 Merge m-i to m-c, a=merge 2016-02-05 18:41:47 -08:00
Tom Schuster
705307de45 Bug 1245141 - Use new Proxy for AddonManager.addonTypes. r=mossop 2016-02-05 19:31:08 +01:00
Kris Maglione
fcdac58ee5 Bug 1234020: Part 2l - [webext] Return promises from the alarms API. r=rpl 2016-01-29 18:58:29 -08:00
Kris Maglione
e6d871feab Bug 1234020: Part 2f - [webext] Return promises from the bookmarks API. r=evilpie 2016-02-01 18:12:45 -08:00
Kris Maglione
a901527626 Bug 1234020: Part 2e - [webext] Return promises from the storage API. r=rpl 2016-01-29 18:59:37 -08:00
Kris Maglione
90e67d2093 Bug 1234020: Part 2d - [webext] Return promises from the runtime API. r=rpl 2016-02-01 18:08:18 -08:00
Kris Maglione
4ae326c40b Bug 1234020: Part 2b - [webext] Return promises from the cookies APIs. r=evilpie 2016-02-01 18:03:37 -08:00
Mike Hommey
2412e7fe93 Followup for bug 1069556: Remove what was removed in bug 1245055. r=me 2016-02-10 10:16:07 +09:00
Mike Hommey
26cdd33c00 Bug 1246871 - Generate platform.ini with the preprocessor instead of an ad-hoc script. r=mshal 2016-02-10 10:11:58 +09:00
Ted Mielczarek
17dc55c851 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux
2016-01-27 09:39:53 -05:00
Nick Alexander
0c38561375 Bug 1234629 - Part 2: Fail packaging if bouncer APK and main APK have different permissions. r=gps
This isn't sensible for b2gdroid, but that project should never enable
the bouncer APK anyway.
2016-01-27 14:34:46 -08:00
Nick Alexander
522820bdb3 Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps
This commit produces an "install bouncer" APK which is a "hollow
shell" that looks like the main Fennec APK.  In particular, both APKs have:

* the same Android package name (application id); and
* the same set of <permission>, <uses-permission>, and <uses-feature>
  blocks in their manifests.

The bouncer APK must always have an android:versionCode smaller than
the main Fennec APK; for now, we will just bump that manually
mobile/android/bouncer/moz.build.
2016-01-27 15:28:31 -08:00
Wes Kocher
d4324cbe88 Backed out 2 changesets (bug 1232222) for xpcshell bustage
Backed out changeset 06bc151231a5 (bug 1232222)
Backed out changeset 38ba7c48145e (bug 1232222)
2016-02-05 16:29:00 -08:00
Kris Maglione
2bc18ace20 Bug 1234020: Part 3 - [webext] Remove promise<->callback compatibility workarounds. r=billm 2016-01-25 16:06:08 -08:00
Kris Maglione
fa1742c123 Bug 1234020: Part 2h.1 - [webext] Convert async API errors to rejected promises. r=billm 2016-02-10 17:01:38 -08:00
Kris Maglione
dfad78cdb2 Bug 1244474: [webext] Part 2 - Make extra manifest properties/permissions warnings instead of errors. r=billm 2016-01-30 14:32:36 -08:00
Kris Maglione
2930506e73 Bug 1244474: [webext] Part 1 - Add "deprecated" property support to schema validator. r=billm 2016-02-10 16:32:58 -08:00
Kris Maglione
68e45beb06 Bug 1213895: Part 2 - Do not use ellipsis in cropped toolbarbutton badge text. r=bwinton 2016-02-08 14:35:55 -08:00
Robert Helmer
c03408de22 Bug 1232222 - Provide telemetry environment data on which addons are system addons. r=gfritzsche 2016-01-25 14:19:52 -08:00
Robert Helmer
928e2cb2c5 Bug 1232222 - Expose isSystem flag if add-on is a system add-on. r=Mossop 2016-01-25 12:35:24 -08:00
Dave Townsend
381b5bc3ad Bug 1244302: Remove the add-ons selection UI. 2016-02-02 09:15:59 -08:00
Jeffrey Tran
6f2fc4ee11 Bug 1108019 - Avoid console exception spew from nsPlacesAutoComplete.js. r=mak 2016-02-10 15:30:23 +01:00
Georg Fritzsche
15273c23b9 Bug 1247264 - Update the Histogram bucket limit error message to point to the Telemetry team. r=chutten 2016-02-10 15:19:37 +01:00
Georg Fritzsche
79ab24ea1d Bug 1247258 - Use Array.prototype.includes in Telemetry code. r=dexter 2016-02-10 15:19:37 +01:00
Carsten "Tomcat" Book
e3a57dfbae Merge mozilla-central to fx-team 2016-02-10 14:30:05 +01:00
Mark Banner
ecc2370542 Bug 1245373 - Remove obsolete Loop histograms - room context info and sharing state changes. blanket-rs=data-stewards for removals. 2016-02-10 11:21:25 +00:00
Andrew Swan
e40f02b580 Bug 1156826 - Implement browser.runtime.setUninstallURL(). r=kmag 2016-02-08 16:00:25 -08:00
Dave Townsend
e5fd70477e Bug 1249074: Don't offer existing sideloaded add-ons to users when creating a new profile. r=rhelmer
MozReview-Commit-ID: 7pnZhEvGRfj
2016-02-17 11:06:00 -08:00
Milan Sreckovic
718c1f90fb Bug 1240160: Add the TimeStamp based uptime value to crash reports, tagging it as UptimeTS, to differentiate from an existing Uptime value. A bit of additional code, avoiding the usage of C libraries to format some strings and a way to gtest these. r=BenWa,ted.mielczarek carrying ted.mielczarek review for the exception handler changes.
MozReview-Commit-ID: 12pRuD7agIG
2016-02-17 17:44:21 -05:00
Kit Cambridge
6bc2b9b021 Bug 1206560 - Show the site favicon in XUL notifications. r=jaws
MozReview-Commit-ID: Fe3R91icOuc
2016-01-08 12:53:34 -07:00
Kit Cambridge
0800e490a2 Bug 1224785, Part 1 - Implement alert favicons backend. r=wchen
MozReview-Commit-ID: Day8Hj8lT1f
2016-01-07 13:15:55 -07:00
Mike Shal
8660ef178a Bug 1243750 - Install all SDKs into sdk/; r=glandium 2016-01-29 14:52:52 -05:00
Blake Kaplan
a9dc5fef4d Bug 1245723 - Fix typo. r=typo 2016-02-09 15:01:29 -08:00
Blake Kaplan
c1a453289a Bug 1245723 - Make crashreporter browser-chrome tests e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
Blake Kaplan
7b2eefa8d7 Bug 1245723 - Make browser_bug680727 e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
Blake Kaplan
cd053ad3e6 Bug 1245723 - Make the satchel browser-chrome test e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
Mike Hommey
ed1c39fba6 Bug 1246874 - Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level. r=mshal 2016-02-10 07:39:30 +09:00
Nicholas Nethercote
867c012a9d Bug 1205358 - Fix up nsUrlClassifierPrefixSet memory reporting. r=gcp.
This patch reverts the "measure-in-advance" approach added in part 1 of bug
1050108 -- because that doesn't interact well with DMD -- and adds locking to
avoid races between the url-classifier thread and the main thread.
2016-02-10 08:30:48 +11:00
Gijs Kruitbosch
691891ad9b Bug 1243353 - allow HTML in-content checkboxes to have focus and style them appropriately, r=jaws 2016-02-01 21:45:22 +00:00
J. Ryan Stinnett
0373066d4a Bug 1245251 - Repair add-on manager for external XUL apps. r=Mossop 2016-02-05 09:56:15 -06:00
Felipe Gomes
4594579039 Bug 1230196 - Allow release channel to run e10s. r=billm 2016-02-05 13:27:12 -02:00
Nick Fitzgerald
f1fc6cfdf3 Bug 1221619 - Add telemetry to memory tool. r=jsantell, data-review=bsmedberg 2016-02-03 15:17:00 +01:00
Nigel Babu
2682409fe4 Backed out 10 changesets (bug 1234629, bug 1233882) for bustage on Android rc tests
Backed out changeset 9aa32d9a25df (bug 1234629)
Backed out changeset d73d36c9619b (bug 1234629)
Backed out changeset a7f63b3721cd (bug 1233882)
Backed out changeset c79f4a8c3e86 (bug 1234629)
Backed out changeset 400c030d3c01 (bug 1234629)
Backed out changeset 54a3d0851bc6 (bug 1234629)
Backed out changeset f80912ecfa87 (bug 1234629)
Backed out changeset 50bcadca2131 (bug 1234629)
Backed out changeset aaa420ed66d7 (bug 1234629)
Backed out changeset 7a62e97f07c2 (bug 1234629)
2016-02-05 15:42:28 +05:30
Dave Townsend
848229ab45 Bug 1245649: Enable no-negated-in-lhs, no-native-reassign, no-func-assign and no-labels. r=MattN 2016-02-03 20:47:08 -08:00
Dave Townsend
71be6979b2 Bug 1245649: Turn on use-isnan, no-unexpected-multiline, no-octal and no-self-compare. r=MattN 2016-02-03 18:21:30 -08:00
Dave Townsend
672da226a5 Bug 1245649: Turn on no-irregular-whitespace and no-mixed-spaces-and-tabs. r=jaws 2016-02-03 18:09:49 -08:00
Dave Townsend
f800a9c4ac Bug 1245649: Turn on valid-typeof, no-invalid-regexp, no-empty-pattern and no-empty-character-class. r=felipe 2016-02-03 17:38:13 -08:00
Dave Townsend
4dd6b34d65 Bug 1245649: Turn on no-extra-semi. r=markh 2016-02-03 17:27:36 -08:00
Dave Townsend
309dc8a792 Bug 1245649: Turn on linebreak-style. r=Gijs 2016-02-03 17:04:56 -08:00
Dave Townsend
db523ac819 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
Dave Townsend
dd99c04a73 Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe 2016-02-03 13:12:18 -08:00
Nick Alexander
bd7c9cf824 Bug 1234629 - Part 2: Fail packaging if bouncer APK and main APK have different permissions. r=gps
This isn't sensible for b2gdroid, but that project should never enable
the bouncer APK anyway.
2016-01-27 14:34:46 -08:00
Nick Alexander
a390c29b80 Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps
This commit produces an "install bouncer" APK which is a "hollow
shell" that looks like the main Fennec APK.  In particular, both APKs have:

* the same Android package name (application id); and
* the same set of <permission>, <uses-permission>, and <uses-feature>
  blocks in their manifests.

The bouncer APK must always have an android:versionCode smaller than
the main Fennec APK; for now, we will just bump that manually
mobile/android/bouncer/moz.build.
2016-01-27 15:28:31 -08:00
Nick Alexander
61ddcc0a51 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
Wes Kocher
c3799c8915 Backed out changeset 69ec780e039c (bug 1245225) for enabling a bunch of tests that frequently fail CLOSED TREE 2016-02-04 11:17:03 -08:00
Mike de Boer
f72d46f1cc Bug 1154277: Part 2 - support running Social API documents to run in a remote browser, i.e. the content process. f=mixedpuppy, r=Standard8 2016-02-04 12:50:06 +01:00
Carsten "Tomcat" Book
2a07da30de Merge mozilla-central to fx-team 2016-02-04 12:08:00 +01:00
Carsten "Tomcat" Book
f84c32592e merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Alexandre Poirot
888f223469 Bug 1214352 - Add telemetry for Scratchpad as top level window. r=jryans,p=bsmedberg 2016-02-04 02:20:55 -08:00
Nick Alexander
212a46e40e Backed out 2 changesets (bug 1163082) for Robocop rc1 failures.
Backed out changeset baf25be8d491 (bug 1163082)
Backed out changeset e228040a044b (bug 1163082)
2016-02-03 23:15:00 -08:00
David Rajchenbach-Teller
05b949b15f Bug 1245371 - PERF_MONITORING_SLOW_ADDON_* should not expire in Firefox 49. r=Yoric 2016-02-03 18:41:12 +01:00
Tracy Walker
89ed8c18ef Bug 1245225 - [e10s] Renabled working test cases. Simple case of removing relevant skip-if e10s in toolkit/components/thumbnails/test/browser.ini for browser_thumbnails_bg_crash_during_capture.js, browser_thumbnails_bg_crash_while_idle.js, browser_thumbnails_bg_no_cookies_sent.js, browser_thumbnails_bug727765.js and browser_thumbnails_capture.js. r=jimm 2016-02-02 13:49:18 -06:00
David Rajchenbach-Teller
a0c73a47cb Bug 1142937 - AddonWatcher now communicates through nsIObserverService. r=felipe
The current API of AddonWatcher only supports a single callback. That's pretty unfriendly to testing, debugging, add-ons, etc.

This patch replaces the mechanism with a notification through the nsIObserverService.
2016-01-27 13:34:58 +01:00
Mark Finkle
f38e40bb17 Bug 1227662 - Video background is white instead of textured gray r=margaret 2016-02-04 02:44:57 -05: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
Vladan Djeric
f5b6b70bc8 Bug 1193535 - Store Heartbeat Scores in Unified Telemetry. r=MattN 2016-02-03 15:25:53 -08: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
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
Carsten "Tomcat" Book
a636b23432 merge mozilla-inbound to mozilla-central a=merge 2016-02-03 11:59:20 +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
Margaret Leibovic
770a94c393 Bug 1244727 - Remove expired histogram probes. r=mfinkle 2016-02-01 10:02:53 -05:00
Margaret Leibovic
60ff557e83 Bug 1244704 - Create a more granular BOOKMARKS_COUNT probe for mobile. r=mfinkle 2016-02-01 09:58:03 -05:00
Margaret Leibovic
50c45752af Backed out changeset 5a593c624332 2016-02-02 10:07:55 -05:00
Margaret Leibovic
4e4079ce84 Backed out changeset cd18c8af8b56 2016-02-02 10:06:52 -05:00
Margaret Leibovic
b841a69d27 Bug 1244727 - Remove expired histogram probes. r=mfinkle 2016-02-01 10:02:53 -05:00
Margaret Leibovic
d3d5545a8f Bug 1244704 - Create a more granular BOOKMARKS_COUNT probe for mobile. r=mfinkle 2016-02-01 09:58:03 -05:00
Carsten "Tomcat" Book
42bc85234d Merge mozilla-central to fx-team 2016-02-02 11:54:43 +01:00
Carsten "Tomcat" Book
9468a26fac merge mozilla-inbound to mozilla-central a=merge 2016-02-02 11:50:53 +01:00
Jean-Yves Avenard
91b04a5c80 Bug 1244523: [mp4] P2. Have sniffer recognise ftyp qt subtype. r=cpearce 2016-02-02 16:27:47 +11:00
Anthony Zhang
7ebea8ea7b Bug 1242777 - Expose child process hang stats to Javascript. r=chutten
What it does:

Adds a new function, TelemetrySession.getChildThreadHangs(), which returns a promise resolving to an array of threadHangStats [1], one per process.

Note that processes that spawn or die while the function's promise is created but not resolved may be excluded from the final result.

How we do this:

1. Parent sends a MESSAGE_TELEMETRY_GET_CHILD_PAYLOAD message to each child, promising the results of these messages.
2. Child processes respond to parent with a MESSAGE_TELEMETRY_THREAD_HANGS, which contains BHR stats in the payload.
3. Parent combines all the child responses together and resolves the promise.

Plus a bunch of synchronization stuff and handling of edge cases since the number of child processes can change at any time.

Also, there is a 200ms timeout since we can't handle all of these cases. Specifically, when a child dies without responding, after all other child processes have responded.

Why we do this:

* We can technically get thread hang stats by retrieving Telemetry pings (see requestChildPayloads() in TelemetrySession for details), but this is very slow and can only be done for one process at a time.
* TelemetrySession is responsible for various Telemetry IPC-related tasks, and so is a natural place to expose this function (i.e., the function blends in well with the rest of the API).
* Statuser [2] uses this for quickly obtaining child process BHR stats. This allows us to get realtime hang monitoring for child processes.

[1]: https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/nsITelemetry.idl#146
[2]: https://github.com/chutten/statuser
2016-01-28 13:52:07 -05:00
Kris Maglione
ed43865c55 Bug 1231819: [webext] Implement the captureVisibleTab API. r=billm 2016-01-25 17:48:54 -08:00
Kris Maglione
592ffd1f56 Bug 1234020: Part 1 - [webext] Add initial binding-level promise<->callback support. r=billm 2016-02-01 19:20:13 -08:00
Kris Maglione
fd9073aacd Bug 1244805: [webext] Don't resolve relative URLs in manifests unless extension is running. r=billm 2016-02-01 11:02:02 -08:00
Tim Nguyen
f2a42ce90e Bug 1242073 - Tweaks to about:networking. r=jaws 2016-02-01 19:55:07 +01:00
Wes Kocher
b914b5fb73 Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage 2016-02-01 08:25:19 -08:00
Paolo Amadini
40cb6baf8e Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-01-30 18:53:56 +00:00