Commit Graph

19051 Commits

Author SHA1 Message Date
Jonathan Guillotte-Blouin
5b82f8ccdc Bug 1372427 - enforce balanced-listeners. r=MattN
MozReview-Commit-ID: KpPZA2godKg

--HG--
extra : rebase_source : 4fa909ca48e98a913e6c3ceca0df74b304f6549a
2017-06-16 15:12:32 -07:00
Jonathan Guillotte-Blouin
b75e7d653d Bug 1372427 - prevent using arguments.caller. r=MattN
MozReview-Commit-ID: J6NceWWJzbP

--HG--
extra : rebase_source : 7153930a703c1d39e0fce89800aea4ea84a0ccba
2017-06-16 14:55:06 -07:00
Jonathan Guillotte-Blouin
c2a1a5026a Bug 1372427 - add "no-unused-vars" rule, with laxist variation in head_satchel + satchel_common. r=MattN
MozReview-Commit-ID: 9HBxDyUF01Q

--HG--
extra : rebase_source : 1c6dd4554708975817290bd624acde6aaf246c22
2017-06-15 16:39:50 -07:00
Jonathan Guillotte-Blouin
c7f6cdf5a4 Bug 1372427 - add rest of rules which don't affect the code. r=MattN
MozReview-Commit-ID: GCUHw9WcVc7

--HG--
extra : rebase_source : c8e6a8b0621a2f5ee715df8dd0f20a59270a438c
2017-06-14 18:09:29 -07:00
Jonathan Guillotte-Blouin
1d9f369492 Bug 1372427 - enforce no spacing before semi-colons, but spacing after. r=MattN
auto --fix

MozReview-Commit-ID: 8QLHNfXlwBQ

--HG--
extra : rebase_source : 198937fc68701b09e8af568ec2c7802a0cc46886
2017-06-14 18:13:15 -07:00
Jonathan Guillotte-Blouin
f264f8503e Bug 1372427 - enforce dot-notation over square-bracket-notation when possible. r=MattN
auto --fix

MozReview-Commit-ID: LDwtCje2Sb0

--HG--
extra : rebase_source : 0ba00836aef84c537fc361f40bca1371ffd1266e
2017-06-14 17:50:48 -07:00
Jonathan Guillotte-Blouin
d99dbdf74f Bug 1372427 - enforce "comma-dangle". r=MattN
auto --fix

MozReview-Commit-ID: KKmDI0Pt43K

--HG--
extra : rebase_source : 4917dbfc35a03dc0f8171006273b1e555f7b4c9b
2017-06-14 17:46:42 -07:00
Jonathan Guillotte-Blouin
4e9c60eaf7 Bug 1372427 - add rule to not put spacing inside parens. r=MattN
auto --fix

MozReview-Commit-ID: 7jCl2Z0Q3SI

--HG--
extra : rebase_source : bd5d39a6332cc2cfd2110ef221c703e7adcdf169
2017-06-14 17:37:09 -07:00
Jonathan Guillotte-Blouin
098de3bdc2 Bug 1372427 - add rule to not put spacing inside arrays. r=MattN
auto --fix

MozReview-Commit-ID: BiEzl4OawuU

--HG--
extra : rebase_source : fe425f8840414ee289415e9b7775b698ee3b6b9a
2017-06-14 17:35:30 -07:00
Jonathan Guillotte-Blouin
940afb49f2 Bug 1372427 - enforce "var" declarations only at top-level. r=MattN
MozReview-Commit-ID: 1bzsOoyidnR

--HG--
extra : rebase_source : fa4ca6a5f23e8102a7fd3f7839ef75913a2664a8
2017-06-14 17:30:32 -07:00
Jonathan Guillotte-Blouin
9d800f76e8 Bug 1372427 - force radix argument in parseInt. r=MattN
MozReview-Commit-ID: J4VoeedZpGa

--HG--
extra : rebase_source : 5bb4dd6313c020ce86a6626e211d8c8953384a40
2017-06-14 13:38:17 -07:00
Jonathan Guillotte-Blouin
e09e7030e3 Bug 1372427 - add error to not pad blocks. r=MattN
auto --fix

MozReview-Commit-ID: 6tXXL7Ncmso

--HG--
extra : rebase_source : 54b8c38577cb97284dec2b43a18ba3c41cb06621
2017-06-14 13:28:01 -07:00
Jonathan Guillotte-Blouin
a09396282c Bug 1372427 - add rule to not throw litterals. r=MattN
MozReview-Commit-ID: F962Z4jhm2l

--HG--
extra : rebase_source : 3598a12db8721a7959b8253cd7e0659fa3b12371
2017-06-14 12:01:50 -07:00
Jonathan Guillotte-Blouin
b7c65b7e8f Bug 1372427 - limit to 2 consecutive empty lines. r=MattN
MozReview-Commit-ID: 61VaynFFq40

--HG--
extra : rebase_source : 4ab676e41466924e6c37401ea9f727d61e372515
2017-06-14 11:47:00 -07:00
Jonathan Guillotte-Blouin
acb97102b7 Bug 1372427 - add rule "no-fallthrough" in switch cases. r=MattN.
MozReview-Commit-ID: 7kmc7Ze9v0J

--HG--
extra : rebase_source : b0053eab37b2c40dc13be7c4ffc6e15f111e716e
2017-06-13 17:10:34 -07:00
Jonathan Guillotte-Blouin
59345808a2 Bug 1372427 - limit lines to a maximum of 100 chars. r=MattN
MozReview-Commit-ID: 3OSKaTMMBot

--HG--
extra : rebase_source : f6d9c00352003674c643089f158a8d116ae36a20
2017-06-13 16:48:31 -07:00
Jonathan Guillotte-Blouin
f4d5635b00 Bug 1372427 - add "dot-location" rule so that dots are on the same line as properties. r=MattN
MozReview-Commit-ID: A6IKfSiVXAN

--HG--
extra : rebase_source : 63be6025fee7a141e3169e2dffd7321e697edcc0
2017-06-13 16:34:54 -07:00
Jonathan Guillotte-Blouin
47c81bbc84 Bug 1372427 - add cyclomatic-complexity limit. r=MattN
MozReview-Commit-ID: GRiJw8SBq9e

--HG--
extra : rebase_source : a2fd84337d45361bec2ea8bde62578fbf99c1823
2017-06-13 15:56:31 -07:00
Jonathan Guillotte-Blouin
cc4c1778c4 Bug 1372427 - add "no-use-before-define" rule. r=MattN
MozReview-Commit-ID: BRhwhnxzlpG

--HG--
extra : rebase_source : 45f74a002a90f9a9869fbd14516cb73d19ce6d84
2017-06-13 14:34:12 -07:00
Jonathan Guillotte-Blouin
5a66b3e817 Bug 1372427 - add "block-scoped-var" rule. r=MattN.
MozReview-Commit-ID: K3Zwr0jy6U2

--HG--
extra : rebase_source : cca1893f0aabd2f80db757a6fe0429293eba88ce
2017-06-13 14:23:11 -07:00
Jonathan Guillotte-Blouin
92bcf669ee Bug 1372427 - add js-doc rule. r=MattN
MozReview-Commit-ID: YgDBHM88PW

--HG--
extra : rebase_source : 449ab51180fdebf2fa6e0b9b6c1ee659a15355dc
2017-06-13 10:48:52 -07:00
Jonathan Guillotte-Blouin
13ec30c445 Bug 1372427 - add semi-colon rule. r=MattN
auto --fix

MozReview-Commit-ID: F9GvxcghPkt

--HG--
extra : rebase_source : f88445b573583d50333249570aa80c3e2314b0c3
2017-06-13 09:51:07 -07:00
Jonathan Guillotte-Blouin
669e2f0d5e Bug 1372427 - Add indentation rules. r=MattN
MozReview-Commit-ID: 62a7RvVlcco

--HG--
extra : rebase_source : 6f2f81af33e14850ab72d64f9b2973f9f06bcfb6
2017-06-12 15:45:00 -07:00
Jonathan Guillotte-Blouin
03ac334e31 Bug 1372427 - Add "curly" eslint rule to fix missing curly braces. r=MattN.
MozReview-Commit-ID: LwVEPezNiCx

--HG--
extra : rebase_source : 69aa18e0e90dcf7559f0509dd40e746add0845ff
2017-06-09 15:56:08 -07:00
Jonathan Guillotte-Blouin
3935be31a9 Bug 1374427 - remove redundant function names in js-doc. r=MattN
MozReview-Commit-ID: 3EBT7CDl3pC

--HG--
extra : rebase_source : 74fafb71abb6b09f003c87e691f3a050c744c535
2017-06-19 14:11:21 -07:00
Hemant Singh Patwal
fc015fcb0b Bug 1276128 - Convert xpcshell-tests in toolkit/components/places/tests/bookmarks/test_393498.js to Bookmarks.jsm API. r=standard8
MozReview-Commit-ID: 8KdFVQ7zx1w

--HG--
extra : rebase_source : 1951012f2764d7677dd814889edc4665aece7aa4
2017-06-23 18:15:41 +05:30
Luca Greco
e83ebf13b3 Bug 1375373 - Increased promise race timeout to prevent unlimitedStorage permission tests from failing intermittently. r=aswan
MozReview-Commit-ID: 7kFfADk70w3

--HG--
extra : rebase_source : f66bf7242fb3693cddf33bede62dd5e7992e691e
2017-06-22 13:23:04 +02:00
Carsten "Tomcat" Book
b4ed393f65 Merge mozilla-central to autoland 2017-06-23 12:25:03 +02:00
Carsten "Tomcat" Book
e3ba7c834b Merge mozilla-central to autoland 2017-06-23 11:46:07 +02:00
MilindL
9cd6e1d046 Bug 1107364 - remove findNodeByDetails and maintain a map to fetch a node by details speedily, r=mak
This patch removes the interface/header/implementation.

This adds a Map to PlacesTreeView to maintain the relation between node
details and the nodes, based on changes in `this._rows` or on
node details changed events. The Map exists from node details
to nodes (not rows).

MozReview-Commit-ID: EUNiXNIB5rN

--HG--
extra : rebase_source : 5391d9240e1f871c53d8aa26ae951b440b7280ad
2017-06-08 20:51:51 +05:30
Bob Silverberg
0362ce39d9 Bug 1356323 - Add telemetry for time spent injecting content scripts, r=bsmedberg,kmag
MozReview-Commit-ID: Aa0gah03QnN

--HG--
extra : rebase_source : 95f33e3b9e111618e45ee83f853fd3ceede6264f
extra : source : 7cab15b671d1b52fcd20e6d6f6e93fabb6cb2998
2017-05-02 09:27:38 -04:00
Chris H-C
1e2b2d46b4 bug 1369041 - Allow child processes to discard data when overwhelmed r=bsmedberg,gfritzsche f?bsmedberg
It is possible in extreme cases that the Telemetry IPC Accumulator might be
starved long enough that it cannot drain its stored accumulations for a while.

Once we hit 5x the high water mark, start discarding data.

Count each piece and type of discarded data and report it via a custom IPC
message.

MozReview-Commit-ID: JayRpa5QPec

--HG--
extra : rebase_source : eded449c932ced64bdb64e9da1a989407f4f2daf
2017-06-09 09:53:42 -04:00
Luca Greco
c9af23586a Bug 1331618 - allow persistent indexedDB on unlimitedStorage permission. r=aswan
MozReview-Commit-ID: 6VYqywMgSoU

--HG--
extra : rebase_source : 39cd28f5085335e8e1eb6ff39a4f5af2c0d9c2c7
2017-06-16 18:26:50 +02:00
Iaroslav (yarik) Sheptykin
9e01732a56 Bug 1371900: Factored ProcessedStack out of Telemetry.cpp. r=gfritzsche
MozReview-Commit-ID: IKe8btKJ028

--HG--
extra : rebase_source : 24ff10777b624a0ecc0f9ec0212351f992b590b1
2017-06-10 19:34:44 +02:00
Mark Banner
a0968e89c5 Bug 1374776 - Convert toolkit/components/places/tests/bookmarks/test_395101.js to use the new Bookmarks async API. r=mak
MozReview-Commit-ID: 9JR0Se66Exj

--HG--
rename : toolkit/components/places/tests/bookmarks/test_395101.js => toolkit/components/places/tests/queries/test_search_tags.js
extra : rebase_source : 3757123afeb58a42738ba01dca5d13f873ed2e1f
2017-06-20 21:11:09 +01:00
Mark Banner
2648e36590 Bug 1374705 - Clean up some unused variables and some unnecessary run_test functions in toolkit/components/places/tests. r=mak
MozReview-Commit-ID: IBHzwGnV5rS

--HG--
extra : rebase_source : 4bfd76aad595f30ac68c299306e9a190bcd9c12f
2017-06-20 17:55:54 +01:00
David Major
4f6abfc2c2 Bug 1374419 - Make gHistograms constexpr to remove its initializer. r=gfritzsche 2017-06-20 11:39:20 -04:00
Paolo Amadini
375f5f7210 Bug 1362970 - Part 3 - Fix indentation and one misuse of "catch". r=florian
MozReview-Commit-ID: 2oFOmye7EUr

--HG--
extra : rebase_source : 1b575a89ff3f0dc7683f1c25bde12de6859c17be
extra : source : eb61cf8f77d22f0cf026056615a475c2e04f932a
2017-06-16 11:16:00 +01:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Nicolas B. Pierron
c64732dcc7 Bug 1362114 - JSBC: Add telemetry to later tune the heuristics. r=mrbkap,francois 2017-06-20 09:53:10 +00:00
Carsten "Tomcat" Book
de892834ed Merge mozilla-central to mozilla-inbound 2017-06-20 11:31:34 +02:00
Carsten "Tomcat" Book
013fb0680e merge mozilla-inbound to mozilla-central a=merge 2017-06-20 11:26:40 +02:00
Wes Kocher
17a16ffd2f Merge m-c to inbound, a=merge
MozReview-Commit-ID: Gf5xDaCWnPi
2017-06-19 17:34:36 -07:00
Kris Maglione
c3e2a420ec Bug 1374457: Key cached manifest and locale data by add-on version. r=rhelmer
MozReview-Commit-ID: 7NdS0Etmhot

--HG--
extra : rebase_source : cdb25c5c25c78eca14deb36d05d36bc44cca9906
2017-06-19 15:14:08 -07:00
Henry Chang
3931a09857 Bug 1370585 - Periodically check the flag (at most 30 seconds) rather than checking only once. r=francois
MozReview-Commit-ID: BjGN7nOCmTS

--HG--
extra : rebase_source : f6d7362048b7dc58110b099dcdc3d514ed9cd197
2017-06-19 18:25:12 +08:00
Mike de Boer
6a1a237f33 Bug 1347182 - Add support for setting the background color of all toolbars using a WebExtension theme. r=jaws,mattw
MozReview-Commit-ID: IbTBCjt6oJp

--HG--
extra : rebase_source : 89d8b8322d5e680bf6bef745ba8fcb8082168a1f
2017-06-15 19:20:26 +02:00
Honza Bambas
9e38f7b8fc Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz, r=mikedeboer
--HG--
extra : rebase_source : c9690f4b8decd39a10da676bd50ec09cb2ad8892
2017-05-30 18:07:59 +02:00
Andrew Swan
28c0b4915f Bug 1373453 Part 2 Convert extensions in telemetry unit tests to webextensions r=Dexter
We will no longer load non-webextensions from user profiles starting in
57, so with this patch this test works much more like how browsers in the
field will run.  Note that we will still use legacy extensions for things
like system addons, those remain part of this test.

MozReview-Commit-ID: CEOdRbrWphi

--HG--
extra : rebase_source : d89f70c59dc50ed1850ed406a9fea1ec5ad4ee23
2017-06-15 15:06:16 -07:00
Andrew Swan
eb7a63d1f3 Bug 1373453 Part 1 Move repeated webextension startup check to AddonTestUtils r=kmag
MozReview-Commit-ID: 5uhi7VSbZNi

--HG--
extra : rebase_source : 4a62a493b1ebf109703bcfd3f9333068cbfe579e
2017-06-15 16:33:28 -07:00
Bob Silverberg
754a9682b2 Bug 1361364 - Implement chrome.privacy.services.passwordSavingEnabled, r=aswan
MozReview-Commit-ID: Hkg2pG04KgH

--HG--
extra : rebase_source : c16b6d6ff39a1f1bbb7e1fc7231d77ed535ae32b
extra : source : 4ebf1214c927104e0b2fc95b48648bbfac43cbb9
2017-05-25 15:31:12 -04:00
Alessio Placitelli
e22f5d26c6 Bug 1373913 - Skip the default browser test on Thunderbird. r=gfritzsche
MozReview-Commit-ID: 41BfL50DLpL

--HG--
extra : rebase_source : 96e938fe4cc0da37e4f5d0c7b1cc5533bf3b5a4d
2017-06-19 09:36:09 +02:00
Kate McKinley
396962011a Bug 1363546 - Store and report HSTS upgrade source r=francois,keeler,mayhemer p=francois
Add a field to the HSTS cache which indicates the source of the HSTS
entry if known, from the preload list, organically seen header, or HSTS
priming, or unknown otherwise. Also adds telemetry to collect the source
when upgrading in NS_ShouldSecureUpgrade.

MozReview-Commit-ID: 3IwyYe3Cn73

--HG--
extra : rebase_source : 9b8daac3aa02bd7a1b4285fb1e5731a817a76b7f
2017-05-23 15:31:37 -07:00
Bob Silverberg
e35a1d5bac Bug 1364936 - Allow WebExtensions to disable the browser cache, r=aswan
MozReview-Commit-ID: KhupGnBT5mZ

--HG--
extra : rebase_source : ef4c23761736881af11ecd59f8e673071d0a9bf9
2017-05-24 13:17:42 -04:00
Ian Bicking
3da3423218 Bug 1372310 - bump ExtensionStartupCache SCHEMA_VERSION r=aswan,mossop
This avoids an issue described in https://github.com/mozilla-services/screenshots/issues/3027 Bug 1372750 and Bug 1373749 where a cached version of Screenshot's manifest.json is retained after upgrade
r?aswan

MozReview-Commit-ID: 9RMKTFN1ugI

--HG--
extra : rebase_source : a30b2e5abf111c196fa07208f2b7af823068d41e
2017-06-16 15:24:06 -05:00
Bob Silverberg
06e954de4b Bug 1297167 - Part 2: Add telemetry probes for BrowserAction popups, r=bsmedberg,kmag
Add histogram for WEBEXT_BROWSERACTION_POPUP_OPEN_MS to track the amount of time it takes to open a browserAction popup.
Add histogram for WEBEXT_BROWSERACTION_POPUP_PRELOAD_RESULT_COUNT to track how often a popup preload results in a popup being shown, vs a popup being cancelled, both after hover and after mousedown.

MozReview-Commit-ID: L8xlSJxgTzX

--HG--
extra : rebase_source : 843e5d3780a9d854f0bde6dc2352191527047297
extra : source : 230078ffcde7a20a9d839779aef4656a028cc4f9
2017-05-03 11:12:03 -04:00
Bob Silverberg
c112a180ec Bug 1297167 - Part 1: Add telemetry probe for PageAction open timing, r=bsmedberg,kmag
MozReview-Commit-ID: 44xIqcFZXLO

--HG--
extra : rebase_source : 9d6f9a4ed03fed14877a163407294e3a48c640ba
extra : source : 9ecc91067d723f7cd3dbdb38fae022e3465be243
2017-05-03 08:28:34 -04:00
Marco Bonardo
8d20cc6802 Bug 1355561 - Add a new API to spinningly close the database when strictly needed, and ensure Close() does what it's named after. r=asuth
Introduce a new SpinningSynchronousClose API that allows to synchronously close
a connection that executed asynchronous statements, by spinning the events loop.
This is expected to be used rarely in particular cases like database corruption.
It is currently [noscript] since the only consumer is cpp, in the future we can
evaluate removing that, if we find more uses for it.

MozReview-Commit-ID: 7SPqutoF9jJ

--HG--
extra : rebase_source : d053e308192f335dfdca089668e56115b068ff8c
2017-04-12 17:44:39 +02:00
Mike de Boer
3be1d64867 Backed out changeset f26ae19477f5 (bug 1347182) due to too many regressions. r=jaws,mattw
MozReview-Commit-ID: DD7RrNgl4dk

--HG--
extra : rebase_source : b4471d49ea72af4228a3847141bae33309b2da1b
2017-06-20 16:29:49 +02:00
Matthew Wein
20f84fa972 Bug 1329242 - Add support for browser_action.theme_icons r=mixedpuppy
MozReview-Commit-ID: HvfUQZzBQWq

--HG--
extra : rebase_source : 689b5bbd8c6774aff3f870a7c627e9f6a797c8c7
2017-06-27 15:23:35 -07:00
Frederik Braun
9c64aee8c8 Bug 1351608 - Comment out existing violations to no-unsanitize rule. r=standard8
--HG--
extra : rebase_source : 41eb119fb189c4577fe64b114821b75d8781ad99
2017-06-28 12:50:38 -07:00
Ehsan Akhgari
d732ce4442 Bug 1375573 - Part 2: Avoid creating an about:blank document in setupJSON() by creating a Window binding through exposing a getter for the inner window ID on nsIWebProgress; r=billm 2017-06-28 09:15:53 -04:00
Carsten "Tomcat" Book
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng
d1637b9c5a Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Mark Banner
d030707609 Bug 1095426 - Convert JSON backups code to the new async Bookmarks.jsm API. r=mak
MozReview-Commit-ID: FNZZGwWVSI2

--HG--
extra : rebase_source : dacb3c5ddb439d074c66e0baaa7e73044c5dcd46
2017-05-12 08:04:51 +01:00
Mark Banner
7c56494cd0 Bug 1095426 - Make the bookmarks.json test file prettified so it can be read easily. r=mak
MozReview-Commit-ID: 2owsEkNEHgi

--HG--
extra : rebase_source : db6b28f467f1ca29abf48b41ca200299131641e6
2017-06-07 11:43:40 +01:00
Carsten "Tomcat" Book
bf5e392d4d Merge mozilla-central to autoland 2017-06-20 11:32:41 +02:00
Alessio Placitelli
0ffee57f11 Bug 1369734 - Spin the scheduler tick on idle after sleep-wake or idle-active cycles. r=chutten,florian
This allows to move it out of the user's way, in case we need to gather
telemetry data to build a daily/aborted-session ping.

MozReview-Commit-ID: BrKZHKOJzqk

--HG--
extra : rebase_source : 86ed84c014e98cb3bf88ac1c022a002a1b4adcbc
2017-06-13 16:18:37 +02:00
Tim Huang
b6286c46af Bug 1333651 - Part 2: Spoofing Navigator object when 'privacy.resistFingerprinting' is true. r=arthuredelstein,Ehsan
This patch makes navigator object to return spoofed value for fields have fingerprintable
concerns. This changes the worker navigator as well.

MozReview-Commit-ID: E2SLNZRfuVP

--HG--
extra : rebase_source : 960bafbe41382eba891ad807c37a822ba6a758c8
2017-06-01 14:54:59 +08:00
Bill McCloskey
6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Wes Kocher
47a595548e Merge m-c to inbound, a=merge
MozReview-Commit-ID: BYGylgZSbUu
2017-06-20 18:31:42 -07:00
Gabriel Luong
fe1128dd14 Bug 1373483 - Add telemetry for the grid inspector. r=pbro. data-r=bsmedberg 2017-06-20 16:32:18 -07:00
Wes Kocher
89c6584074 Backed out changeset 830b3b513bf1 (bug 1373483) for build failures in TelemetryHistogram.o a=backout
MozReview-Commit-ID: I5RRKMjXWKM
2017-06-20 15:03:04 -07:00
Gabriel Luong
0f9310447e Bug 1373483 - Add telemetry for the grid inspector. r=pbro. data-r=bsmedberg 2017-06-20 14:41:13 -07:00
Joel Maher
35b1033d42 Bug 1357635 - Intermittent toolkit/components/extensions/test/mochitest/test_ext_proxy.html. temporarily disable on android/debug. r=gbrown
MozReview-Commit-ID: vDFMMzq1jS
2017-06-26 09:53:59 -04:00
DimiL
c301aff125 Bug 1366920 - SafeBrowinsg V4 only in 56. r=francois
MozReview-Commit-ID: KWhPC7YWzAh

--HG--
extra : rebase_source : 7fd8bea46709d2eade501b1ce781857ccdc3f189
2017-06-14 09:56:27 +08:00
Sebastian Hengst
efd723cdad merge mozilla-central to autoland. r=merge 2017-06-18 00:21:41 +02:00
Sebastian Hengst
3654d560d6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DPQl41S3ZkU
2017-06-17 22:26:03 +02:00
Masatoshi Kimura
3231cb3535 Bug 1372886 - Remove dead parameters from nsIConverterInputStream.init(). r=hsivonen
MozReview-Commit-ID: GliLHLsUWjt

--HG--
extra : rebase_source : 50d3f4680a498125ddf600b0d64f6740b0229f80
2017-06-17 19:30:09 +09:00
Masatoshi Kimura
838ccc4108 Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
MozReview-Commit-ID: 5O5WtxbmATQ

--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
Wes Kocher
b0560565d7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8k4A4tEOtIT
2017-06-16 18:17:38 -07:00
Wes Kocher
39066d6984 Merge inbound to central, a=merge
MozReview-Commit-ID: 2k4filK9zyX
2017-06-16 17:58:58 -07:00
Sebastian Hengst
1a8b5f9bbd Backed out changeset 0cf7134d243a (bug 1095426) for frequently failing xpcshell's test_bookmark_engine.js | test_sync_dateAdded, especially on OS X. r=backout 2017-06-16 19:12:58 +02:00
Sebastian Hengst
7ca69ab78f Backed out changeset 4c465fe2d7c9 (bug 1095426) 2017-06-16 19:12:18 +02:00
Florian Quèze
e2330580ff Bug 1373387 - Places should not be initialized by the SanityTest window, r=mak. 2017-06-16 09:58:06 +02:00
Sebastian Hengst
265affc002 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5wTyHWufcCh
2017-06-16 09:50:00 +02:00
Gerald Squelart
cb4bc96af2 Bug 1371882 - MEMORYBLOCKCACHE_ERRORS telemetry to catch unexpected errors without crashing - r=cpearce,francois
No errors are expected to happen in MemoryBlockCache (except a few
'InitAllocation', which would still be good to know about), but instead of
taking drastic measures in these cases (i.e., crash), I would prefer to
collect some telemetry first.

MozReview-Commit-ID: 4WdFS34lgzj

--HG--
extra : rebase_source : 5600d0b93d4d438d8cc9cf5a74d9fbf24fe2822e
2017-06-12 16:22:28 +12:00
Wes Kocher
c0147ff641 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Gpr1rVG4pMo
2017-06-15 16:26:40 -07:00
Wes Kocher
208ec84119 Merge inbound to central, a=merge
MozReview-Commit-ID: AiSwcmvIrE
2017-06-15 16:22:40 -07:00
Ryan Hunt
fd8c1c280d Bug 1373285 - Remove keyboard apz telemetry probes. r=smaug
These are no longer needed as we have the data we were looking for.

MozReview-Commit-ID: 3WlPng3mAwt

--HG--
extra : rebase_source : 73a390f85f5c0894d53a5e8ee10b19278af58282
extra : amend_source : 6a2b9ff4191715d0ac6e43f92af1e64c59123ac6
2017-06-15 13:55:26 -05:00
Sebastian Hengst
9b6197930c merge mozilla-central to autoland. r=merge a=merge 2017-06-15 20:13:40 +02:00
Andrew McCreight
ef2442e781 Bug 1373057 - Normalize script source counts in about:memory diffs. r=erahm
We care about the memory used by these scripts, not by the precise
count of them.
2017-06-14 15:36:00 -04:00
Sebastian Hengst
1b26da1b2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-15 11:17:07 +02:00
Sebastian Hengst
20d16dadd3 merge mozilla-inbount to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 36YqbsnO3en
2017-06-15 11:11:30 +02:00
Michael Layzell
7121551189 Bug 1357829 - Part 2: Use profiler_suspend_sample_thread in the background hang monitor, r=froydnj
This patch uses the profiler_suspend_sample_thread method which was added in
part 1.

With this patch, we no longer manually run code to pause the target thread,
instead using the profiler's provided code to do so. In addition, we no longer
manually walk the stack to collect native stack frames, instead relying on the
profiler's cross-platform stack walking logic.

This helps remove some of the code from ThreadStackHelper which was redundant
with the profiler. Much of the pseudostack code in ThreadStackHelper is also
redundant, and should hopefully be eliminated in a follow-up.

MozReview-Commit-ID: 4RjLHt6inH9
2017-06-14 12:27:49 -04:00
Mats Palmgren
3d62b7ca50 Bug 1372413 - Use RemoveEntry(EntryType*) instead of RemoveEntry(KeyType) to avoid another hashtable lookup. r=mak
MozReview-Commit-ID: 1isuxbPXV94
2017-06-14 17:27:25 +02:00
Carsten "Tomcat" Book
4f44c026f2 Merge mozilla-central to mozilla-inbound 2017-06-14 14:50:11 +02:00
Carsten "Tomcat" Book
5e8c1546ec merge mozilla-inbound to mozilla-central a=merge 2017-06-14 14:45:26 +02:00
Ehsan Akhgari
2fef4ff0fb Bug 1372794 - Cache the form autocomplete service instead of repeatedly getting it in the form fill controller; r=MattN 2017-06-14 08:24:16 -04:00
Bob Silverberg
d2bd410230 Bug 1362787 - Implement chrome.privacy.websites.referrersEnabled, r=aswan
MozReview-Commit-ID: JGowabu23cG

--HG--
extra : rebase_source : 450828771095b936c911de74224cde54ec319b6a
2017-06-12 13:15:53 -04:00
Mark Banner
3309e57749 Bug 1372496 - Speed up bookmarks.eraseEverything and bookmarks.remove APIs by handling updating of frencencies outside of the main transaction. r=mak
MozReview-Commit-ID: FuSLHB23yNt

--HG--
extra : rebase_source : 8b08d11ba04845711335ac72d1974c93705b67bd
2017-06-15 11:38:22 +01:00
Olli Pettay
0bb08227bb Bug 1372042 - Add telemetry about running collectors during idle time, r=mccr8 2017-06-14 23:41:22 +03:00
DimiL
e218041b0a Bug 1329366 - Avoid the reuse of the same chunk numbers in classifierHelper.js. r=francois
This patch includes following fix in classifierHelper.js:
1. Avoid the reuse of same chunk numbers
2. Remove unused removeUrlFromDB function

MozReview-Commit-ID: XK1oHBa8gf

--HG--
extra : rebase_source : bf11c44ae98f34de43ac65ad4558ee53894e5568
2017-06-12 17:04:59 +08:00
Kris Maglione
7bb88fc9de Bug 1371246: Handle serializing Blobs in StructuredCloneHolder instances. r=billm
MozReview-Commit-ID: 2n15NCnLC48

--HG--
extra : rebase_source : b9769b5b79d6d9dd6277a783963d83a0e0ab88eb
extra : amend_source : ac9167122891a374b4fd7219feaa7d7afbf6f5f0
2017-06-12 14:42:49 -07:00
Wes Kocher
1af6d5cf57 Merge inbound to central, a=merge
UPGRADE_NSS_RELEASE
MozReview-Commit-ID: CBIFPwA5aNp

--HG--
extra : amend_source : 035a5be59d0046a643d0f836a95195e8c4ade4a6
2017-06-13 18:27:10 -07:00
DimiL
5fb8503858 Bug 1312888 - Fix incorrect debug output for V2 lists. r=hchang
MozReview-Commit-ID: A6tb38RnUN3

--HG--
extra : rebase_source : 1d27102f0700a6443ee33c1ec6458fafd20d0d63
2017-06-14 15:32:53 +08:00
Andrew Swan
820b147630 Bug 1338327 Handle .cmd files with spaces in subprocess r=kmag
MozReview-Commit-ID: 9zr97CyY5in

--HG--
extra : rebase_source : 733b47dc230a7809960d8790e88e9616544b0bc1
2017-06-12 14:51:32 -07:00
Henri Sivonen
2f2bb984f8 Bug 1372994 - Clear up leftover ISO-8859-1 encoding names. r=emk
MozReview-Commit-ID: IBuUPa9H9Q2

--HG--
extra : rebase_source : fb8db0c70caeec179d50b9ecaeb811d1e87eb0dd
2017-06-15 10:35:22 +03:00
DimiL
f8c93f3b70 Bug 1366965 - Remove telemetry that compare SafeBrowsing V2 & V4. r=francois
MozReview-Commit-ID: 7vudFBK3rdp

--HG--
extra : rebase_source : ef027d6ec3d44b16dd4115f599e839aab1eadb88
2017-06-12 11:27:19 +08:00
Milan Sreckovic
8a9d97395a Bug 789945: Part 4. Explicitly make some pref save be blocking calls. r=bsmedberg
MozReview-Commit-ID: 1MEp7o65HAV

--HG--
extra : rebase_source : b787c78253ad22b6fd4785e7a66f426af4f9b424
2017-06-14 13:38:17 -04:00
Wes Kocher
ebf35623cd Merge mozilla-central to autoland a=merge
UPGRADE_NSS_RELEASE
2017-06-13 18:57:32 -07:00
Ray Lin
9e6ffa5462 Bug 1300995 - Part 1. Add a footer on formautofill popup to let users open a preferences privacy tab when click on it. r=MattN
MozReview-Commit-ID: Izr6IbHlkLY

--HG--
extra : rebase_source : e5730884378c94d8db9c12edf48f947ce86e4808
2017-06-01 21:53:37 +08:00
Iaroslav (yarik) Sheptykin
10c8f1458d Bug 1371927: Build KeyedStackCapture only if profiler enabled. r=gfritzsche
MozReview-Commit-ID: 9IoVY2K5hXc
2017-06-10 19:59:16 +02:00
Jan de Mooij
83f290de99 Bug 1370608 part 1 - Move newEnumerate hook from ObjectOps to ClassOps. r=evilpie,bz 2017-06-14 10:37:44 +02:00
Bob Silverberg
71dee24643 Bug 1368545 - Prevent the ExtensionPreferencesManager from mistakenly overriding a user set preference, r=aswan
Prior to this change the code that automatically updates prefs when an add-on is disabled, reenabled or uninstalled
could overwrite changes to a pref that were made manually by a user, either via the UI or via about:config.

This change introduces a check into each of those actions that verifies that the current state of the pref
is what we expect it to be based on the data we have about add-on settings, and if it is not then we
do not change the pref.

MozReview-Commit-ID: 5DpEg2fGwIW

--HG--
extra : rebase_source : b27e8b8b851170a7e23395f82efca5da5bdae2ee
2017-06-05 14:22:05 -04:00
Carsten "Tomcat" Book
d67ef71097 merge mozilla-inbound to mozilla-central a=merge 2017-06-13 12:09:48 +02:00
Carsten "Tomcat" Book
972df8adde merge autoland to mozilla-central a=merge 2017-06-13 12:08:12 +02:00
Carsten "Tomcat" Book
edb48d1ec8 Backed out changeset 86bec347e28b (bug 1371927) on request from gfritsche 2017-06-13 11:11:14 +02:00
Bill McCloskey
89aa3c7c0f Bug 1371136 - Use contexts more safely in performance monitoring service (r=mccr8)
GetCurrentPhysicalThread() uses TLS, but it won't be called very often here.

MozReview-Commit-ID: HIDRt8btJCb
2017-06-12 20:21:43 -07:00
Wes Kocher
f8412cddff Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: 4j8ngmg8FAD
2017-06-12 17:02:56 -07:00
Wes Kocher
6e40405064 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 5Agk5fuwDGU
2017-06-12 17:11:10 -07:00
Sebastian Hengst
f3bf820bfd Backed out changeset 3d1ce85e6348 (bug 1088760) for bustage, at least on Android at layout/generic/nsPluginFrame.cpp:1612. r=backout 2017-06-13 00:30:03 +02:00
Patrick Brosset
336f2049fa Bug 987877 - Add Copy XPath menu item to the inspector; r=miker
MozReview-Commit-ID: A5g0MmWovjk

--HG--
extra : rebase_source : c426b97a789847ba8a6c1a7d3f8cc81cd20a2fdc
2017-06-12 16:25:48 +02:00
Kris Maglione
52de4b94ca Bug 1370263: Don't try to match content scripts for non-codebase principals. r=mixedpuppy
MozReview-Commit-ID: 96lQfKC9PGx

--HG--
extra : rebase_source : da431ada55fda32be5335a18df5d925e2a84ebbb
extra : histedit_source : abfd512d5460d0d1fe1161dd7f833f55f231726f
2017-06-06 14:18:49 -07:00
Alexis Beingessner
c75211cb95 Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel
MozReview-Commit-ID: K1WUIOnvazF
2017-06-12 17:32:48 -04:00
Wes Kocher
101940382d Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: K0rvhhOLins
2017-06-12 17:13:12 -07:00
Mark Striemer
f785de42e9 Bug 1369782 - Require user interaction for downloads.open() r=aswan
MozReview-Commit-ID: 9RkIOfZEfnf

--HG--
extra : rebase_source : 0fa336cb476cb560fc2bb0117be32d463d11b414
2017-06-02 18:34:08 -05:00
Kris Maglione
b31e211aa2 Bug 1368289: Simplify frameloader global metadata tagging. r=mixedpuppy
MozReview-Commit-ID: 1hgTtWysmya

--HG--
extra : rebase_source : 1ef46a61bd805e9bf0573ed22db005217afb5478
2017-05-27 17:30:53 -07:00
Gerald Squelart
0fa477a0cd Bug 1371205 - MEDIACACHESTREAM_NOTIFIED_LENGTH captures the HTTP header length given to MediaCacheStream - r=cpearce,francois
MozReview-Commit-ID: 9muZcpfD2vG

--HG--
extra : rebase_source : 11de88ac8f0788c3e04ef206bcdacc4ef112a139
2017-06-08 20:26:24 +12:00
Mark Banner
58d6c1fe85 Bug 1095426 - Convert JSON backups code to the new async Bookmarks.jsm API. r=mak
MozReview-Commit-ID: FNZZGwWVSI2

--HG--
extra : rebase_source : d7f378ad2e5a589b859da7c7e3f21d9b6a985d95
2017-05-12 08:04:51 +01:00
Mark Banner
5c7b657d3c Bug 1095426 - Make the bookmarks.json test file prettified so it can be read easily. r=mak
MozReview-Commit-ID: 2owsEkNEHgi

--HG--
extra : rebase_source : f853a2766bd583c0e2684fd36302091f1ad5bdf9
2017-06-07 11:43:40 +01:00
Alessio Placitelli
2e479399ce Bug 1367029 - Defer gathering isDefaultBrowser until session restore completes. r=gfritzsche
Gathering this data point takes up to 100ms on reference hardware and might impact
startup performance.

MozReview-Commit-ID: 32sd5uUF08N

--HG--
extra : rebase_source : a80da25b384b47995cc25db9a711ef02ca5842cd
2017-06-14 11:57:14 +02:00
Sebastian Hengst
a2b77a58e3 merge mozilla-central to autoland. r=merge a=merge 2017-06-16 09:51:07 +02:00
DimiL
0f52e93b04 Bug 1373121 - about:url-classifier: Support get back-off time. r=francois
MozReview-Commit-ID: 6Q83TOo7jHK

--HG--
extra : rebase_source : b2cf6e8952cde7097caf6054946c86308f8d2c31
2017-06-15 11:41:13 +08:00
Kate McKinley
37a7ace256 Bug 1359987 - Update HSTS priming telemetry r=ckerschb,francois,mayhemer p=francois
Collect telemetry for all requests to get an exact percentage of
requests that are subject to HSTS priming, and how many result in an
HSTS Priming request being sent. Clean up telemetry to remove instances
of double counting requests if a priming request was sent.

HSTSPrimingListener::ReportTiming was using mCallback to calculate
timing telemetry, but we were calling swap() on the nsCOMPtr. Give it an
explicit argument for the callback.

Add tests for telemetry values to all of the HSTS priming tests. This
tests for the minimum as telemetry may be gathered on background or
other requests.

MozReview-Commit-ID: 5V2Nf0Ugc3r

--HG--
extra : rebase_source : daa357219a77d912a78b95a703430f39d884c6ab
2017-05-09 15:36:07 -07:00
Rajesh Kathiriya
6d3eb2c851 Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8
MozReview-Commit-ID: AH9ArRkjh78

--HG--
extra : rebase_source : bdd4c4f8a4779ea373479a9cba772c036e00e816
2017-06-13 00:23:54 +05:30
Wes Kocher
296d2b492b Merge m-c to autoland, a=merge
MozReview-Commit-ID: B3DzZrZb3AB
2017-06-16 18:28:40 -07:00
Andrew Swan
7af21240da Bug 1373386 Make xpcshell signing shims mark extensions as privileged by default r=rhelmer
MozReview-Commit-ID: B6zFBwbjhax

--HG--
extra : rebase_source : 4337a821bd3d1fe9609d1ffa9ae0a57e5b1aba3e
extra : source : bdc1d2d7a61586829d2926be2a9e3d4e16ef9e33
2017-06-08 12:52:50 -07:00
milindl
253ddcbcb0 Bug 850636 - add an option outSerializationDuration to measure the time for message serialization,r=Yoric
This changes the `Scheduler.post` method to check for options in the `args`,
and accordingly update it with the time it takes for running `Scheduler.worker.post`.

This also changes the `test_duration.js` to add another duration (serialization duration)
for the operations where `Scheduler.post` is called.

MozReview-Commit-ID: EGPeHfMYI1U

--HG--
extra : rebase_source : caa281e6ad9cee1a39a7196c7253cae782c771db
2017-06-03 21:44:37 +05:30
Ehsan Akhgari
7fccf77722 Bug 1373063 - Make nsFormFillController::HandleEvent() a bit faster by avoiding some string comparisons; r=MattN 2017-06-15 09:39:30 -04:00
steveck-chung
76d945972a Bug 990199 - Record address autofill enabled state. r=bsmedberg,MattN
MozReview-Commit-ID: ILO7iMpUH1q

--HG--
extra : rebase_source : 244e868c5bf42bf57ac97c73f1a2fc7be806c9e3
2017-04-26 15:20:21 +08:00
Kirk Steuber
a900289b51 Bug 1331292 - Bump up expiration of tab spinner probes r=bsmedberg,mconley
MozReview-Commit-ID: ABcPgE07Dvm

--HG--
extra : rebase_source : 4e923de4c94fccd464016154bd58b58e352e1a82
2017-06-15 08:19:22 -07:00
Luca Greco
c85585ac17 Bug 1293298 - Implement events in SubTypes defined in the WebExtensions API schema files. r=aswan
MozReview-Commit-ID: CAYaenfSih1

--HG--
extra : rebase_source : 2c78836c03e7fc8b16164221a16329577b64033a
2017-06-01 20:02:54 +02:00
Tomislav Jovanovic
fdcf0c075f Bug 1333403 - Part 3: Fix using browser.menus from multiple contexts r=kmag
MozReview-Commit-ID: XlP72cr0VT

--HG--
extra : rebase_source : bbd135dfbc9531f33b732617c81ac86bbb7a6f45
2017-04-25 23:51:26 +02:00
Tomislav Jovanovic
fc1fbb5770 Bug 1333403 - Part 2: Implement browser.menus as alias for contextMenus r=kmag
MozReview-Commit-ID: JPaKsOyavDb

--HG--
rename : browser/components/extensions/ext-c-contextMenus.js => browser/components/extensions/ext-c-menus.js
rename : browser/components/extensions/ext-contextMenus.js => browser/components/extensions/ext-menus.js
rename : browser/components/extensions/schemas/context_menus.json => browser/components/extensions/schemas/menus.json
rename : browser/components/extensions/schemas/context_menus_internal.json => browser/components/extensions/schemas/menus_internal.json
rename : browser/components/extensions/test/browser/browser_ext_contextMenus_chrome.js => browser/components/extensions/test/browser/browser_ext_menus.js
extra : rebase_source : cfdc20e9bbec7fb93d7055925d9b3037d3ea1501
2017-06-10 16:43:20 +02:00
Tomislav Jovanovic
a66827ba70 Bug 1333403 - Part 1: Implement $import keyword for schema namespaces r=kmag
MozReview-Commit-ID: 5CYsQa3b05C

--HG--
extra : rebase_source : dc804509a2fa9b526657c09d79403ec2c73db618
2017-06-07 16:44:19 +02:00
Sebastian Hengst
f572cdea68 Backed out changeset 37b0fcb54cba (bug 1333403) for eslint failure: browser/components/extensions/ext-c-menus.js:158:24 | 'SingletonEventManager' is not defined. r=backout 2017-06-10 16:07:23 +02:00
Sebastian Hengst
7f39e1a3f2 Backed out changeset cfc47df74537 (bug 1333403)
--HG--
rename : browser/components/extensions/ext-c-menus.js => browser/components/extensions/ext-c-contextMenus.js
rename : browser/components/extensions/ext-menus.js => browser/components/extensions/ext-contextMenus.js
rename : browser/components/extensions/schemas/menus.json => browser/components/extensions/schemas/context_menus.json
rename : browser/components/extensions/schemas/menus_internal.json => browser/components/extensions/schemas/context_menus_internal.json
rename : browser/components/extensions/test/browser/browser_ext_menus.js => browser/components/extensions/test/browser/browser_ext_contextMenus_chrome.js
2017-06-10 16:06:44 +02:00
Sebastian Hengst
ddda5460bc Backed out changeset d842c744941e (bug 1333403) 2017-06-10 16:06:12 +02:00
Tomislav Jovanovic
05b61a9cc0 Bug 1333403 - Part 3: Fix using browser.menus from multiple contexts r=kmag
MozReview-Commit-ID: XlP72cr0VT

--HG--
extra : rebase_source : fb2ad1fe054aaedeecb7006aef62cb442d4899ab
2017-04-25 23:51:26 +02:00