Commit Graph

5693 Commits

Author SHA1 Message Date
Andrew Halberstadt
4e612ae675 Bug 1373368 - [lint] Ignore SIGINT in lint hooks, r=standard8
This defers SIGINT handling to the underlying mozlint subprocess. Mozlint *should*
return quickly and gracefully. This way the hook process itself will not abort, just
the linting. After hitting Ctrl-C, the vcs operation should continue as if the lint
were successful.

If mozlint had already found some errors before hitting Ctrl-C, those should get
printed and could potentially abort the hook.

MozReview-Commit-ID: BKXq1dXuMlB

--HG--
extra : rebase_source : a5f2a80f13ead6b31fc58de815fcf5b749e35d73
2018-03-29 16:39:29 -04:00
Andrew Halberstadt
0515e13234 Bug 1373368 - [lint] Add support-files to all of the lint configs, r=standard8
MozReview-Commit-ID: ChOVmTFTmha

--HG--
extra : rebase_source : 41e4666401cd58b1022aa4eed936987300213b6a
2018-02-16 17:46:46 -05:00
Andrew Halberstadt
84797ec831 Bug 1373368 - [mozlint] Lint whole tree if using --workdir/--outgoing and support-file was modified, r=standard8
Previously, using --workdir or --outgoing could miss errors when modifying a
support file since those could affect unmodified files.

This patch allows linters to define support-files in their .yml configuration.
If using --outgoing or --workdir and a file matching one of those patterns was
modified, we'll lint the entire tree.

MozReview-Commit-ID: CuGLYwQwiWr

--HG--
extra : rebase_source : 00d4107c41404f5e6ab05e0106d5cd377e25652f
2018-02-16 17:46:04 -05:00
Andrew Halberstadt
e04895a098 Bug 1373368 - [mozlint] Raise if a non-existant path is specified in a lint config, r=standard8
Since I left the next two patches to bitrot, I realized that a path I had added
didn't exist anymore. We should definitely error out if non-existant paths are
specified, otherwise the lists will become outdated and it will be possible to
accidentally disable linting on some files.

I discovered a few instances of this already in our existing definitions.

MozReview-Commit-ID: 8jsTKLI0nFE

--HG--
extra : rebase_source : acceb0b129fc472fb456ff527e4c8c52228edd59
2018-03-29 14:50:17 -04:00
Andreea Pavel
eed7d2803f Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-06 17:54:45 +03:00
Sylvestre Ledru
f5ce701429 Bug 1452098 - Remove the checker clang-analyzer-security.insecureAPI.gets r=andi
No longer in the C++11 standard

MozReview-Commit-ID: IdditTVKWtM

--HG--
extra : rebase_source : 00871a85f9e99d7ce36b397803b510a5ec8db530
2018-04-06 16:09:20 +02:00
Andreea Pavel
7a4b9a3f56 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : rebase_source : 66bd87105d99036ada5008499ff0eaea579b531a
2018-04-06 13:20:21 +03:00
Tom Prince
4db579141b Backed out 3 changesets (bug 1439860, bug 1441867, bug 1446110) for breaking update packaging for thunderbird.
Backed out changeset 4d434313555a (bug 1446110)
Backed out changeset 0476c309909b (bug 1441867)
Backed out changeset 40237ca354be (bug 1439860)

--HG--
extra : rebase_source : 3c67b6e3af0589eae97784227c05b9e2ca9b6994
2018-04-05 13:48:38 -06:00
Sylvestre Ledru
e953fc6e58 Bug 1451316 - Rename clang-analyzer-security.UncheckedReturn to the correct name r=andi
MozReview-Commit-ID: DRPiNknhnGZ

--HG--
extra : rebase_source : f9b3c90214c74c7787324773b770342440d60c89
2018-04-04 14:53:42 +02:00
Sylvestre Ledru
814ab89b8a Bug 1451331 - Fix the name of the checkers as we are using clang-tidy 5.0 r=andi
MozReview-Commit-ID: 69gV9gsCZah

--HG--
extra : rebase_source : 4a8e6d817fb646a3579df8e71aded6579fcde2c7
2018-04-04 15:42:58 +02:00
Mark Banner
57f0cf24f4 Bug 1451378 - Enable ESLint rule no-undef for more test files in devtools. r=jdescottes
MozReview-Commit-ID: 6q43u1m0hLI

--HG--
extra : rebase_source : 02bf20a95994ac2fb13e3a69e3d504564fcc279d
2018-04-04 16:56:30 +01:00
Andrew Halberstadt
135003aa80 Bug 1414921 - Add --geckoProfile to capture profiles from talos tasks to |mach try fuzzy|, r=dustin
Enables |./mach try fuzzy --talos-profile|. This template only applies to talos
tasks. It also provides --geckoProfile for consistency with |mach try syntax|,
but I don't like this name so it's hidden from the help.

The 'talos-profile.yml' template is also very specific (only applies to Talos
tasks).  Ideally I'd like a general 'command.yml' template that just appends
arguments to the command for any arbitrary tasks. But then we'd need to invent
an expression syntax in try_task_config.json so we could make sure it only
applies to Talos. Then I thought rather than implement it for a specific
template, we should have a general way of doing this which could apply to any
and all of the templates.

Needless to say, it's a rabbit hole and something that's best left to a
follow-up so we don't delay this bug.

MozReview-Commit-ID: GhllZ7sr0ar

--HG--
extra : rebase_source : 1de4deecc2f73130904d7c95d4ff12f85883cd91
2017-12-13 16:16:09 -05:00
Dustin J. Mitchell
d0f0657464 Bug 1443974: add a template to run try jobs at 'low' priority; r=ahal
This is gated by the `--chemspill-prio` flag, which should at least make anyone
abusing it to get faster results feel sorry for what they've done.

MozReview-Commit-ID: J4EwH45IkMX

--HG--
extra : rebase_source : 1bfbfafd7de914aaab52f48f0e37c09c0df05dd7
2018-04-02 16:53:05 +00:00
Alex Gaynor
4259227b9c Bug 1450047 - part 2 - updated in-tree copy of libFuzzer; r=decoder
MozReview-Commit-ID: I1LZ8N82kr7

--HG--
extra : rebase_source : fefb34f48a7eed9428bc055224bb5868dcc37430
2018-03-29 14:18:36 -04:00
Alex Gaynor
94ed3ca79d Bug 1450047 - Part 1 - switch libFuzzer update script to new git repo; r=decoder
MozReview-Commit-ID: Fg6b2UyvoyS

--HG--
extra : rebase_source : 05845c5c50bb2ae8dd444f021aeb3fef2717cc58
2018-03-29 14:17:44 -04:00
Ciure Andrei
5d841a3421 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
Dorel Luca
eb1ea97541 Merge mozilla-central to mozilla-inbound 2018-03-29 12:57:29 +03:00
Dorel Luca
57bbc1ac58 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-29 12:50:33 +03:00
Gurzau Raul
8d268c6ce7 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : toolkit/components/extensions/ext-permissions.js => toolkit/components/extensions/parent/ext-permissions.js
2018-03-29 01:00:42 +03:00
Edouard Oger
b03a892251 Bug 1448165 p2 - Remove un-used ON_FXA_UPDATE_NOTIFICATION. r=markh
FxAccountsManager has been removed from the tree and now one else listened to
this event.

MozReview-Commit-ID: By7kkWbwBvW

--HG--
extra : rebase_source : 35b1ce32859e21b92d060835362400d1a356e81d
2018-03-22 13:32:10 -04:00
Makoto Kato
63eeec4b3e Bug 1444796 - Part 2. Make nsIProfilerStartParams scriptable. r=mstange
To add test for startProfiler's parameters on devtools, nsIProfilerStartParams
changes to scriptable.

MozReview-Commit-ID: 3Rf39NzsND1

--HG--
extra : rebase_source : 2b4fc908e7c611a36ac8766b9ce7ccd55f2c5620
2018-03-14 15:05:50 +09:00
Kris Maglione
5f201b2222 Bug 1372406: Follow-up: Add missing source directory to docs config. r=bustage
MozReview-Commit-ID: 5fb1OBnItRS

--HG--
extra : rebase_source : 707bce15f9b5983cf3fd2ae8454a132101891b2e
2018-03-28 12:23:15 -07:00
Tom Ritter
9f13fdcfce Bug 1449244 Remove SphinxBase r=drno
MozReview-Commit-ID: AIcwcWAa4nV

--HG--
extra : rebase_source : 26a1f1379595917c20f042abfa2fbb25c634a9db
2018-03-27 12:04:10 -05:00
Sylvestre Ledru
3c051c8d75 Bug 1448412 - Update of the list of thirdparty r=tjr
MozReview-Commit-ID: CXhcAI6yRAN

--HG--
extra : rebase_source : db2ab62b404e0199e38076af1f430d966bf3adcc
2018-03-23 19:48:35 +01:00
Margareta Eliza Balazs
adebb06ac1 Merge inbound to mozilla-central. a=merge 2018-03-28 00:48:11 +03:00
Nathan Froyd
60e1125026 Bug 1448027 - make constructors in the profiler explicit; r=mstange
Attempting to stand up the static analysis for Android builds revealed
that we weren't being explicit enough.
2018-03-27 10:51:32 -04:00
Markus Stange
7b785f663d Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
MozReview-Commit-ID: LDxiLVp7e9v

--HG--
extra : rebase_source : efefa814a050f06217de30704976048eeacc3caa
extra : intermediate-source : b58a6dce6a4e46ccfdbed363c67e2fa79043086b
extra : source : 6d91d0cc7d61af160b2ccd340adf23cb41389eed
2018-02-17 19:38:14 -05:00
Markus Stange
016eb6c26a Bug 1335191 - Position sheets using the NSWindowDelegate method window:willPositionSheet:usingRect:. r=spohl
MozReview-Commit-ID: 1Dwwdvl6Fok

--HG--
extra : rebase_source : 916b639fe3a18af819cb3f680501abbbe0d9bf87
2018-03-23 17:50:02 -04:00
arthur.iakab
5beb4527ab Backed out 2 changesets (bug 1439014) for failing mochitest chrome and test verify on tools/profiler/tests/chrome/test_profile_with_trackopts.html
Backed out changeset 57426696adaf (bug 1439014)
Backed out changeset a13074f87bb0 (bug 1439014)
2018-03-27 06:48:42 +03:00
Markus Stange
7a3f577c15 Bug 1439014 - Add a test that checks for the presence of JS tracked optimization info. r=julienw
MozReview-Commit-ID: ETJGZPhMfLv

--HG--
extra : rebase_source : 5a16a1226357dffa08fb6d348395fef6216488c6
2018-03-26 19:34:50 -04:00
Markus Stange
42fcb730e2 Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
MozReview-Commit-ID: LDxiLVp7e9v

--HG--
extra : rebase_source : b6d0ba745de702a88310278fd9ec0cd56205f463
extra : intermediate-source : b58a6dce6a4e46ccfdbed363c67e2fa79043086b
extra : source : 6d91d0cc7d61af160b2ccd340adf23cb41389eed
2018-02-17 19:38:14 -05:00
arthur.iakab
bb69fe14b5 Backed out 2 changesets (bug 1439014) for failing mochitest chrome and test verify on tools/profiler/tests/chrome/test_profile_with_trackopts.html on a CLOSED TREE
Backed out changeset 226c8c740c34 (bug 1439014)
Backed out changeset 84c9b5ab7de9 (bug 1439014)
2018-03-27 02:16:17 +03:00
Andrew Swan
eaa4aed34f Bug 1448070 Sign quitter.xpi as privileged r=kmag
MozReview-Commit-ID: FuNNtBSZwc

--HG--
extra : rebase_source : 9426318458d58dccd4352503de27ba2b809e5bb2
2018-03-26 10:57:04 -07:00
Markus Stange
c11697a2a1 Bug 1439014 - Add a test that checks for the presence of JS tracked optimization info. r=julienw
MozReview-Commit-ID: ETJGZPhMfLv

--HG--
extra : rebase_source : 9cad953532ceeb41db40978a3ea90fa46874f77e
2018-03-26 17:03:43 -04:00
Markus Stange
6f36cc5745 Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
MozReview-Commit-ID: LDxiLVp7e9v

--HG--
extra : rebase_source : b6d0ba745de702a88310278fd9ec0cd56205f463
extra : intermediate-source : b58a6dce6a4e46ccfdbed363c67e2fa79043086b
extra : source : 6d91d0cc7d61af160b2ccd340adf23cb41389eed
2018-02-17 19:38:14 -05:00
arthur.iakab
bfec308dac Backed out 2 changesets (bug 1439014) for failing chrome failures and test verify tests on tools/profiler/tests/chrome/test_profile_with_trackopts.htm on a CLOSED TREE
Backed out changeset f01eb749b3f9 (bug 1439014)
Backed out changeset 6d264bbb2669 (bug 1439014)
2018-03-26 23:26:15 +03:00
Markus Stange
4d16000195 Bug 1439014 - Add a test that checks for the presence of JS tracked optimization info. r=julienw
MozReview-Commit-ID: ETJGZPhMfLv

--HG--
extra : rebase_source : 3725265ca37938481cf4d5f19bf10f60b6cda1fc
2018-03-26 14:32:27 -04:00
Markus Stange
dd133bbe22 Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
MozReview-Commit-ID: LDxiLVp7e9v

--HG--
extra : rebase_source : b6d0ba745de702a88310278fd9ec0cd56205f463
extra : intermediate-source : b58a6dce6a4e46ccfdbed363c67e2fa79043086b
extra : source : 6d91d0cc7d61af160b2ccd340adf23cb41389eed
2018-02-17 19:38:14 -05:00
Andi-Bogdan Postelnicu
a5f81f6a72 Bug 1448382 - Add js/src/vtune/ to the ThirdPartyPaths and .clang-format-ignore. r=sylvestre
MozReview-Commit-ID: 4Tni5V4K9Tv

--HG--
extra : rebase_source : cd2f899936b5e71211d71e3237d2619365cd63a2
2018-03-23 21:38:55 +02:00
Mark Banner
f1ed0a2b70 Bug 1447944 - Enable ESLint rule no-undef for test files in devtools/server/tests/unit/. r=jdescottes
MozReview-Commit-ID: JBtDdAUraQ2

--HG--
extra : rebase_source : 544ada916f5d3fd41f57225b19897d6b21407425
2018-03-22 10:59:26 +00:00
Emilio Cobos Álvarez
e341b20ec4 Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez
5dd797f154 Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.

MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez
ca5ac79cca Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
Kris Maglione
946e1ef0b5 Bug 1446676: Part 2 - Update non-overlay automation extensions to be bootstrapped. r=Mossop
In order to remove support for non-bootstrapped extensions, the remaining test
automation extensions need to be migrated to bootstrapped extensions. These
extensions all work by loading a single component, either with a
profile-after-change or command line handler. This is a straightforward
conversion of those components to bootstrap.js scripts.

MozReview-Commit-ID: 5uyNSqRPIVR

--HG--
rename : services/sync/tps/extensions/tps/components/tps-cmdline.js => services/sync/tps/extensions/tps/bootstrap.js
rename : testing/talos/talos/pageloader/components/tp-cmdline.js => testing/talos/talos/pageloader/bootstrap.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js => testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js
rename : testing/talos/talos/talos-powers/components/TalosPowersService.js => testing/talos/talos/talos-powers/bootstrap.js
rename : tools/quitter/QuitterObserver.js => tools/quitter/bootstrap.js
extra : rebase_source : 738264d0ec8701aa5cf93c6dac958d88756c1e55
extra : source : 71d65d6b64997bc608a1cb3c924be35bbd460b39
2018-03-16 22:06:22 -07:00
arthur.iakab
5e8092339a Merge mozilla-central to inbound
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
Sebastian Hengst
65d6e8f735 Backed out 5 changesets (bug 1446676) for timeouts in talos-chrome-profiling on OS X. a=backout
Backed out changeset 5d3eb0526d8b (bug 1446676)
Backed out changeset d6bda91c66d6 (bug 1446676)
Backed out changeset 71d65d6b6499 (bug 1446676)
Backed out changeset aabfc0197692 (bug 1446676)
Backed out changeset ad8214a6cf04 (bug 1446676)

--HG--
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
2018-03-21 20:51:03 +02:00
Tiberius Oros
649398dfd9 Merge inbound to mozilla-central. a=merge 2018-03-21 12:03:08 +02:00
J. Ryan Stinnett
0cee298854 Bug 1446222 - Move DevTools content process startup to new dir. r=jdescottes
Move and rename the server's process script (and accompanying JSM) that starts
DevTools for an entire content process from `content-process-debugger-server.js`
to `startup/content-process.js`.  `connectToContent` also becomes the more
specific `connectToContentProcess`.

These code paths will likely change more as Site Isolation work continues, but
for now, we have this light cleanup to gather startup-related paths together.

MozReview-Commit-ID: 1evbZMB8T7r

--HG--
rename : devtools/server/content-process-debugger-server.js => devtools/server/startup/content-process.js
rename : devtools/server/content-server.jsm => devtools/server/startup/content-process.jsm
extra : rebase_source : e077dd3dc915ec274f866d53d3539909f8440de1
2018-03-19 21:28:26 -05:00
Peter Van der Beken
f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Kris Maglione
c69ba360c1 Bug 1446676: Part 2 - Update non-overlay automation extensions to be bootstrapped. r=Mossop
In order to remove support for non-bootstrapped extensions, the remaining test
automation extensions need to be migrated to bootstrapped extensions. These
extensions all work by loading a single component, either with a
profile-after-change or command line handler. This is a straightforward
conversion of those components to bootstrap.js scripts.

MozReview-Commit-ID: 5uyNSqRPIVR

--HG--
rename : services/sync/tps/extensions/tps/components/tps-cmdline.js => services/sync/tps/extensions/tps/bootstrap.js
rename : testing/talos/talos/pageloader/components/tp-cmdline.js => testing/talos/talos/pageloader/bootstrap.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js => testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js
rename : testing/talos/talos/talos-powers/components/TalosPowersService.js => testing/talos/talos/talos-powers/bootstrap.js
rename : tools/quitter/QuitterObserver.js => tools/quitter/bootstrap.js
extra : rebase_source : 2df7dce1afe4e9e4054d12adfc1553e5f5d417e2
2018-03-16 22:06:22 -07:00