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

19473 Коммитов

Автор SHA1 Сообщение Дата
Bob Silverberg f386f9df93 Bug 1381605 - Do not load ExtensionSettingsStore's JSON file synchronously, r=aswan
MozReview-Commit-ID: 7lQp9hL9pNd

--HG--
extra : rebase_source : 8e61f79fe131111e91cb5853354a0dcfabf5ccbf
2017-07-24 15:49:30 -04:00
Sebastian Hengst 804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya 22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
tiago 7a9b4d8b79 Bug 1336518 - Move Sync history queries into PlacesSyncUtils. r=kitcambridge
MozReview-Commit-ID: Lood8ivLeJf

--HG--
extra : rebase_source : dcb8207378afc6ce2995acfe4f235f3ed728a188
2017-07-30 17:46:56 -03:00
Punam 9cb48aea09 Bug 1385402 - Cloud Storage API - Handle null while getting download folder r=Gijs
MozReview-Commit-ID: C9HC4KSAuG4

--HG--
extra : rebase_source : adb931f313e5ed33691eacd6bcd0312a8302f07c
2017-07-30 14:52:26 -07:00
Sebastian Hengst bbe32b6bed merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 44WBcWjnVo
2017-07-30 11:19:17 +02:00
Luciano Italiani dd592719c1 Bug 1374671 - Enable the ESLint no-whitespace-before-property rule across mozilla-central. r=standard8
MozReview-Commit-ID: 4WkNg0YrgHx

--HG--
extra : rebase_source : 2c32028e81c388406455004c2adcdb4a01942b95
2017-07-27 23:01:13 -03:00
Daosheng Mu 96e02d5de5 Bug 1306156 - Add telemetry for watching MAU and time spent of WebVR users; r=kip
MozReview-Commit-ID: 6v3F6aGdNK7

--HG--
extra : rebase_source : 6fc6a8accb1cc48968f3e1a09dc76de4b508afc7
2017-07-28 18:42:11 +08:00
Wes Kocher 40c3480d89 Merge inbound to central, a=merge
MozReview-Commit-ID: JNxfwQh0cac

--HG--
rename : gfx/layers/wr/WebRenderCompositableHolder.h => gfx/layers/wr/AsyncImagePipelineManager.h
2017-07-28 17:40:43 -07:00
Cameron Kaiser e7b4e849fb Bug 1385357 - Whitelist Gopher to be consistent with registerProtocolHandler. r=mixedpuppy 2017-07-27 23:32:25 -07:00
Carsten "Tomcat" Book 139661e8e4 Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Carsten "Tomcat" Book 892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Sebastian Hengst d7527a414d Backed out changeset 07b534f44740 (bug 1384835) for failing xpcshell's security/manager/ssl/tests/unit/test_cert_sha1.js checkCertErrorGenericAtTime on Linux x64 debug. r=backout 2017-07-28 10:30:29 +02:00
Sebastian Hengst 9077ac8886 Backed out changeset a57d8f30d1bf (bug 1383982) for build bustage at nsGlobalWindow.cpp:13826: 'class nsWindowSizes' has no member named 'mMallocSizeOf'. r=backout 2017-07-28 09:50:48 +02:00
Carsten "Tomcat" Book 28bdd40776 Merge mozilla-central to mozilla-inbound 2017-07-28 09:48:24 +02:00
Carsten "Tomcat" Book 2ff6df9177 Backed out changeset 5198322f7a62 (bug 1351148) 2017-07-28 09:20:20 +02:00
Carsten "Tomcat" Book bd7b184c91 Backed out changeset e3e924da5d5f (bug 1383328) 2017-07-28 09:20:05 +02:00
Nicholas Nethercote 5c3abe8aab Bug 1383982 - Introduce a general mechanism for measuring memory usage of graph-like structures. r=erahm.
All the SizeOf{In,Ex}cludingThis() functions take a MallocSizeOf function
which measures memory blocks. This patch introduces a new type, SizeOfState,
which includes a MallocSizeOf function *and* a table of already-measured
pointers, called SeenPtrs. This gives us a general mechanism to measure
graph-like data structures, by recording which nodes have already been
measured. (This approach is used in a number of existing reporters, but not in
a uniform fashion.)

The patch also converts the window memory reporting to use SizeOfState in a lot
of places, all the way through to the measurement of Elements. This is a
precursor for bug 1383977 which will measure Stylo elements, which involve
Arcs.

The patch also converts the existing mAlreadyMeasuredOrphanTrees table in the
OrphanReporter to use the new mechanism.

--HG--
extra : rebase_source : 2c23285f8b6c3b667560a9d14014efc4633aed51
2017-07-28 15:03:44 +10:00
Wes Kocher 7149e44594 Merge autoland to m-c a=merge
MozReview-Commit-ID: 4MCb0ASsMxe
2017-07-27 16:09:49 -07:00
Carsten "Tomcat" Book 6aa98d7df0 Merge mozilla-central to autoland 2017-07-28 09:50:36 +02:00
Wes Kocher 7a65251f71 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KvG6hKUwF8c
2017-07-27 16:33:25 -07:00
Shane Caraveo 02063c6559 Bug 1380186 test http redirects to moz-ext protocol, r=kmag
MozReview-Commit-ID: Kg8ELe3tV2z

--HG--
extra : rebase_source : b4bb1c86016ae551eef001bccf7d866740d43564
2017-07-27 13:34:54 -07:00
Punam 4a49a600af Bug 1357171 - cloud storage module r=Gijs
* Has storage providers metadata
* Scan for storage providers returning preferred provider
* Helper methods to access cloud services prefs
* Helper method to set cloud storage as default download directory
* Notify observers for displaying cloud storage prompt
* Support pref value browser.downloads.folderList 3
* Read dropbox custom downloadpath from info.json
* Handle rejected providers by saving response in cloud.services.rejected.key
* Load providers metadata from providers.json
* Tested using add-on implemented in Bug 1365129
* Tests for Linux, Mac and Win Platform

MozReview-Commit-ID: LrmoDfsRTBV

--HG--
extra : rebase_source : cc3933407def5da26b4c0fb29a32797bc6a13130
2017-07-27 10:14:17 -07:00
Nicholas Nethercote f314cbcbe5 Bug 1384835 (part 1) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
This is basically a cosmetic change; references are the normal way to do string
outparams.

--HG--
extra : rebase_source : ffc5945f269bdcd3d4116755b56713e87a44b6cd
2017-07-25 19:12:56 +10:00
Wes Kocher 7dc0b363c1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1JlPbFMKbJZ
2017-07-27 16:17:40 -07:00
Junior Hsu 9a73bfaee3 Bug 1385166 - disable rcwn in those web request tests causing bustage, r=mixedpuppy 2017-07-27 20:46:00 +02:00
Marco Castelluccio 516b0c13ae Bug 1384509 - Test replacing *_API_KEY variables in URLs using the URL formatter and test trimming sensitive URLs. r=mossop
--HG--
extra : rebase_source : c8bb9066e6a00f3d3bca383b8027cddab7151749
2017-07-28 10:14:57 +02:00
Marco Castelluccio c71b2f3096 Bug 1384509 - Move Bing, Google, Mozilla API key definitions to AppConstants.jsm and stop using preprocessor in nsURLFormatter.js. r=mossop
--HG--
extra : rebase_source : 1f86cc353b2312b281cff2eeccce9e7a8fd260d5
2017-07-27 02:20:37 +02:00
Nicholas Nethercote 49eb219ff5 Bug 1383982 (attempt 2) - Introduce a general mechanism for measuring memory usage of graph-like structures. r=erahm.
--HG--
extra : rebase_source : 7075f9570a4262158351ce9ac3ca8360ea4d5394
2017-07-28 20:10:04 +10:00
Kit Cambridge 5c9899d993 Bug 1383621 - Use the async bookmarks API to insert the mobile query. r=markh
MozReview-Commit-ID: KaeXwFHEg7K

--HG--
extra : rebase_source : b67f8662e221614041aad391d71bdf381ce4e8b0
2017-07-24 16:45:17 -07:00
Wes Kocher 807c023ca7 Backed out 3 changesets (bug 1302681) for build failures in TelemetryEvent.cpp a=backout
Backed out changeset 9c0bdff48a0a (bug 1302681)
Backed out changeset 8e79158a7a1c (bug 1302681)
Backed out changeset 7068c8d4448c (bug 1302681)

MozReview-Commit-ID: Y7pfsOJRqe
2017-07-27 12:53:32 -07:00
Georg Fritzsche 73718da85c Bug 1302681 - Part 3: Update documentation to cover dynamic events. r=Dexter
--HG--
extra : rebase_source : 56fa3839f698d29b7d626c22918f713bab38d6e6
2017-07-27 07:19:00 -04:00
Georg Fritzsche b6fe37336c Bug 1302681 - Part 1: Extend Event Telemetry core for recording from addons. r=Dexter
To cut down on complexity, we don't require specifying any expiry versions.
Given that these events will be recorded non-persistently from off-train add-ons, they can be expired by shipping new add-on releases.

We also start to use the new "record on release" terminology here instead of opt-in/opt-out, but are not changing the internal functionality yet.

Technically, this is implemented by keeping a separate registry for the dynamic event information.
Built-in & dynamic events are tracked with separate numeric ids, so introduce a common identifier for both, an EventKey.
For actual event storage, the events are treated the same as built-in events. They are simply bucketed into the 'dynamic' process storage.
This approach ends up duplicating code paths that use the event info, but keeps a single implementation for recording, storage & serialization.

--HG--
extra : rebase_source : d83f755273a50121d65e1cbc1676850dccb52d5d
2017-07-26 07:49:00 -04:00
Sebastian Hengst 97073be82d Backed out changeset bb2eeb5a2f4a (bug 1374270) for failing toolkit/components/telemetry/tests/unit/test_TelemetryHealthPing.js, at least on Android and Linux. r=backout 2017-07-27 21:02:48 +02:00
Julian Seward 408d24da56 Bug 1382563 - Remove ns*String::AssignWithConversion. r=erahm.
This patch replaces four functions of the name AssignWithConversion which
are essentially wrappers around CopyASCIItoUTF16 and LossyCopyUTF16toASCII
with direct calls to the latter two functions.  The replaced functions are:

  void nsCString::AssignWithConversion( const nsAString& aData )
  void nsString::AssignWithConversion( const nsACString& aData )

  void nsTString_CharT::AssignWithConversion(
                            const incompatible_char_type* aData,
                            int32_t aLength = -1);

The last of the three exists inside the double-included nsTString* world and
so describes two functions, giving four in total.

This has two advantages:

* it removes code

* at the call points, it makes clear (from the replacement name) which
  conversion is being carried out.  The generic name "AssignWithConversion"
  doesn't make that obvious -- one had to infer it from the types.

The patch also removes two commented out lines from
editor/composer/nsComposerCommands.cpp, that appear to be related.  They are
at top level, where they would never have compiled.  They look like
leftovers from some previous change.

--HG--
extra : rebase_source : fb47bf450771c3c9ee3341dd14520f5da69ec4f5
2017-07-24 19:23:52 +02:00
Kate Ustiuzhanina 3f8f63a3f6 Bug 1374270 - Support sending health ping on shutdown via PingSender. r=Dexter 2017-07-26 11:48:21 +01:00
Shane Caraveo e647da08d2 Bug 1382834 fix ws/wss protocol matching, r=kmag
MozReview-Commit-ID: 6IKTPA1sJgh

--HG--
extra : rebase_source : 451cae79ce1250537bd8755942568b1aad910cf6
2017-07-24 17:00:29 -07:00
John Dorlus 61246931b7 Bug 1382345 - Use callback in test harness r=chutten
Added callback to testcase.py. Made sure callback is callable.
Added callback in test_main_tab_scalars to be the browser restart.
Added callback in test_ping_server_received_ping to None because no callback is needed.

MozReview-Commit-ID: Jf4YHasCXVg

--HG--
extra : rebase_source : f2b54f151d40436598003c009cc8a9b06bb052af
2017-07-26 14:15:14 -04:00
Brian Grinstead b86762c77a Bug 1383208 - Allow for null functionName in console messages;r=baku
MozReview-Commit-ID: 47O6kPQ3W8o

--HG--
extra : rebase_source : 36f1434de4e252b254d0159137f33aa87908bf89
2017-07-26 15:14:07 -07:00
Bob Silverberg 412e7d04d0 Bug 1383728 - Add missing tests back into manifests, r=mixedpuppy
The following tests were removed from the test manifest in  https://hg.mozilla.org/mozilla-central/rev/9704283b0e3a and never added back:
toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js
toolkit/components/extensions/test/xpcshell/test_ext_extension_content_telemetry.js
toolkit/components/extensions/test/xpcshell/test_ext_storage_telemetry.js

A bunch of changes were needed to the telemetry tests to make them work in OOP mode as well.

MozReview-Commit-ID: LPOrGb8OxNL

--HG--
extra : rebase_source : abae51aadcede9256e75f051d6f0dd21bc144c7f
2017-07-24 08:57:50 -04:00
Ryan VanderMeulen c91374b0bd No bug - Fix up TelemetryController.jsm no-tabs ESLint failures that came in from the last merge from m-c. r=Dexter on a CLOSED TREE
--HG--
extra : amend_source : 0855368eb637cd18f6629657a9cc848c15fc2c71
2017-07-27 09:08:23 -04:00
Sebastian Hengst 2e0601d13e Backed out changeset ca779a5aa93f (bug 1383728) for failing the xpcshell tests test_ext_storage_telemetry.js and test_ext_extension_content_telemetry.js on Android. r=backout on a CLOSED TREE 2017-07-27 14:18:42 +02:00
Carsten "Tomcat" Book c4e7d0a39e merge mozilla-central to autoland
--HG--
extra : rebase_source : 0f0f666839de9bee40c2d469fd8dd7e63b266f69
2017-07-27 11:38:15 +02:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Carsten "Tomcat" Book 2240562934 Backed out changeset f65f933ecdce (bug 1359306) for bustage 2017-07-27 08:22:15 +02:00
Bob Silverberg d257fe68cb Bug 1383728 - Add missing tests back into manifests, r=mixedpuppy
The following tests were removed from the test manifest in  https://hg.mozilla.org/mozilla-central/rev/9704283b0e3a and never added back:
toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js
toolkit/components/extensions/test/xpcshell/test_ext_extension_content_telemetry.js
toolkit/components/extensions/test/xpcshell/test_ext_storage_telemetry.js

A bunch of changes were needed to the telemetry tests to make them work in OOP mode as well.

MozReview-Commit-ID: LPOrGb8OxNL

--HG--
extra : rebase_source : e9ee1720fd42844e1fa81e3d068de87543981a41
2017-07-24 08:57:50 -04:00
Wes Kocher ad35031103 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LhiAcCiFBus
2017-07-26 18:33:18 -07:00
Bob Silverberg c865b3f26d Bug 1381297 - Store the installDate of an extension as a number in the extension-settings.json file, r=aswan
MozReview-Commit-ID: 1P7hy23Yyk6

--HG--
extra : rebase_source : 1937b6b5bae7ea92239ea5f25a8b714f13b56a11
2017-07-20 09:02:36 -04:00
Alessio Placitelli 2d82f2c5e6 Bug 1120372 - Introduce the "update" ping. r=bsmedberg,gfritzsche,mhowell
This ping will be sent as soon as an update is ready to be applied, after
it's downloaded. This is currently enabled but protected behind the
'toolkit.telemetry.updatePing.enabled' preference.

MozReview-Commit-ID: 4TuM0e5MzBl

--HG--
extra : rebase_source : aa3ebda3cf1e1fc2cdb8c294a643973c5101fa1c
2017-07-12 12:12:18 +02:00
Ricky Chien 35fdfbdc9c Bug 1359306 - Implant telemetry probe for search r=liuche,mconley
MozReview-Commit-ID: 8SyW6E8IYt7

--HG--
extra : rebase_source : 86f7e15e163c7212b974b733b79929fc9badec54
2017-07-27 15:06:52 +08:00