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

547320 Коммитов

Автор SHA1 Сообщение Дата
Alejandro Rodriguez Salamanca d0e7a5b995 Bug 1344723 - Use the prefs defined in TelemetryUtils.jsm in TelemetryController.jsm. r=dexter 2017-07-19 01:14:00 +02:00
Ting-Yu Chou a4c77b8ab9 Bug 1363959 - Compare jsid equality instead of string comparison in XrayResolveOwnProperty(). r=bholley
MozReview-Commit-ID: LFK5hR2RBGF

--HG--
extra : rebase_source : 1aa34b9998840302574f23c00d15ec713f70dcde
2017-07-20 15:12:03 +08:00
Shawn Huang 5258e1e147 Bug 1222284 - Part 3: Enable test browser_permissionsPromptWorker.js again on mac, r=btseng 2017-07-20 15:10:39 +08:00
Shawn Huang 3fba265811 Bug 1222284 - Part 2: Replace setFinishedCallback with waitForMessage for browser tests, r=btseng
For all tests depend on testFinishedCallback() function, the following had been changed:
* waitForExplicitFinish() will be replaced with add_task().
* gBrowser.selectedBrowser.addEventListener() will be replaced with waitForMessage().
* testFinishedCallback, testResult, and testException will be unified to testResult.
2017-07-20 15:10:30 +08:00
Shawn Huang 4841b5cf60 Bug 1222284 - Part 1: Replace setFinishedCallback with waitForMessage, r=btseng
setFinishedCallback() might have the same race issue as previously bug 1324163 resolved.
- testFinishedCallback will be replaced with waitForMessage() in head.js.
- testResult, and testException will be unified to testResult.
2017-07-20 15:10:24 +08:00
Mark Hammond 0a71b1b551 Bug 1361285 - add new addresses and credit-cards engines to about:preferences. r=eoger
MozReview-Commit-ID: GOxkmdKCVFt
2017-07-20 16:50:41 +10:00
Kit Cambridge 61c2a1e1de Bug 1363995 - Implement autofill record reconciliation. r=seanlee,lchang,markh
MozReview-Commit-ID: 5Yvr0M4CuyE
2017-07-20 16:50:41 +10:00
Kit Cambridge cf8e21261c Bug 1377246 - Move Sync deduping logic into profile storage. r=markh,seanlee
MozReview-Commit-ID: IdHIg79hboq
2017-07-20 16:50:41 +10:00
Kit Cambridge 4953d00b12 Bug 1377246 - Always filter Sync metadata from profiles. r=markh,lchang
We don't want to expose Sync metadata via `{rawData: true}` for two
reasons. First, Sync's `createRecord` method passes this option to
filter computed fields. We don't want to include computed fields in
the record, but we also don't want to upload the Sync metadata.
Second, `_clone` uses a shallow copy, so the `_sync` object can still
be mutated.

The only callers that rely on `{rawData: true}` returning `_sync` are
tests, so we can add a test-only helper instead of exposing the
object.

MozReview-Commit-ID: DudYwSiEgJE
2017-07-20 16:50:41 +10:00
Thom Chiovoloni 2ae128c103 Bug 1374500 - Add a new sync engine for addresses and credit-cards. r=markh,kitcambridge
MozReview-Commit-ID: BcwS86YhfBc
2017-07-20 16:50:41 +10:00
Bob Owen 46f82043fb Bug 1366694 Part 4: Change Windows content process sandbox level to 3 on Nightly. r=jimm 2017-05-23 15:34:58 +01:00
Bob Owen b4239707cf Bug 1366694 Part 2: Don't run sandbox file system test in DEBUG on Windows. r=jimm
This is because in DEBUG mode we currently give full access to TEMP dir
for logging purposes and the temporary profile is created in the TEMP dir.
2017-07-20 07:50:48 +01:00
Bob Owen dc46549cd6 Bug 1366694 Part 1: Allow user handles in the content process job in DEBUG builds. r=jimm 2017-07-07 15:51:17 +01:00
Bevis Tseng 0e0d191a7b Bug 1378970 - Part 2: Label CollectorRunner::mTimer using SystemGroup. r=billm
MozReview-Commit-ID: LfCjWyKk4hR
2017-07-18 16:49:43 +08:00
Nathan Froyd 0291d8eaa0 Bug 1378970 - Part 1: Label CollectorRunner::mScheduleTimer using SystemGroup. r=billm
All other associated timers in this file use the SystemGroup for a
GarbageCollection task, and this one should too.

MozReview-Commit-ID: GjdAGxbZS03
2017-07-06 13:25:00 +08:00
Bevis Tseng 76fdf58819 Bug 1378476 - Label layers::DestroyTextureData. r=nical 2017-07-19 14:23:19 +08:00
Kris Maglione 0bf0dd53cc Bug 1381687: Follow-up: Fix bustage where theme code is touching raw schema JSON that it shouldn't be.
MozReview-Commit-ID: 9Uwfbml0Ria

--HG--
extra : rebase_source : f082a9a049cc18ab85b0a965e4ab63560d47f922
2017-07-19 22:28:09 -07:00
Bob Clary cbac5391f2 Bug 1382004 - Autophone - disable rca flash test, r=jmaher. 2017-07-19 22:03:49 -07:00
Nicholas Nethercote f7a538edd4 Bug 1382076 - Use FramePointerStackWalk() in DMD on Win32. r=erahm.
The patch also uses a better value for skipFrames on Win64.

--HG--
extra : rebase_source : ef3d6d68fbea45e7fd571db2ba78904d97f5e21e
2017-07-20 11:33:31 +10:00
Kris Maglione 6bec989e12 Bug 1381687: Store and transfer schema JSON in structured clone blobs. r=aswan (not a CLOSED TREE)
MozReview-Commit-ID: FMSbSB1hC3F

--HG--
extra : rebase_source : 73acb9e276fa9cee52c000eae1149b18353736bd
extra : amend_source : 705d22ecd38b10f64009f596f0936673fe054ba0
2017-07-17 15:33:54 -07:00
Gabriel Luong ac99c20eef Bug 1381689 - Upgrade to CodeMirror 5.27.4. r=bgrins 2017-07-19 16:37:58 -04:00
sotaro f6a2bc20d3 Bug 1382141 - Remove generate_frame from wr_api_set_root_pipeline() r=nical 2017-07-20 10:47:00 +09:00
sotaro 200cae20a8 Bug 1382091 - Delete ImageKeys with ClearCachedResources r=nical 2017-07-20 10:30:31 +09:00
Kris Maglione 288e69595c Bug 1382501: Don't use NetUtil to parse URIs. r=trivial
MozReview-Commit-ID: BepyXBOOuv2
2017-07-19 18:26:41 -07:00
Nicholas Nethercote 7d699f9fa4 Bug 1382099 - Remove MOZ_WIDGET_GONK from memory/. r=glandium.
--HG--
extra : rebase_source : 641de85945cb2f0ccdb9d6f5207bdd22b597b318
2017-07-19 18:39:00 +10:00
Nicholas Nethercote 76360b4793 Bug 1382099 - Remove MOZ_WIDGET_GONK from mozglue/. r=glandium.
--HG--
extra : rebase_source : be872a2272b731523fdad5ee52ffcd40d87729c5
2017-07-19 18:38:54 +10:00
Nicholas Nethercote 20df43a549 Bug 1382099 - Remove MOZ_WIDGET_GONK from toolkit/. r=glandium.
--HG--
extra : rebase_source : 709744b24104b463c8dc4cbe215d2250e7c1a9f5
2017-07-19 18:38:48 +10:00
Jeff Gilbert 537fa49680 Bug 1382358 - Allow unusual/spurious glsl versions in non-DEBUG builds. - r=kvark
MozReview-Commit-ID: GbJb9ankCGl
2017-07-19 18:04:03 -07:00
Shane Caraveo 64c2485f68 Bug 1380426 - Make nsStreamListenerWrapper use NS_DECL_THREADSAFE_ISUPPORTS. r=dragana
--HG--
extra : rebase_source : fdcfe1dcce0dd4c4f5c554685afcdc995b680cae
2017-07-19 19:25:43 -04:00
Shane Caraveo 6dc579b239 Bug 1380426 - Make nsWebRequestListener use NS_DECL_THREADSAFE_ISUPPORTS. r=kmag
--HG--
extra : rebase_source : ac8bc977087b7701084b06171c8601151841fb31
2017-07-19 19:25:43 -04:00
Isaac Schemm 94d1d5b78a Bug 1377765 - Apply calendar height workaround from bug 1245692 to Android 5.0.x. r=maliu
--HG--
extra : rebase_source : ecce67f881aa1c97fbe96025bb0a40c735c74581
2017-07-08 08:54:00 -04:00
Ehsan Akhgari fb9c30f56a Bug 1382343 - Improve the hash function used in hashIdDerivedFromPtr() to rely on HashGeneric(); r=fitzgen 2017-07-19 20:39:17 -04:00
Ehsan Akhgari a5d0162238 Bug 1382269 - Backout changeset 648169abf928 (bug 1356181) to remove the expired FORM_ISINDEX_USED telemetry probe 2017-07-19 20:39:17 -04:00
Wes Kocher b5bcc4905e Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Wes Kocher 56c014ca6b Merge autoland to central, a=merge CLOSED TREE
MozReview-Commit-ID: 9RON7kHON0g
2017-07-19 16:32:03 -07:00
Wes Kocher f361e1638d Backed out 13 changesets (bug 1366294) for leaking base::Histogram::FactoryGet a=backout CLOSED TREE
Backed out changeset f2d79c13799a (bug 1366294)
Backed out changeset b722d638f6ed (bug 1366294)
Backed out changeset aee317b1445d (bug 1366294)
Backed out changeset 14f9f9521d4f (bug 1366294)
Backed out changeset beb5f00c4b19 (bug 1366294)
Backed out changeset 72635bc1ba25 (bug 1366294)
Backed out changeset c387459a798b (bug 1366294)
Backed out changeset 476daf9a5846 (bug 1366294)
Backed out changeset e7ce6a06c131 (bug 1366294)
Backed out changeset 1cc736607aab (bug 1366294)
Backed out changeset 175c3ccb0015 (bug 1366294)
Backed out changeset 96b594816a21 (bug 1366294)
Backed out changeset 57400dd449ad (bug 1366294)

MozReview-Commit-ID: J6PyVMGwJ74
2017-07-19 12:49:46 -07:00
Wes Kocher be756f4791 Backed out changeset c21ec4c07f82 (bug 1374748) for breaking mac talos a=backout CLOSED TREE
MozReview-Commit-ID: KdVT2hZEj9V
2017-07-19 12:46:23 -07:00
Chris H-C fe6f06412f bug 1366294 - Part 13 - Fix telemetry-using tests. r=Dexter
Some tests were using "secret" APIs to get at telemetry knowledge from various
processes in various ways. Adjust them so that they work with the new ways of
doing things.

MozReview-Commit-ID: 2iBL00HVGyg
2017-07-19 14:28:05 -04:00
Chris H-C cc6cce9d00 bug 1366294 - Part 12 - Clean up after onesself. r=gfritzsche
Without the StatisticsRecorder cleaning up after us we need to now manually
delete the Histograms we create.

MozReview-Commit-ID: 8jrPPBQmU0Z
2017-07-19 14:28:00 -04:00
Chris H-C 0299782caf bug 1366294 - Part 11 - Fix OSX Build. r=gfritzsche
MozReview-Commit-ID: DSljXr8ZRhy
2017-07-19 14:27:55 -04:00
Chris H-C 0b1fa68b4d bug 1366294 - Part 10 - Nail down count histogram semantics. r=gfritzsche
Previously we assumed count histograms were always present in payloads.
This was an erroneous assumption as count histograms were only 0 if they were
session histograms, or if they were from subsession histograms from subsessions
_after_ a subsession when they held a non-0 value.

So let's just treat count histograms as normal histograms from now on, without
any of this "sometimes 0" nonsense. This simplifies the code, tests, and our
understanding... and _should_ have few/zero downstream effects since the
existing behaviour was so poorly-understood (though exactly tested).

MozReview-Commit-ID: BH108ksygGw
2017-07-19 14:27:51 -04:00
Chris H-C 43659711de bug 1366294 - Part 9 - Fix Windows Build. r=gfritzsche
MozReview-Commit-ID: 8P2W8fD2xNi
2017-07-19 14:27:44 -04:00
Chris H-C f861b5fd74 bug 1366294 - Part 8 - Include a message on telemetry testfails. r=gfritzsche
I just added some short identifiable messages to help identify which part of
the test failed.

MozReview-Commit-ID: 3AX2iucGiRx
2017-07-19 14:27:39 -04:00
Chris H-C f8c98f8101 bug 1366294 - Part 7 - Use keyed histogram snaphots to build payloads. r=gfritzsche
TelemetrySession's getKeyedHistograms asks for each keyed histogram
individually. This is inefficient and doesn't work well with the storage
refactor.

So, plumb through a subsession keyed histogram snapshot API and convert
TelemetrySession over to using it.

MozReview-Commit-ID: Af9dTqw99UA
2017-07-19 14:27:27 -04:00
Chris H-C 2deec510ba bug 1366294 - Part 6 - Update test_TelemetryHistograms for new snapshots format r=gfritzsche
MozReview-Commit-ID: FN6y1zTqFt4
2017-07-19 14:27:22 -04:00
Chris H-C bb4128e1fa bug 1366294 - Part 5 - Send appropriately-structured Telemetry data to JS r=gfritzsche
Previously we were doing bad string manipulation nonsense. Now when asked for
snapshots C++ can return a properly-formated Object tree.

MozReview-Commit-ID: HAvIbgzUvMU
2017-07-19 14:27:16 -04:00
Chris H-C 52f84e096b bug 1366294 - Part 4 - Small cleanups to previous patches. r=gfritzsche
MozReview-Commit-ID: 7PioVNfUUNZ
2017-07-19 14:27:09 -04:00
Georg Fritzsche c7cb5fcaa6 Bug 1366294 - Part 3 - Refactor TelemetryHistogram storage. r=chutten
Previously we used the base::StatisticsRecorder object for storage by name.
This is keyed by histogram name, which doesn't match our storage reality anymore.
Instead we use a name to refer to a set of histogram instances that record data from different processes, as well as separating session and subsession data.

In this re-write, we instead introduce the following lookup paths (managed in TelemetryHistogram.cpp):
- Main storage:
  - (histogramId, processId, sessionOrSubsession) -> Histogram*
  - (histogramId, processId) -> KeyedHistogram* (this handles subsessions internally)
- Lookup:
  - (histogramName) -> histogramId
  - (HistogramID) -> bool (is recording enabled for this histogram?)

This is wrapped with a few lookup functions.

This also allows us to keep HistogramIDs in the JS histogram instances now, instead of pointers to Histogram instances.
That means Histogram instance life-time management is now properly contained inside TelemetryHistogram.cpp.

MozReview-Commit-ID: 5yijGv7mc89
2017-07-19 14:27:06 -04:00
Georg Fritzsche 3d975a580b Bug 1366294 - Part 2 - Cleanup Chromium Histogram code. r=chutten
- A histogram name identifies a set of histogram instances, for which storage and lookup will be handled in TelemetryHistogram.cpp.
  So we remove the names from histogram code.
- Various unused macros in the header are removed.
- Remaining traces of StatisticsRecorder are removed from the Histogram class code.
- Some unused methods are dropped that were about printing histograms to ASCII etc.

MozReview-Commit-ID: BF2rLSpKOJ8
2017-07-19 14:27:02 -04:00
Georg Fritzsche 2932617587 Bug 1366294 - Part 1 - Remove base::StatisticsRecorder. r=chutten
The Chromium IPC histogram code used the StatisticsRecorder object for storage.
This is keyed by histogram name, which doesn't match our storage reality anymore.
Instead we use a name to refer to a set of histogram instances that record data from different processes, as well as separating session and subsession data.
Consequently we need to rewrite this storage, which means StatisticsRecorder is not used anymore.

MozReview-Commit-ID: 1LC7YubpKaD
2017-07-19 14:26:56 -04:00