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

36105 Коммитов

Автор SHA1 Сообщение Дата
Henry Chang 87034ada9c Bug 1254763 - Part 2: Test cases. r=gcp
MozReview-Commit-ID: JDjV3WUfgWW

--HG--
extra : rebase_source : 4719febe565636462d72f8837069992abaf0d454
2016-09-02 12:02:40 +08:00
Henry Chang 6e64c9ee89 Bug 1254763 - Part 1: Use per-provider directory for V4 databases. r=dimi,gcp
MozReview-Commit-ID: KZGWIcKAQyW

--HG--
extra : rebase_source : f153e87ce132f0066d6c8e21398e7abaaaff6375
2016-09-02 12:00:00 +08:00
Phil Ringnalda 36b32a22e9 Merge m-c to autoland 2016-09-05 18:10:34 -07:00
Phil Ringnalda dd636a76e8 Merge m-i to m-c, a=merge 2016-09-05 18:05:00 -07:00
Phil Ringnalda 045f9ff310 Merge m-c to autoland 2016-09-05 13:30:19 -07:00
Phil Ringnalda d7eb2fba8f Merge m-c to m-i 2016-09-05 13:13:05 -07:00
Phil Ringnalda 55c3c1efd5 Merge f-t to m-c, a=merge 2016-09-05 13:06:35 -07:00
Tom Schuster e92a8267c7 Bug 1299267 - Add additonal telemetry types. r=ckerschb 2016-09-05 20:02:52 +02:00
Mike Hommey ace23258e7 Bug 1299616 - Rearrange libxul linking such that StaticXULComponentStart always is first. r=gps
When building gtest libxul with LTO, the fact that
StaticXULComponentStart is not passed first to the linker makes the
linker pull the NSModule symbols out of all the other objects first,
presumably because linking the gtest objects (which appear first) pulls
code from the other non StaticXULComponent* objects first.

So, to make things link properly with LTO, we trick the build system
to always put StaticXULComponentStart first.

--HG--
extra : rebase_source : 7ddda118903f5845f6b6d12db2bf39cd22d67ab5
2016-09-02 07:08:16 +09:00
Thomas Nguyen 6377847c29 Bug 1299036 - Fix Intermittent toolkit/components/url-classifier/tests/mochitest/test_classifier_worker.html. r=dimi,gcp.
MozReview-Commit-ID: 3YgxgjpV7Ay

--HG--
extra : rebase_source : 7f4e8c791fac7db5b267d3b71c92f13228474e58
2016-09-02 15:01:48 +08:00
Ralph Giles 104d30ab53 Bug 1300219 - Update mp4parse to v0.5.0. r=kinetik
Result of running the update script and updating gecko's
integration crate for the layout change.

MozReview-Commit-ID: GaIMFKmPmtf

--HG--
extra : rebase_source : 0d3a2f1d211840879e562cb56afcc9ef7e38c730
2016-09-02 14:27:50 -07:00
Luca Greco 1618aa7ef4 Bug 1252215 - [webext] Fix promiseAddonStartup defined in xpcshell tests. r=kmag
MozReview-Commit-ID: BXYXHDrG6zL

--HG--
extra : rebase_source : a93d664d78ffc416d08e1bab3058be153ae560f7
2016-09-01 19:42:41 +02:00
Luca Greco c7c1214f36 Bug 1252215 - [webext] Add Embedded Extensions helper to LegacyExtensionsUtils. r=aswan,kmag
This patch introduces helper for the embedding of a webextension (and new related tests).

The new exported helpers are going to be integrated in the XPIProvider
to provide the Embedded WebExtension to the Legacy Extensions which
have enabled it in their install.rdf

MozReview-Commit-ID: 7M1DRkXjGat

--HG--
extra : rebase_source : 3226a83652b97601d9d4d34693761cfc720735a0
2016-08-29 15:56:02 +02:00
Luca Greco 9226a7b2f4 Bug 1252215 - [webext] LegacyExtensionsUtils JSM module and LegacyExtensionContext helper. r=aswan,kmag
- this new module contains helpers to be able to receive connections
  originated from a webextension context from a legacy extension context
  (implemented by the `LegacyExtensionContext` class exported from
  this new jsm module)

- two new test files (an xpcshell-test and a mochitest-browser) ensures that the LegacyExtensionContext can receive a Port
  object and exchange messages with a background page and a content script (the content script test
  is in a different test file because it doesn't currently work on android, because it needs
  the browser.tabs API and the TabManager internal helper)

MozReview-Commit-ID: DS1NTXk0fB6

--HG--
extra : rebase_source : 462d6a461167e317297d204e72c2f6773bc5c770
2016-08-24 18:31:36 +02:00
Ryan VanderMeulen 1cac8d1e6d Merge inbound to m-c. a=merge 2016-09-04 13:36:59 -04:00
Phil Ringnalda 07667e0564 Merge m-c to m-i 2016-09-03 21:59:01 -07:00
Phil Ringnalda cf8c755224 Merge m-c to autoland 2016-09-03 21:57:17 -07:00
Phil Ringnalda 946bb1cf02 Merge m-i to m-c, a=merge 2016-09-03 21:51:33 -07:00
Zibi Braniecki d654f8c12f Bug 1289951 - Add mozIntl toolkit component. r=waldo
MozReview-Commit-ID: Ad73e1XD9VD
2016-09-03 21:10:51 +02:00
Thomas Wisniewski 95c459ec9a Bug 768072 - Implement imageSmoothingEnabled and deprecate mozImageSmoothingEnabled. r=pbro,adw,bas,bz 2016-09-01 20:49:54 -04:00
Ryan VanderMeulen 1502d18249 Merge inbound to m-c. a=merge 2016-09-03 11:33:28 -04:00
Bobby Holley 90de39d448 Bug 1300287 - Move Servo_Shutdown call to nsAppRunner.cpp. r=emilio
This mirrors the location of Servo_Init. This is important because xpcshell runs
don't use nsAppRunner, and so we end up with an unpaired call to Servo_Shutdown,
which crashes.
2016-09-02 23:48:45 -07:00
Phil Ringnalda f8583f400a Back out e8c6d262e4b7 (bug 1289951) for Android failures in test_mozintl.js 2016-09-02 21:14:58 -07:00
Zibi Braniecki b9edbd29bd Bug 1289951 - Add mozIntl toolkit component. r=waldo
MozReview-Commit-ID: J34WJ9o1BKI
2016-09-03 03:20:14 +02:00
Wes Kocher 1c8f6396c3 Merge m-c to autoland, a=merge 2016-09-02 13:34:45 -07:00
Wes Kocher ee92002ede Merge inbound to m-c a=merge 2016-09-02 13:17:30 -07:00
Steve Chung 1ea8e5606c Bug 1288557 - Part 1: Replace custom exceptions dialog with usage of permissions. r=MattN
MozReview-Commit-ID: 25fD9IJIVt0

--HG--
extra : rebase_source : 883976c1311db15d96bd6100e07f0ea09f576df5
2016-08-30 16:53:03 +08:00
Felipe Gomes 7e193ad5d4 Bug 1297753 - Configure list of add-ons for e10s rollout on release 49. r=mconley
MozReview-Commit-ID: 6cVebHG2yLo

--HG--
extra : rebase_source : fac7f2dd08c675f42f520ddaa6a986b25f38ee9e
2016-09-02 16:45:12 -03:00
Bob Silverberg 0bf2cb5d79 Bug 1298508 - Problems with temporary install compatibility checks, r=kmag
Don't reject a temporary install if AddonManager.checkCompatibility is false.
Don't try to add missing info from addon to error message.
Fix up test_webextension_install.js to use equal and notEqual and pass assertion messages.

MozReview-Commit-ID: 46kxpXdWQtx

--HG--
extra : rebase_source : 2dae6f82dcaf489d2bd3eef62e0f460e008e1b88
2016-08-29 22:29:25 -04:00
Jim Mathies 42b6caf0b9 Bug 1296353 - Enable e10s with accelerated gfx for XP Users. r=felipe
MozReview-Commit-ID: 2VHpBAVbiQ0

--HG--
extra : rebase_source : a568b41b0d62ed71b9220774e2ab5d35ee78ef45
2016-09-01 14:28:04 -05:00
Michael Kaply 5a59692088 Bug 1294201. Update search plugins. r=florian
--HG--
extra : amend_source : 58a1878c5b124eeb4d47f82b4eed180e67df701a
2016-08-31 17:17:41 -05:00
Marco Bonardo d399b52d03 Bug 1150678 - Changing url of a bookmark with a keyword breaks the keyword forever. r=adw
MozReview-Commit-ID: 89Od4PKpQse

--HG--
extra : rebase_source : 4fc77a9e4c2241787041a57da10907f32250babd
2016-08-30 11:04:22 +02:00
Thom Chiovoloni ac2f0b721a Bug 1295058 - Make sync ping only submit every 12 hours or on browser shutdown r=gfritzsche,markh
MozReview-Commit-ID: 9BcMGAP0w7U

--HG--
extra : rebase_source : d55fdc6cd058a265d90044c49e0e69bff1e499d6
2016-08-31 12:50:34 -04:00
Wes Kocher c28fdd5c48 Merge inbound to m-c a=merge 2016-09-01 17:51:22 -07:00
Ryan VanderMeulen 6432bf9268 Merge m-c to autoland. a=merge 2016-09-01 12:17:16 -04:00
Ryan VanderMeulen 37b200a0c5 Merge autoland to m-c. a=merge 2016-09-01 12:11:51 -04:00
Ryan VanderMeulen 44f02640c6 Merge fx-team to m-c. a=merge 2016-09-01 11:48:45 -04:00
Sebastian Hengst e1afe71af4 Backed out changeset 27ffae997b83 (bug 1286118) for failing browser_devices_get_user_media.js. r=backout 2016-09-01 17:05:03 +02:00
Bob Owen db36da75f2 Bug 1259087: Add content process sandbox level to Telemetry Environment. r=gfritzsche
MozReview-Commit-ID: 8Irs0qvg8I9
2016-09-01 12:22:11 +01:00
Marco Bonardo 0709e17ae8 Bug 1293365 - PlacesUtils.bookmarks.reorder can introduce holes when reordering. r=kitcambridge
MozReview-Commit-ID: Gt1UVykwvQz

--HG--
extra : rebase_source : db13745bd66d2a10c6c8ccde589a3b786de68a8b
2016-08-31 11:37:09 +02:00
Bob Silverberg 87d0ea2fcb Bug 1297752 - Issue a warning when "*" is used as part of strict_min_version in a WebExtension manifest.json. r=kmag
MozReview-Commit-ID: 9BKjBe2Gigo

--HG--
extra : rebase_source : 1aabd1d437b5ed4ea1a829eacc98c6f1aa008b90
2016-08-29 15:10:38 -04:00
Jan Beich 8567ef57e9 Bug 1299485 - Unbreak build with Skia disabled by default after bug 1137305. r=glandium
MozReview-Commit-ID: 1hy9cMfhFuk

--HG--
extra : rebase_source : e03e5ddab7ce6cfe7aeaeb38bb11e215bf5bb0b7
2016-08-31 16:08:18 +00:00
Mark Banner 38ec943c53 Bug 1295606 - Remove unused Histogram definitions now that Loop has been removed. r=bsmedberg
MozReview-Commit-ID: Cd8MwyzWn8f

--HG--
extra : rebase_source : 2a653a33110a5b1507ef1545e1924d20f2c1d874
2016-08-16 16:50:05 +01:00
Rob Wu 73811a0f67 Bug 1298716 - Unify use of ExtensionTestUtils.loadExtension r=billm
MozReview-Commit-ID: DT6rx6KYODl

--HG--
extra : rebase_source : b37924fe255993006fc9a7dfa115d0527d6d0e10
2016-08-28 17:22:03 -07:00
Ryan VanderMeulen f2ae8f9bce Merge m-c to autoland. a=merge 2016-08-31 22:34:02 -04:00
Ryan VanderMeulen 3611a7607d Merge inbound to m-c. a=merge 2016-08-31 22:33:17 -04:00
Wes Kocher a6fa167a46 Merge fx-team to central, a=merge 2016-08-31 17:11:06 -07:00
Ryan VanderMeulen 41cea09ef4 Backed out changeset cb4630c8a51e (bug 1277504) because it depends on bug 1218576 which was backed out. a=me 2016-08-31 10:58:43 -04:00
Ryan VanderMeulen 435c0addca Merge autoland to m-c. a=merge 2016-08-31 09:52:43 -04:00
Kris Maglione 60459f8fe7 Bug 1265371: Refactor schema parsing to reduce cyclomatic complexity. r=bsilverberg
MozReview-Commit-ID: HzVrf4yG7hZ

--HG--
extra : rebase_source : 3e7892f8e9b6ce9d5362fd4b0ea877a5cfa235f9
2016-08-30 12:24:32 -07:00
Robert Strong 3fb6c49dbe Bug 1214421 - add more test logging to help with diagnosing. r=mhowell 2016-08-31 12:35:09 -07:00
Robert Strong dab62f3605 Bug 1299333 test code only - Fix app update test file in use checks. r=mhowell 2016-08-31 12:35:05 -07:00
William Lachance 8056e10c11 Bug 1263409 - In addon performance alert tests, poll to see if we get desired jank measurement r=Yoric
MozReview-Commit-ID: 3k6AZO5QJTp

--HG--
extra : rebase_source : dc4135589c173abd331f7ca33d1f8fdf7dce3573
2016-08-31 15:47:12 -04:00
Kris Maglione 11b59ae527 Bug 1298810: Pass Port object to listeners on native messaging ports. r=rpl
MozReview-Commit-ID: 1saUOB1jyE1

--HG--
extra : rebase_source : 8831300c38bcca9283c25049c463d2b6cf41380d
extra : histedit_source : 3171045999ce6619f5e77af328c90ab3f8fbf994
2016-08-29 13:12:16 -07:00
Kris Maglione 3e51cc7423 Bug 1299256: Fix performance issues when stripping comments from large locale files. r=rpl
MozReview-Commit-ID: H7IfBnQ4KnO

--HG--
extra : rebase_source : 1e3670e0817ab9764cdca5cecd203207c41f2987
2016-08-30 12:24:23 -07:00
Aryeh Gregor 76862dadad Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug
They are non-standard aliases for "DragEvent" and "KeyboardEvent" that
are not supported by any other UA, and we would like to drop support.
So first let's stop using them ourselves, so we can use telemetry to see
if any sites are using them.

MozReview-Commit-ID: ICC33ORa2st
2016-08-31 20:38:50 +03:00
Wes Kocher 73f495435e Merge m-c to inbound a=merge 2016-08-30 18:14:57 -07:00
Bobby Holley 2ca3aaf37c Bug 1299276 - Add a separate --enable-stylo option to control MOZ_STYLO separate from the linkage effects of --with-servo. r=froydnj 2016-08-30 17:52:41 -07:00
Wes Kocher 6536590412 Merge fx-team to central, a=merge 2016-08-30 17:51:54 -07:00
Wes Kocher 87aec7a45f Merge inbound to central, a=merge 2016-08-30 17:35:02 -07:00
Sebastian Hengst 6ae51bd97a Backed out changeset 70b7f7e885c7 (bug 1290027) for crashing in xpcshell test test_httpsuspend_wrap.js. r=backout 2016-08-30 19:58:29 +02:00
Sebastian Hengst 4417aa0415 Backed out changeset 219efbc6aadb (bug 1277504) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 2559410fb7 Backed out changeset 7d75e044ec95 (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 6bbdc8d953 Backed out changeset a7907f9f7bab (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 248a404d46 Backed out changeset ee46537edfbc (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 9150f55c5b Backed out changeset 5bb29adfd2f3 (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 6c0fe5cff9 Backed out changeset c56206f87ddf (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst 5f4ea4a2ea Backed out changeset 80df18726a87 (bug 1218576) 2016-08-30 19:58:29 +02:00
Sebastian Hengst ead0adeb47 Backed out changeset 0fa32203e30a (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst 4a66f7a213 Backed out changeset 5ecce735b1bf (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst 05c2edcf1b Backed out changeset 355d9c21953c (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst 1590d7a1a2 Backed out changeset ccbf45fbf4e8 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst ecae194a44 Backed out changeset 25905e31cba5 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst 870b8b763b Backed out changeset 009721cbd071 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst caffb53848 Backed out changeset 548b9c783ce5 (bug 1218576) 2016-08-30 19:58:28 +02:00
Sebastian Hengst 7d70b78877 Backed out changeset 9b23af2bc178 (bug 1218576) 2016-08-30 19:58:27 +02:00
Ryan VanderMeulen 8fd566e402 Merge m-c to autoland. a=merge 2016-08-30 09:57:26 -04:00
Ryan VanderMeulen 71d43e7c12 Merge inbound to m-c. a=merge 2016-08-30 09:52:55 -04:00
Iris Hsiao 114e53ff4e Backed out changeset 4a42968b790d (bug 1250901) for Mochitest M(oth) failures on OS X 2016-08-30 16:54:29 +08:00
Mike de Boer 79ac1d383d Bug 1280149 - rework and fix the positioning for range rects to work better with iframes and try better to not draw rects that are not visible from the top document. This basically means to leverage the Geometry.jsm API more and better. r=jaws
MozReview-Commit-ID: Kdr5FWzhxM4

--HG--
extra : rebase_source : 91eaa9db85faa54ac33eefacfbb54a3405d7d466
2016-08-31 09:59:56 +02:00
Mike de Boer 3052a476c3 Bug 1298438 - add modal highlighting stylesheet to each document, not only for each window. r=jaws
The reason this works is because the window object stays the same between location
changes, but the document object changes.
Since stylesheets are applied to documents, not windows, we need to make sure to
inject a stylesheet for each document, otherwise the find toolbar highlights will
look unstyled and wonky.
In bug 1279695 I made a change - to make tests pass and patch landable - to keep
track of all the things (state, mainly range sets) mapped to window objects, because
I hadn't thought of the fact that the content scripts and JSMs that are loaded in
its scope will see many different window objects. As many as there are tabs open,
actually (not counting frames).
The mistake I made there was to keep track of the state flag 'did I already install
the stylesheet?' on a per-window basis, unlike I did before. This patch corrects
this back to the way it was and should be, really.

MozReview-Commit-ID: 2t0mer2s10x

--HG--
extra : rebase_source : 6e793b695a4a86874898ca470639b60d5a91a001
2016-08-31 09:53:35 +02:00
Makoto Kato f3842d776e Bug 1298311 - Remove unused resource data for print dialog and narrate from Fennec. r=sebastian
MozReview-Commit-ID: 3nGrKVQqE3F

--HG--
extra : rebase_source : cded08082e238c93fc9a30aca80bcd5df69cafe8
2016-08-30 14:52:33 +09:00
Wes Kocher 81db6ce036 Merge m-c to autoland, a=merge 2016-08-30 18:15:33 -07:00
Ryan VanderMeulen c3bafd699d Backed out changesets 63812e8894ce and 809e880145b1 (bug 557710) for xpcshell failures. 2016-08-30 20:26:28 -04:00
Andrzej Hunt 086e5d1059 Bug 1293790 - Pre: implement AS topsites access r=grisha
MozReview-Commit-ID: 1z30naErciE

--HG--
extra : rebase_source : 5734af99f443a8a040117a02cbe4c582212a051c
2016-08-23 14:04:01 -07:00
Wes Kocher 513c6f555b Backed out 2 changesets (bug 1295762) for build bustage a=bustage CLOSED TREE
Backed out changeset b4b5fa96e8ee (bug 1295762)
Backed out changeset 30bb58fbbeb8 (bug 1295762)
2016-08-30 16:17:30 -07:00
Tom Schuster 490f44fef7 Bug 1114580 - Remove ctypes class tests. r=jorendorff 2016-08-31 00:13:10 +02:00
Wes Kocher bda25b8662 Backed out changeset 96e4aed6d414 (bug 1299276) for build bustage a=backout CLOSED TREE 2016-08-30 14:03:04 -07:00
Michael Layzell 7ebbb65581 Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj
MozReview-Commit-ID: 7fnWSc3AzlR
2016-08-30 16:18:54 -04:00
Bobby Holley e81b83c99a Bug 1299276 - Add a separate --enable-stylo option to control MOZ_STYLO separate from the linkage effects of --with-servo. r=froydnj 2016-08-30 13:12:15 -07:00
Chris H-C dab2c53450 bug 1277504 - Support aggregated child histograms in about:telemetry r=gfritzsche
Throw some process selectors in the Histograms and Keyed Histograms sections
to allow users to choose which process type's histograms they'd like to see.
2016-08-30 20:00:12 +02:00
Chris H-C e8793bd7f9 bug 1290027 - Update "main" ping docs for child telemetry aggregation. r=gfritzsche
MozReview-Commit-ID: 52ja77pxuXu
2016-08-30 20:00:08 +02:00
Robert Helmer 141464cd20 Bug 557710 - add support for system add-ons to fake testing cert r=kmag
MozReview-Commit-ID: IMGlPXKaOYx

--HG--
extra : rebase_source : 1e7b314a0146ff4dd159b03b5605c19e5180ac88
2016-08-29 21:27:04 -07:00
Robert Helmer 125ee98fef Bug 557710 - add tests for behavior when the same restartless add-on is present in multiple install locations r=aswan
MozReview-Commit-ID: Fx9psv9sufD

--HG--
extra : rebase_source : cb853ee3eab970e4ea4950965c91b3a9c5690dcd
2016-08-15 16:24:12 -07:00
Eitan Isaacson 57a244c4d9 Bug 1298436 - Don't get caught in an endless loop when narrating last paragraph. r=jaws
MozReview-Commit-ID: 7SMh0MGusgM

--HG--
extra : rebase_source : 03f3c0c9d4b3de248f39e7d013e34df0260594a3
2016-08-27 14:42:51 -07:00
Mike de Boer 7919e32b36 Bug 1296822 - ignore the scrollbar size when nsIDOMWindowUtils.getRootBounds is used when fetching the page size for the findbar. r=jaws
MozReview-Commit-ID: 8chEDzgNVsL

--HG--
extra : rebase_source : 9dade23c76e41375e078db0147b2ef1a3f6e5c1e
2016-08-27 11:43:09 +02:00
Mike de Boer 8c6203d47d Bug 1298435 - upon browser window resize, update all the rects we track for each range we found and correctly reposition all oulines atop the mask. r=jaws
MozReview-Commit-ID: 46q0hVxfczW

--HG--
extra : rebase_source : aa33f2cc5432aa61ba8074af72109d0aeaadde99
2016-08-30 13:25:58 +02:00
Sebastian Kaspari 4b882652fe Bug 1281220 - Remove about:accounts telemetry on Fennec. r=liuche
MozReview-Commit-ID: GTKaauQIDKo

--HG--
extra : rebase_source : 8547ccf947b45d23de77e61018ec4de45cc3e329
2016-08-23 16:25:19 +02:00
Gijs Kruitbosch 802a08e401 Bug 1280888 - make hash links in about:reader absolute to avoid kicking people out of reader mode unnecessarily, r=jaws
MozReview-Commit-ID: IwrPJZZXxEW

--HG--
extra : rebase_source : 6596de3105985540f9fbc0bed79b69fd42d88e0e
2016-08-24 16:49:13 +01:00
Chris H-C e443888b98 bug 1218576 - Change unused.h to Unused.h, which matters to some filesystems. r=gfritzsche
MozReview-Commit-ID: GOy5Xz2Pxta
2016-08-30 09:13:00 +07:00
Chris H-C 1434ea0202 bug 1218576 - Test child categorical histogram aggregation r=gfritzsche
It's new, it wasn't tested, and my patches broke it earlier so we should have
coverage for it.

MozReview-Commit-ID: B25bFOJHMSQ
2016-08-23 08:36:00 +07:00
Chris H-C 8646cc0945 bug 1218576 - Aggregate child categorical histograms in the parent process. r=gfritzsche
Rewrite the categorical histogram accumulation code to use the common path.
This way it gets remote accumulation for cheap.

MozReview-Commit-ID: 3q6gdSvBix
2016-08-18 14:06:00 +07:00
Chris H-C d19fab2cbd bug 1218576 - Ensure we can record before trying to record categorical histograms. r=gfritzsche
Every other Accumulate call has it :S

MozReview-Commit-ID: 8uWtADebuJ1
2016-08-16 12:42:00 +07:00
Chris H-C 809dd2d8a4 bug 1218576 - Ensure Telemetry IDs coming from IPC are valid r=gfritzsche
I saw a one-off crash on try in internal_GetHistogramByEnumId. Not reproducible
but maybe possible if we're trying to accumulate using an invalid ID. So let's
guard against that.

MozReview-Commit-ID: Ei6eTlV91mJ
2016-08-16 12:42:00 +07:00
Chris H-C 7b27816209 bug 1218576 - Ensure remaining batched telemetry is flushed on content process shutdown r=gfritzsche
On content process shutdown we send a content process ping to ensure we have
up-to-date data from the content process before it goes away. Now we need to
also flush the batched telemetry accumulations to the parent so that it can be
present in the ping.

No attempt is made to synchronize access to IPCTimerFired. It is safe to
re-enter.

No attempt is made to cancel the timer as its firing is benign.

MozReview-Commit-ID: 1gjNH9IPhKf
2016-08-16 12:41:00 +07:00
Chris H-C bbc40e0f54 bug 1218576 - Assert we're the parent process when clearing histograms. r=gfritzsche
Clear isn't generally called at all, and isn't dispatched to the parent process
for child telemetry aggregation. Clear should only be called on the parent
process.

MozReview-Commit-ID: stIutvAO6h
2016-08-16 12:41:00 +07:00
Chris H-C d395977a97 bug 1218576 - Update test_ChildHistograms for child telemetry aggregation r=gfritzsche
No more requestChildPayloads (or need for it).

MozReview-Commit-ID: AmPuT04HjWx
2016-08-16 12:40:00 +07:00
Chris H-C a1b1c4ce72 bug 1218576 - Support remote accumulation via JS histograms. r=gfritzsche
The JS histograms, too, need to dispatch their accumulations from child to
parent.

JSHistograms_Add now only supports histograms that are in gHistogramsMap or
that were created in the parent process. After bug 1288745, maybe we'll be able
to change this to be less convoluted.

MozReview-Commit-ID: 3qTH89YKbGP
2016-08-19 08:41:00 +07:00
Chris H-C c6929f17da bug 1218576 - Move aggregated child telemetry to processes.content r=gfritzsche
Take the opportunity presented through changing child telemetry accumulation
to bring the ping form closer to the ideas expressed in bug 1281795.

childPayloads still exists, but without histograms or keyedHistograms which are
now at root.processes.content.{keyedH|h}istograms. This will require coordinated
changes in the aggregator and moztelemetry libraries.

MozReview-Commit-ID: AqG2jmBBC2W
2016-08-16 12:39:00 +07:00
Chris H-C c5e2a000eb bug 1218576 - Remove requestChildPayloads r=gfritzsche
To simplify using child telemetry from the parent process, only allow child
telemetry payloads to be generated once per child process, on shut down.

This will allow us to use the child telemetry's subsession information to leave
childPayloads the way it currently is.

Will need to update test_ChildHistograms.js as it is the only consumer.

MozReview-Commit-ID: 2qSztg0QHV5
2016-08-16 12:39:00 +07:00
Chris H-C 719d3302a8 bug 1218576 - Pre-allocate child keyed histograms in the parent process r=gfritzsche
I originally thought we'd be able to avoid the previous implementation's waste
of a map full of every kind of keyed histogram. Unfortunately, other code
(TelemetrySession at the very least) depends on this (and will throw if a keyed
histogram isn't present, even if it is empty)

MozReview-Commit-ID: 8MCGVa595UB
2016-08-16 12:38:00 +07:00
Chris H-C e063705e9c bug 1218576 - Support subsession hgrams for child aggregation r=gfritzsche
The original commit didn't properly support subsession histograms, so rectify
that lapse by adding support for stripping out the base name of a histogram
when trying to determine its id.

MozReview-Commit-ID: LvUek6f5WUx
2016-08-30 09:12:00 +07:00
Chris H-C 89a2726675 bug 1218576 - Accumulate child histograms in the parent process r=froydnj
Batch the accumulations to only transmit every so often, so we don't incur
too much in the way of IPC overhead penalties.

What this doesn't do:
* remove or restructure child telemetry code to adapt to the new way
* send the telemetry anywhere
* allow for the child process to clear child histograms
* support anything but histograms (but this is expected and okay)

MozReview-Commit-ID: JnUkcmN3Ya7
2016-08-23 08:35:00 +07:00
Chris H-C ed20b63cda bug 1277504 - Support aggregated child histograms in about:telemetry r=gfritzsche
Throw some process selectors in the Histograms and Keyed Histograms sections
to allow users to choose which process type's histograms they'd like to see.
2016-08-26 08:06:00 +07:00
Chris H-C 4d65d7fb3f bug 1290027 - Update "main" ping docs for child telemetry aggregation. r=gfritzsche
MozReview-Commit-ID: 52ja77pxuXu
2016-08-29 08:20:00 +07:00
André Bargull 96b7707bfe Bug 1121938 - Implement TypedArray.prototype.toString and .toLocaleString. r=waldo 2016-08-11 09:31:22 -07:00
Sunny f4e6ea33b9 Bug 1205845 - Implement telemetry measure to track toolbox docking setting; r=jryans p=bsmedberg
MozReview-Commit-ID: 7Zl1ggZDbde
2016-08-30 10:19:29 -05:00
Fred Lin f43904382f Bug 1272849 - Skip browser_notification_2 test on linux to avoid intermittent. r=MattN
MozReview-Commit-ID: 7NYWnQsBbpG

--HG--
extra : rebase_source : 9edbd750177c8f26bf1b605840aae5fa28f148f2
2016-08-09 13:56:21 +08:00
Thomas Nguyen 90c10e0eba Bug 1201716 - Missing status check in SafeBrowsing::Merge causes SafeBrowsing malfunction. r=francois
MozReview-Commit-ID: CtF4Gczkoa1

--HG--
extra : transplant_source : %D9E%045%FF%EB%91%04%12%D3%E2%E3%E9R%15z-%01%22%8E
2016-08-24 17:15:13 +08:00
Chris H-C d88b9182b1 bug 1218576 - Ensure IPCTimer is on the main thread. r=froydnj f=gfritzsche
nsTimer fires on the thread that created the timer. An nsTimer instance should
only be manipulated on its target thread (it isn't threadsafe). IPC using
PContent must be on the main thread.

Thus, everything to do with the gIPCTimer must be on the main thread.

This also takes care of bug 1299312.

MozReview-Commit-ID: IcVRYsoX2R9
2016-09-07 08:53:00 -04:00
Chris H-C 608c587bf3 bug 1218576 - Change unused.h to Unused.h, which matters to some filesystems. r=gfritzsche
MozReview-Commit-ID: GOy5Xz2Pxta
2016-09-07 08:53:00 -04:00
Chris H-C 761d11614f bug 1277504 - Support aggregated child histograms in about:telemetry r=gfritzsche
Throw some process selectors in the Histograms and Keyed Histograms sections
to allow users to choose which process type's histograms they'd like to see.
2016-09-07 08:53:00 -04:00
Chris H-C e87bce05db bug 1218576 - Test child categorical histogram aggregation r=gfritzsche
It's new, it wasn't tested, and my patches broke it earlier so we should have
coverage for it.

MozReview-Commit-ID: B25bFOJHMSQ
2016-09-07 08:53:00 -04:00
Chris H-C ff11ceafee bug 1218576 - Aggregate child categorical histograms in the parent process. r=gfritzsche
Rewrite the categorical histogram accumulation code to use the common path.
This way it gets remote accumulation for cheap.

MozReview-Commit-ID: 3q6gdSvBix
2016-09-07 08:53:00 -04:00
Chris H-C 27ce69e88d bug 1218576 - Ensure we can record before trying to record categorical histograms. r=gfritzsche
Every other Accumulate call has it :S

MozReview-Commit-ID: 8uWtADebuJ1
2016-09-07 08:53:00 -04:00
Chris H-C ab8640761f bug 1218576 - Ensure Telemetry IDs coming from IPC are valid r=gfritzsche
I saw a one-off crash on try in internal_GetHistogramByEnumId. Not reproducible
but maybe possible if we're trying to accumulate using an invalid ID. So let's
guard against that.

MozReview-Commit-ID: Ei6eTlV91mJ
2016-09-07 08:53:00 -04:00
Chris H-C 26c492926f bug 1218576 - Ensure remaining batched telemetry is flushed on content process shutdown r=gfritzsche
On content process shutdown we send a content process ping to ensure we have
up-to-date data from the content process before it goes away. Now we need to
also flush the batched telemetry accumulations to the parent so that it can be
present in the ping.

No attempt is made to synchronize access to IPCTimerFired. It is safe to
re-enter.

No attempt is made to cancel the timer as its firing is benign.

MozReview-Commit-ID: 1gjNH9IPhKf
2016-09-07 08:53:00 -04:00
Chris H-C 5a9db54b76 bug 1218576 - Assert we're the parent process when clearing histograms. r=gfritzsche
Clear isn't generally called at all, and isn't dispatched to the parent process
for child telemetry aggregation. Clear should only be called on the parent
process.

MozReview-Commit-ID: stIutvAO6h
2016-09-07 08:53:00 -04:00
Chris H-C e39f48e377 bug 1218576 - Update test_ChildHistograms for child telemetry aggregation r=gfritzsche
No more requestChildPayloads (or need for it).

MozReview-Commit-ID: AmPuT04HjWx
2016-09-07 08:53:00 -04:00
Chris H-C 80b0990d7a bug 1218576 - Support remote accumulation via JS histograms. r=gfritzsche
The JS histograms, too, need to dispatch their accumulations from child to
parent.

JSHistograms_Add now only supports histograms that are in gHistogramsMap or
that were created in the parent process. After bug 1288745, maybe we'll be able
to change this to be less convoluted.

MozReview-Commit-ID: 3qTH89YKbGP
2016-09-07 08:53:00 -04:00
Chris H-C 826805edbb bug 1218576 - Move aggregated child telemetry to processes.content r=gfritzsche
Take the opportunity presented through changing child telemetry accumulation
to bring the ping form closer to the ideas expressed in bug 1281795.

childPayloads still exists, but without histograms or keyedHistograms which are
now at root.processes.content.{keyedH|h}istograms. This will require coordinated
changes in the aggregator and moztelemetry libraries.

MozReview-Commit-ID: AqG2jmBBC2W
2016-09-07 08:53:00 -04:00
Chris H-C 2caa28ca86 bug 1218576 - Remove requestChildPayloads r=gfritzsche
To simplify using child telemetry from the parent process, only allow child
telemetry payloads to be generated once per child process, on shut down.

This will allow us to use the child telemetry's subsession information to leave
childPayloads the way it currently is.

Will need to update test_ChildHistograms.js as it is the only consumer.

MozReview-Commit-ID: 2qSztg0QHV5
2016-09-07 08:53:00 -04:00
Chris H-C e34b5502f1 bug 1218576 - Pre-allocate child keyed histograms in the parent process r=gfritzsche
I originally thought we'd be able to avoid the previous implementation's waste
of a map full of every kind of keyed histogram. Unfortunately, other code
(TelemetrySession at the very least) depends on this (and will throw if a keyed
histogram isn't present, even if it is empty)

MozReview-Commit-ID: 8MCGVa595UB
2016-09-07 08:53:00 -04:00
Chris H-C 5bf299ef1a bug 1218577 - Support subsession hgrams for child aggregation r=gfritzsche
The original commit didn't properly support subsession histograms, so rectify
that lapse by adding support for stripping out the base name of a histogram
when trying to determine its id.

MozReview-Commit-ID: LvUek6f5WUx
2016-09-07 08:53:00 -04:00
Chris H-C 14a62ec6c8 bug 1218576 - Accumulate child histograms in the parent process r=froydnj
Batch the accumulations to only transmit every so often, so we don't incur
too much in the way of IPC overhead penalties.

What this doesn't do:
* remove or restructure child telemetry code to adapt to the new way
* send the telemetry anywhere
* allow for the child process to clear child histograms
* support anything but histograms (but this is expected and okay)

MozReview-Commit-ID: JnUkcmN3Ya7
2016-09-07 08:53:00 -04:00
Tim Huang b091b33cd2 Bug 1278037 - Part 5: Modify the ForgetAboutSite.jsm to clear a site for all originAttributes in general. r=MattN
--HG--
extra : rebase_source : d389a2e0f6dd359f90607c6ca7d9dc22352453bd
extra : histedit_source : 492dcf679cbe6e5bfa57fc81080f15178fc287ed
2016-07-21 14:50:50 +08:00
Thomas Wisniewski 756abf6cfa Bug 289714 - Do not write <parsererror> nodes for invalid XML documents in XMLHttpRequests made by web content. r=billm, r=bz
--HG--
extra : rebase_source : 4cc87bbeca140953a90b31e1fd5b32098d37a2de
2016-08-29 16:30:36 -04:00
Johann Hofmann 95395ae5d0 Bug 1286118 - Add telemetry probe to measure changes to permissions after initial prompt. r=florian
MozReview-Commit-ID: 9Y4XaY71dhh

--HG--
extra : rebase_source : 6cb6ba2f3d36670f84f96a859ce0f86a0bfe69c3
2016-07-20 12:20:43 +02:00
Johann Hofmann 3f7d436e2f Bug 1286118 - Add telemetry probe to measure changes to permissions after initial prompt. r=florian data-review=bsmedberg
MozReview-Commit-ID: 9Y4XaY71dhh

--HG--
extra : rebase_source : 73f91b2211976329f56c8b721b8d1097ef258c4b
extra : amend_source : d92576417f6d92cb477b70064b147685410e3309
2016-07-20 12:20:43 +02:00
Sebastian Hengst fdbd17ca71 Backed out changeset af5df7bd1d26 (bug 1293365) for failing modified xpcshell test test_bookmarks_reorder.js. r=backout 2016-09-01 11:37:21 +02:00
Johann Hofmann cac56e91d0 Bug 1266836 - Part 3 - Rename window to chromeWindow, clean up _getNotifyWindow in nsLoginManagerPrompter. r=MattN
MozReview-Commit-ID: GetpnTlBtxg

--HG--
extra : rebase_source : a7de8eb0e63c444534f6c8e005153416bd99513a
extra : histedit_source : d6356fc18aa98f0bf89c8a5af1976488f598a269
2016-08-30 12:31:56 +02:00
Johann Hofmann ae39fbf912 Bug 1266836 - Part 2 - Rename openerWindow to openerTopWindow. r=MattN
MozReview-Commit-ID: 3UUaWO6fkAs

--HG--
extra : rebase_source : 52605c97e1532c493421d53eadba0a074c79a386
extra : histedit_source : 097b38eec87907dfa392ebd00467191a180835db
2016-08-26 08:38:23 +02:00
Johann Hofmann f1547c7e17 Bug 1266836 - Part 1 - Fix password manager handling of popup windows in e10s. r=MattN r=liuche
MozReview-Commit-ID: OVsgkHhyg9

--HG--
extra : rebase_source : fb5a56c5e31967636112ae8ce3dcca25d5ebefec
extra : histedit_source : abbb3d0cafc96bf925773443cc28ff26d5895f0f
2016-08-30 15:47:38 +02:00
Marco Bonardo 2342e44d51 Bug 1293365 - PlacesUtils.bookmarks.reorder can introduce holes when reordering. r=kitcambridge
MozReview-Commit-ID: Gt1UVykwvQz

--HG--
extra : rebase_source : df37ec30cb52ffd1371223e2e9dba4204a388be5
2016-08-31 11:37:09 +02:00
Ryan VanderMeulen 60c3cb1548 Merge m-c to fx-team. a=merge 2016-08-31 22:37:49 -04:00
Jared Wein 97e69eb233 Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp
MozReview-Commit-ID: Duwu5vZOhtF

--HG--
extra : rebase_source : 564542010fd854c92978defba889b18a73f398f9
2016-08-31 19:28:29 -04:00
Gijs Kruitbosch 24da61daea Bug 1286389 - fix focusing if nothing is focused when panel closes, r=Enn
MozReview-Commit-ID: DzNnQZjuXK2

--HG--
extra : rebase_source : d84d49f06a275a4ab664996e144211d3cc588e3e
extra : source : 3696a22ff7a09bcc27296c0a5648e2e9afd32f67
2016-07-19 15:56:15 +01:00
Wes Kocher a2e7bd60fc Merge m-c to inbound, a=merge 2016-09-02 13:34:10 -07:00
Wes Kocher 5c55e46366 Backed out changeset d332de446548 (bug 1294650) 2016-09-02 11:02:59 -07:00
Rutuja Surve 27b6de8e73 Bug 1255843 - Add process memory reporting tool to about:performance. r=mconley
MozReview-Commit-ID: EHCkl6G3bTT

--HG--
extra : rebase_source : 2e9d711aa977e6d0313f07d28e1a2a4861b501c0
extra : source : 5ad925dd2e4e9f6943b228f0173d01278a74c2a8
2016-09-02 00:21:00 -04:00