Commit Graph

37782 Commits

Author SHA1 Message Date
Markus Stange
48513de60f Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r=froydnj
As far as I can tell, this covers all the remaining threads which we start
using PR_CreateThread, except the ones that are created inside NSPR or NSS.

This adds a AutoProfilerRegister stack class for easy registering and
unregistering. There are a few places where we still call
profiler_register_thread() and profiler_unregister_thread() manually, either
because registration happens conditionally, or because there is a variable that
gets put on the stack before the AutoProfilerRegister (e.g. a dynamically
generated thread name). AutoProfilerRegister needs to be the first object on
the stack because it uses its own `this` pointer as the stack top address.

MozReview-Commit-ID: 3vwhS55Yzt

--HG--
extra : rebase_source : dffab11abf7d4b57fa54475fd22e71b84375cd7b
2016-12-29 22:32:52 +01:00
Markus Stange
1b72f37c98 Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj
MozReview-Commit-ID: 7W1dt2BBKJZ

--HG--
extra : rebase_source : ad47978ef81d048a90b9803803201eee32974024
2016-12-21 11:43:50 +01:00
Markus Stange
448c1b51ef Bug 1323100 - Use NS_NewNamedThread for the Filewatcher IO thread. r=froydnj
MozReview-Commit-ID: 18qfXNx8BtJ

--HG--
extra : rebase_source : 406d59b7e840466af49aa5197e12201764f3ed34
2016-12-21 11:34:36 +01:00
Jared Wein
2bd8ec9d21 Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
MozReview-Commit-ID: 6NqMryvKH9S

--HG--
extra : rebase_source : 264815538de1d0698cbd82e1b995be1b1b07f373
2016-12-28 12:22:09 -05:00
Jared Wein
ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
e916e6e896 Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
MozReview-Commit-ID: 6NqMryvKH9S

--HG--
extra : rebase_source : 4085737de26adb421eb9b3c9e9841d44a1c89fa4
2016-12-28 12:22:09 -05:00
Jared Wein
7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Wes Kocher
0747771468 Merge inbound to central, a=merge
MozReview-Commit-ID: 1rhhMOnW569
2016-12-29 12:03:47 -08:00
Mark Banner
32471628fa Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
MozReview-Commit-ID: DYJa1uNVagw

--HG--
extra : rebase_source : 11649d299fb6654bcadfb0e04bc0d8f19552529e
2016-12-23 16:00:46 +00:00
aceman
81424a65e3 Bug 1142224 - focus the menulist (instead of the inputbox) once it stops being editable. r=enndeakin 2016-12-21 10:03:00 +01:00
malayaleecoder
80b5f709a6 Bug 1325099 - reset imported.Debugging.fake value and catch TypeError. r=jmaher
MozReview-Commit-ID: ElEGCLoSAeC
2016-12-24 02:44:56 +05:30
Ryan Hunt
b8339fea5a Bug 1312881 - Add a telemetry probe to track the max scrollY of a page. r=jaws data-review=bsmedberg
--HG--
extra : rebase_source : 39f570f24389e35c7222ecd8873a90a1a3443fdd
2016-12-24 18:17:35 -06:00
Ryan Hunt
850b4f052e Bug 1297867 - Add a telemetry probe to track the amount of scrolling in a page. r=jaws data-review=bsmedberg
--HG--
extra : rebase_source : 262336bc4fa586352f11846a6d64734c99b00e64
2016-12-24 18:15:24 -06:00
Aman Dwivedi
6cbcc32370 Bug 1323685 - Remove workarounds for bug 449811. r=mak 2016-12-22 16:33:28 +05:30
Wes Kocher
6262320e74 Merge m-c to autoland, a=merge 2016-12-28 16:19:59 -08:00
Masatoshi Kimura
5aabeea338 Bug 1325217 - Remove Windows Vista from <supportedOS> manifest. r=jimm
MozReview-Commit-ID: BoZo3XKCgv0

--HG--
extra : rebase_source : 8ad6fa7d6fcc3741e308287a57471f61dd62f97b
2016-12-22 07:17:30 +09:00
Ryan VanderMeulen
afa6b83a60 Merge m-c to autoland. a=merge 2016-12-27 00:01:54 -05:00
Ryan VanderMeulen
51aa673e28 Merge inbound to m-c. a=merge 2016-12-27 00:00:22 -05:00
Dão Gottwald
401886e54a Bug 1324049 - Implement pref for opening the privacy policy in a background tab on first run instead of showing the data choices infobar. r=gijs 2016-12-25 07:36:25 +01:00
Dão Gottwald
aa40885440 Bug 1323810 - Remove Windows XP and Vista theme code and resources. r=Paenglab
MozReview-Commit-ID: 6y3CJ8wJH6K

--HG--
rename : browser/themes/windows/Toolbar-aero.png => browser/themes/windows/Toolbar-win7.png
rename : browser/themes/windows/Toolbar-aero@2x.png => browser/themes/windows/Toolbar-win7@2x.png
rename : browser/themes/windows/downloads/download-glow-menuPanel-XPVista7.png => browser/themes/windows/downloads/download-glow-menuPanel-win7.png
rename : browser/themes/windows/downloads/download-glow-XPVista7.png => browser/themes/windows/downloads/download-glow-win7.png
rename : browser/themes/windows/privatebrowsing-mask-tabstrip-XPVista7.png => browser/themes/windows/privatebrowsing-mask-tabstrip-win7.png
rename : browser/themes/windows/privatebrowsing-mask-titlebar-XPVista7-tall.png => browser/themes/windows/privatebrowsing-mask-titlebar-win7-tall.png
rename : browser/themes/windows/privatebrowsing-mask-titlebar-XPVista7.png => browser/themes/windows/privatebrowsing-mask-titlebar-win7.png
rename : browser/themes/windows/reload-stop-go-XPVista7.png => browser/themes/windows/reload-stop-go-win7.png
rename : browser/themes/windows/reload-stop-go-XPVista7@2x.png => browser/themes/windows/reload-stop-go-win7@2x.png
rename : browser/themes/windows/sync-horizontalbar-XPVista7.png => browser/themes/windows/sync-horizontalbar-win7.png
rename : browser/themes/windows/sync-horizontalbar-XPVista7@2x.png => browser/themes/windows/sync-horizontalbar-win7@2x.png
rename : browser/themes/windows/syncProgress-horizontalbar-XPVista7.png => browser/themes/windows/syncProgress-horizontalbar-win7.png
rename : browser/themes/windows/syncProgress-horizontalbar-XPVista7@2x.png => browser/themes/windows/syncProgress-horizontalbar-win7@2x.png
rename : browser/themes/windows/tabbrowser/newtab-inverted-XPVista7.svg => browser/themes/windows/tabbrowser/newtab-inverted-win7.svg
rename : browser/themes/windows/tabbrowser/newtab-XPVista7.svg => browser/themes/windows/tabbrowser/newtab-win7.svg
rename : browser/themes/windows/tabbrowser/tab-arrow-left-XPVista7.svg => browser/themes/windows/tabbrowser/tab-arrow-left-win7.svg
rename : browser/themes/windows/toolbarbutton-dropdown-arrow-XPVista7.png => browser/themes/windows/toolbarbutton-dropdown-arrow-win7.png
rename : browser/themes/windows/urlbar-history-dropmarker-XPVista7.png => browser/themes/windows/urlbar-history-dropmarker-win7.png
rename : browser/themes/windows/urlbar-history-dropmarker-XPVista7@2x.png => browser/themes/windows/urlbar-history-dropmarker-win7@2x.png
rename : toolkit/themes/windows/global/icons/close-inverted-XPVista7.png => toolkit/themes/windows/global/icons/close-inverted-win7.png
rename : toolkit/themes/windows/global/icons/close-inverted-XPVista7@2x.png => toolkit/themes/windows/global/icons/close-inverted-win7@2x.png
rename : toolkit/themes/windows/global/icons/close-XPVista7.png => toolkit/themes/windows/global/icons/close-win7.png
rename : toolkit/themes/windows/global/icons/close-XPVista7@2x.png => toolkit/themes/windows/global/icons/close-win7@2x.png
rename : toolkit/themes/windows/global/tree/twisty-Vista78.svg => toolkit/themes/windows/global/tree/twisty-preWin10.svg
extra : rebase_source : bc212d7b7bd2289b6149a95e90fb34d6e741b9d7
2016-12-23 20:44:26 +01:00
Masatoshi Kimura
a473040cee Backed out changeset 7e747433d1c9 (bug 1301640) for causing bug 1325751. r=backout
MozReview-Commit-ID: GEYAveO6sUj
2016-12-25 10:43:04 +09:00
Phil Ringnalda
b94a0cbd73 Merge m-i to m-c, a=merge 2016-12-24 16:51:17 -08:00
Kris Maglione
a60dac64bc Bug 1325149: Don't download dummy config when GMP updates are disabled. r=rhelmer
MozReview-Commit-ID: DfKOxpTIiXE

--HG--
extra : rebase_source : e19785f79d9b4fb0b61cd4aeee5eb0a4b742e0c0
extra : amend_source : ff19aa3f3bed94fbc70bbaee1bb95bbb02f017f0
2016-12-22 18:37:17 -08:00
Steve Chung
7d449d1637 Bug 1304634 - Part 3: Ensure the profile search is registed while search started, r=MattN
MozReview-Commit-ID: 20jCHDM39SH

--HG--
extra : rebase_source : 04a140fd7587fe50a98d82fda43e360f64b0632b
2016-12-22 12:07:02 +08:00
Robert Helmer
37742f608d Bug 1325501 - move Telemetry from XHR to ServiceRequest r=gfritzsche
MozReview-Commit-ID: 6ZyLQknPVFx

--HG--
extra : rebase_source : efc06108bc24a75c0392dc4e6ddeae8b45cddf53
2016-12-22 20:38:58 -08:00
Robert Helmer
fb615ad9b0 Bug 1325501 - move addons manager from XHR to ServiceRequest r=kmag
MozReview-Commit-ID: J0ytKWqDOr3

--HG--
extra : rebase_source : c87a158d5cd47598c8520ce96c796b1f4ca0ed17
2016-12-22 19:54:57 -08:00
Robert Helmer
505a86593c Bug 1325501 - Adds ServiceRequest as a drop-in replacement for XHR, which uses conservative TLS settings r=mossop
MozReview-Commit-ID: 5937m90Q948

--HG--
extra : rebase_source : a5c107e486ef1dc646c8d730e658e9693a535883
2016-12-22 15:56:37 -08:00
Wes Kocher
65f15b63ea Backed out 3 changesets (bug 1325501) for xpcshell failures a=backout
Backed out changeset b6e50911ef79 (bug 1325501)
Backed out changeset c0493757d21e (bug 1325501)
Backed out changeset 880decff07b3 (bug 1325501)
2016-12-24 00:38:09 -08:00
Robert Helmer
b03f98cd3d Bug 1325501 - move Telemetry from XHR to ServiceRequest r=gfritzsche
MozReview-Commit-ID: 6ZyLQknPVFx

--HG--
extra : rebase_source : 5fb4b7052e00ee5b41036ef825c0efeca72401c6
2016-12-22 20:38:58 -08:00
Robert Helmer
42e9031acf Bug 1325501 - move addons manager from XHR to ServiceRequest r=kmag
MozReview-Commit-ID: J0ytKWqDOr3

--HG--
extra : rebase_source : e09c9ee318ae8201ebcdac2cd3b40f31fe8765a1
2016-12-22 19:54:57 -08:00
Robert Helmer
afe2c03ab1 Bug 1325501 - Adds ServiceRequest as a drop-in replacement for XHR, which uses conservative TLS settings r=mossop
MozReview-Commit-ID: 5937m90Q948

--HG--
extra : rebase_source : a5c107e486ef1dc646c8d730e658e9693a535883
2016-12-22 15:56:37 -08:00
Wes Kocher
c788de8394 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Ir5MaTTboph
2016-12-23 14:40:22 -08:00
Timothy Guan-tin Chien
4a917a1597 Bug 1318203 - Don't show autocomplete UI on Password Field if it is already populated with text, r=MattN
MozReview-Commit-ID: L3cUxHYIE5R

--HG--
extra : rebase_source : 4cd4bc67423edc09838e139cf2472a3577aed9d9
2016-12-23 14:01:39 -05:00
Matthew Noorenberghe
00a9224df3 Bug 1318203 - Login manager autoCompleteSearchAsync helper to not complete canceled searches. r=mossop
MozReview-Commit-ID: wBcORBANyS

--HG--
extra : rebase_source : 5bc31bb25afe7153dfcfed3cfc9c27b2cb34af7b
2016-12-23 14:01:18 -05:00
Ryan Hunt
4097eaa4de Backed out changeset 8913967cd7e6 (Bug 1297867) for causing Bug 1325645. r=backout
--HG--
extra : rebase_source : e3936b8df8f19a794c125b094e0f6ff0a2220c58
extra : amend_source : f9152ce765f49b13710360be114d1c0e5d607a7b
2016-12-23 15:36:10 -06:00
Ryan Hunt
5cd9ee132a Backed out changeset 9560724b684c (Bug 1312881) for causing Bug 1325645. r=backout
--HG--
extra : rebase_source : 086eb6fccbc19b252f0928d8e3d13eaa873e54ff
2016-12-23 15:35:07 -06:00
Dave Townsend
406185aeec Bug 1322722: Ensure that the directory for the postSigningData file exists before attempting to write it. r=mhowell 2016-12-23 13:05:15 -08:00
Dave Townsend
fba49792c5 Bug 1322722: Fix file permissions errors on taskcluster test runs by forcing extracted permissions to not be read only. r=rhelmer 2016-12-23 13:04:26 -08:00
Ehsan Akhgari
a0fd21a161 Bug 1321874 - Part 2: Use the passive tracking protection API to determine whether a script is tracking; r=bkelly 2016-12-23 15:38:43 -05:00
Matthew Noorenberghe
1af3925e1b Bug 1325603 - Remove broken perf_autocomplete.js local performance test. r=MattN
MozReview-Commit-ID: cMxq66FHVs

--HG--
extra : rebase_source : 6ca89ce8ef77252189a98facce2941c328dcf159
2016-12-23 13:08:35 -05:00
David Keeler
104c38c723 bug 1324071 - add nsIPK11Token.hasPassword to replace unnecessary uses of nsIPKCS11Slot.status r=Cykesiopka,gps,MattN,sebastian
MozReview-Commit-ID: C2jwQHPEDC0

--HG--
extra : rebase_source : 16271e70ef32da8657cdc4f8df41b7822430e3bf
2016-12-02 15:09:35 -08:00
Wes Kocher
60785fce6d Merge inbound to central, a=merge
MozReview-Commit-ID: I54WGOLqHI2
2016-12-22 18:37:07 -08:00
Kit Cambridge
a509364284 Bug 1319175 - Add a data setter and beforeSave hook to JSONFile. r=MattN
* The `data` setter sets the backing data object to a new value, and
  flips `dataReady` so that `ensureDataReady` and `load` don't read
  stale data from disk. This can be used to clear existing data.
* The `beforeSave` hook is called from `_save`, as part of the deferred
  task. This can be used to create intermediate directories containing
  the file, or run other pre-save tasks that shouldn't be interrupted
  by shutdown.

MozReview-Commit-ID: AzOx7u2Rali

--HG--
extra : rebase_source : 42c0235774ca34e097e858b6ef796c4d1bd4f122
2016-12-19 08:32:29 -08:00
Jalen Adams
dbbd5c4ff8 Bug 1324171 - Use 'Search' as placeholder text instead of as a label in-front of search fields. r=jaws
MozReview-Commit-ID: 8eZ7Hy9DTuy

--HG--
extra : rebase_source : 048ea553743bf917508ae5016c7b8e3ecb5b7ed4
2016-12-22 11:32:40 -05:00
Ryan Hunt
0da2f2a52c Bug 1312881 - Add a telemetry probe to track the max scrollY of a page. r=mconley data-review=bsmedberg
--HG--
extra : rebase_source : c575bf8da0ea6e3a732520f48a0f12a9d922646b
2016-12-14 13:21:45 -06:00
Ryan Hunt
f8e537b751 Bug 1297867 - Add a telemetry probe to track the amount of scrolling in a page. r=mconley data-review=bsmedberg
--HG--
extra : rebase_source : adb84dea4dd2ed21da90404866bea56a6026cc4e
2016-12-14 13:19:52 -06:00
Carsten "Tomcat" Book
0aed7a4ac5 Merge mozilla-central to mozilla-inbound
--HG--
rename : testing/docker/base-build/HASH => taskcluster/docker/base-build/HASH
rename : testing/docker/base-test/HASH => taskcluster/docker/base-test/HASH
rename : testing/docker/centos6-build-upd/HASH => taskcluster/docker/centos6-build-upd/HASH
rename : testing/docker/centos6-build/HASH => taskcluster/docker/centos6-build/HASH
rename : testing/docker/decision/HASH => taskcluster/docker/decision/HASH
rename : testing/docker/image_builder/HASH => taskcluster/docker/image_builder/HASH
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/tester/HASH => taskcluster/docker/tester/HASH
2016-12-22 16:25:35 +01:00
André Bargull
38d83d0bee Backed out changeset 5a110ad242ea (bug 1319926). r=jandem 2016-12-22 03:28:32 -08:00
Masayuki Nakano
4f6e3ae44a Bug 1320467 <scrollbox>.lineScrollAmount should return average width or height r=mstange
Currently, <scrollbox>.lineScrollAmount returns its font height.  However, according to the other methods, <scrollbox> is designed for scrolling elements in it.  Additionally, old implementation declared that1 line is 1 element.  Therefore, this patch makes it returns avarage width or height of the children.

MozReview-Commit-ID: E9qfhHy5sTt

--HG--
extra : rebase_source : a85c632242e5824596e9363c80323f1c9a89b39a
2016-12-10 11:39:34 +09:00