Commit Graph

5855 Commits

Author SHA1 Message Date
Alex Gaynor
c26d72178f Bug 1451859 - Part 1: Implement a fuzzer for IPC handlers using libFuzzer. r=jld, r=posidron 2018-03-23 16:18:42 -04:00
Jan de Mooij
615ecff147 Bug 1466083 part 8 - Various minor API changes. r=luke
* GetScriptCompartment => GetScriptRealm
* Adds IsSystemRealm in addition to IsSystemCompartment and uses it where we can.
* JS_GetCompartmentPrincipals and IsSystemCompartment now release-assert they have a single realm. This is temporary until we know what Gecko will do/need exactly.
2018-06-06 12:55:50 +02:00
Nazım Can Altınova
1a45365811 Bug 1458246 - Use Shmem to pass the profiler data to be able to send large profiler data r=mstange
We were using nsCString to pass the profiler data between processes. But it was
failing to send because there is a ~256MB limit for the string data. So we
changed it to use Shmem instead. Shmem creates a shared memory and passes the
weak reference. With it, we can send larger data without having a problem.

MozReview-Commit-ID: 1kj57fZDXVF

--HG--
extra : rebase_source : 25a8ab57bcae8012fee1cdd9d4b767036db192d7
2018-06-01 19:28:32 +02:00
Mark Banner
7f558bc1bd Bug 1465476 - Support binary expressions for globals evaluation in ESLint. r=mossop
MozReview-Commit-ID: 66g1ISJ2ML1

--HG--
extra : rebase_source : bb7a61710467dbbae81c6d654d409453edf729f8
2018-05-30 15:43:23 +01:00
Andrew Halberstadt
bf87aca534 Bug 1437526 - [docs] Upgrade doc dependencies to their latest versions, r=davehunt
This upgrades sphinx to version 1.7.5, which contained a couple backwards
incompatible changes that needed fixing.

This also leaves sphinx-js at version 2.1 as upgrading that to 2.5 seems to
introduce an intermittent in the Doc task.

MozReview-Commit-ID: FRUTcXs5yzb

--HG--
extra : rebase_source : e874a2e9c637b7cec710203f75f4dd989a5681a1
2018-06-01 10:19:01 -04:00
Miko Mynttinen
4c85ef17cc Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
arthur.iakab
7e765f798b Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
8d9dc85cd4 Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
MozReview-Commit-ID: HpdFXqQdIOO

--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Csoregi Natalia
2f779be8d9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-02 01:03:45 +03:00
Cosmin Sabou
1bc774a842 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-01 12:44:57 +03:00
Emilio Cobos Álvarez
fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Noemi Erli
1fd69fa2bc Backed out 18 changesets (bug 1462784) for failures in devtools/client/performance/test/unit/test_tree-model-08.js on a CLOSED TREE
Backed out changeset a74d36598442 (bug 1462784)
Backed out changeset c8192175f360 (bug 1462784)
Backed out changeset cde492240e99 (bug 1462784)
Backed out changeset 8c8d30fa406c (bug 1462784)
Backed out changeset ad3802ffb780 (bug 1462784)
Backed out changeset 2fe10732076c (bug 1462784)
Backed out changeset 268a72b7c3c4 (bug 1462784)
Backed out changeset 4055eb6c3bc6 (bug 1462784)
Backed out changeset 3901070e2e60 (bug 1462784)
Backed out changeset 2faf787fbbdf (bug 1462784)
Backed out changeset 8f06963c7c6f (bug 1462784)
Backed out changeset 036e6f64e224 (bug 1462784)
Backed out changeset e670f156a603 (bug 1462784)
Backed out changeset cd39588aece4 (bug 1462784)
Backed out changeset 2ac65d100fa2 (bug 1462784)
Backed out changeset ea05ff70a51d (bug 1462784)
Backed out changeset 8a06c0ba42f7 (bug 1462784)
Backed out changeset 52ed9a039ad2 (bug 1462784)
2018-06-01 01:06:29 +03:00
Noemi Erli
614b78ae36 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-01 00:58:09 +03:00
Marco Castelluccio
75ddbd8927 Bug 1465737 - Make CodeCoverageHandler constructor explicit. r=froydnj 2018-05-30 01:52:55 +02:00
Markus Stange
9553844d4b Bug 1462784 - Add the list of categories into the profile JSON and bump the version to 11. r=njn
MozReview-Commit-ID: 1g4WqsWFFbg

--HG--
extra : rebase_source : 12bec1b1ff672bcaadb5d6500eed8b0561d86d64
2018-05-25 17:28:39 -04:00
Markus Stange
1b73b9762e Bug 1462784 - Add the list of categories into the profile JSON and bump the version to 11. r=njn
MozReview-Commit-ID: 1g4WqsWFFbg

--HG--
extra : rebase_source : 0db0496060d4d48deee52cb5eef582802cdaf708
2018-05-25 17:28:39 -04:00
Markus Stange
bf590995b7 Bug 1462784 - Remove the STORAGE category. r=njn
This was used to label IndexedDB work and work in storage/mozStorage*.
I don't think this deserves its own category; categories are most useful for
the main thread, and most of the time-consuming database-related work happens
on helper threads. The main thread pieces are mostly for asynchronicity-
coordination and don't usually take up time.

This patch labels IndexedDB work as DOM instead (which is maybe debatable) and
the rest as OTHER.

MozReview-Commit-ID: 3UYhFFbi3Ry

--HG--
extra : rebase_source : 5c88dfd67274103de01fe44191f49776017738f9
2018-05-18 17:55:18 -04:00
Markus Stange
878b529707 Bug 1462784 - Rename the CSS category to LAYOUT. r=njn
The next changeset is going to move over more annotations that Gecko developers
would count as "layout" into the LAYOUT category, and which is currently marked
as GRAPHICS.
We can add a subcategory for style resolution once we have subcategories, but
for now I think it makes more sense to put style resolution into the same bucket
as reflow and display list building.

MozReview-Commit-ID: 7r9eICVBA1Z

--HG--
extra : rebase_source : ce2df7a07522e99b0ccb59e40a8eae590ebfe834
2018-05-18 17:40:52 -04:00
Panos Astithas
15b7539570 Bug 1455694 - Record the number of CPU cores in the profile. r=mstange
MozReview-Commit-ID: 3S6KV4apUwG

--HG--
extra : rebase_source : bcd2f83024dfb7af7c833a5cbbd5fd1b6f082e65
2018-05-30 22:15:30 -07:00
Csoregi Natalia
fc2ed6e92a Backed out 18 changesets (bug 1462784) for ESlint failure on FlameGraph.js:1297. CLOSED TREE
Backed out changeset 79556798ff9f (bug 1462784)
Backed out changeset 88321efb673b (bug 1462784)
Backed out changeset 7880f9dc7023 (bug 1462784)
Backed out changeset 71fe35fd1f7e (bug 1462784)
Backed out changeset a543b94b049a (bug 1462784)
Backed out changeset d1ca8b0f2221 (bug 1462784)
Backed out changeset 68eabfbf3c16 (bug 1462784)
Backed out changeset 34e71c789903 (bug 1462784)
Backed out changeset 6fe79d1ca1bd (bug 1462784)
Backed out changeset e5ad2e525ea9 (bug 1462784)
Backed out changeset 329645ff1e23 (bug 1462784)
Backed out changeset e09c38853172 (bug 1462784)
Backed out changeset 0663d1a6d2da (bug 1462784)
Backed out changeset 106967fc29d2 (bug 1462784)
Backed out changeset 99b4a433a8e5 (bug 1462784)
Backed out changeset 1d38a4cf5a4a (bug 1462784)
Backed out changeset 692017229de6 (bug 1462784)
Backed out changeset c2911a626671 (bug 1462784)
2018-06-01 23:42:00 +03:00
Markus Stange
ff3257192f Bug 1462784 - Add the list of categories into the profile JSON and bump the version to 11. r=njn
MozReview-Commit-ID: 1g4WqsWFFbg

--HG--
extra : rebase_source : 4bc8d9569ab97246723d4481aeddcbcccd648ab2
2018-05-25 17:28:39 -04:00
Markus Stange
b17c2b3e5b Bug 1462784 - Remove the STORAGE category. r=njn
This was used to label IndexedDB work and work in storage/mozStorage*.
I don't think this deserves its own category; categories are most useful for
the main thread, and most of the time-consuming database-related work happens
on helper threads. The main thread pieces are mostly for asynchronicity-
coordination and don't usually take up time.

This patch labels IndexedDB work as DOM instead (which is maybe debatable) and
the rest as OTHER.

MozReview-Commit-ID: 3UYhFFbi3Ry

--HG--
extra : rebase_source : 16abc3c4bd8ed9ac55b5c188bd10ee26b0566330
2018-05-18 17:55:18 -04:00
Markus Stange
565cf9bfdf Bug 1462784 - Rename the CSS category to LAYOUT. r=njn
The next changeset is going to move over more annotations that Gecko developers
would count as "layout" into the LAYOUT category, and which is currently marked
as GRAPHICS.
We can add a subcategory for style resolution once we have subcategories, but
for now I think it makes more sense to put style resolution into the same bucket
as reflow and display list building.

MozReview-Commit-ID: 7r9eICVBA1Z

--HG--
extra : rebase_source : 53ce9912d3219ce8ce5dc411e03bb5ef5e2c7b64
2018-05-18 17:40:52 -04:00
Andrew Halberstadt
5051175261 Bug 1458461 - [docs] Use pipenv to manage |mach doc| python environment, r=davehunt
MozReview-Commit-ID: HOEnaoIy9dD

--HG--
extra : rebase_source : 2436c9d0bb51944c20ec1a69a3d345ef225a2856
2018-05-30 14:57:58 -04:00
Markus Stange
b229cac853 Bug 1462784 - Remove the STORAGE category. r=njn
This was used to label IndexedDB work and work in storage/mozStorage*.
I don't think this deserves its own category; categories are most useful for
the main thread, and most of the time-consuming database-related work happens
on helper threads. The main thread pieces are mostly for asynchronicity-
coordination and don't usually take up time.

This patch labels IndexedDB work as DOM instead (which is maybe debatable) and
the rest as OTHER.

MozReview-Commit-ID: 3UYhFFbi3Ry

--HG--
extra : rebase_source : f83946138d8311ea5aa91f537a1d8e420e784068
2018-05-18 17:55:18 -04:00
Markus Stange
d911ceb72c Bug 1462784 - Rename the CSS category to LAYOUT. r=njn
The next changeset is going to move over more annotations that Gecko developers
would count as "layout" into the LAYOUT category, and which is currently marked
as GRAPHICS.
We can add a subcategory for style resolution once we have subcategories, but
for now I think it makes more sense to put style resolution into the same bucket
as reflow and display list building.

MozReview-Commit-ID: 7r9eICVBA1Z

--HG--
extra : rebase_source : f447dcbb9d81be81a418c7464ef814ce4778073b
2018-05-18 17:40:52 -04:00
Tom Prince
09e6aba6a8 No bug: [source-docs] Log the file being uploaded; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1479
2018-06-01 18:13:08 +00:00
Panos Astithas
f041fb6e3c Bug 1461851 - Properly add the source URL in the profiler metadata. r=glandium
MozReview-Commit-ID: 53M4bGolmJk

--HG--
extra : rebase_source : f0da66755c92d2937f5fad1f5784f9a81829c951
2018-05-15 16:44:44 -07:00
Christian Holler
570031d38c Bug 1464202 - Improve and centralize libFuzzer flag management. r=froydnj
MozReview-Commit-ID: HFrQDAZWtpo

--HG--
extra : rebase_source : ab1da001d7e9280fbfb37858505f1d0d0caf7d54
2018-05-24 21:11:46 +02:00
Gurzau Raul
bcd412f2a9 Backed out changeset 602bdd9d5a96 (bug 1461851) for linting failures on /checkouts/gecko/build/appini_header.py on a CLOSED TREE 2018-05-30 19:03:50 +03:00
Panos Astithas
9be1c58dd1 Bug 1461851 - Properly add the source URL in the profiler metadata. r=glandium
MozReview-Commit-ID: 53M4bGolmJk

--HG--
extra : rebase_source : 17c2f3922d04b1ee7e168837f4440bb1b0abc218
2018-05-15 16:44:44 -07:00
Andrew Halberstadt
bdde91f155 Bug 1464327 - [docs] Fix doc uploading by removing trailing comma, r=gps
This was changing the project from "main" -> ("main",) which was causing the DocUp
task to upload to urls like:
"('main',)/62.0/_sources/..."

MozReview-Commit-ID: 1bL9nqiAEFE

--HG--
extra : rebase_source : 8f4148dd003dfcfb4c0ba513e4fa7e2ca540dce3
2018-05-28 08:44:08 -04:00
Mark Banner
1115b1e08b Bug 1463673 - Member expressions should also be allowed as expected arguments to Assert.throws/rejects. r=mossop
MozReview-Commit-ID: Jhs3TD60bli

--HG--
extra : rebase_source : f404e938314281c3e1819fbf7b798faff0aa197d
2018-05-23 08:58:19 +01:00
Andrew Halberstadt
3a4a0ef035 Bug 1388721 - [lint] Support --fix in the flake8 linter via autopep8, r=sylvestre
This adds autopep8 to flake8_requirements.txt. When --fix is passed in,
autopep8 will run prior to the normal flake8 run, so only errors that couldn't
be fixed automatically will be shown.

There is one caveat, namely autopep8 will only use the root .flake8 file
(there's no support for passing in subconfigs).

MozReview-Commit-ID: FJ0doey2KVb

--HG--
extra : rebase_source : 8cff7352ce0d2eb9e5d774085005043780c2e2a2
2018-05-25 17:02:43 -04:00
Peter Van der Beken
e4b698ab5c Bug 1146316 - Leak fix, make sure we call PollJSSampling at least once after stopping profiler. r=mstange.
--HG--
extra : rebase_source : f6eb4af6e14818f53100cc4441da171e8d2ed840
2018-05-04 09:47:52 +02:00
Markus Stange
5b54089c1f Bug 1460973 - Set the thread register time of the Java thread to the process creation time. r=gregtatum
MozReview-Commit-ID: KcuFPACYRHZ

--HG--
extra : rebase_source : 98cd39fee422dedf25a47e431ad5750dc97c4c8b
2018-05-24 23:34:23 -04:00
Nazım Can Altınova
d0f458dada Bug 1447973 - Convert DOMEvent markers to use tracing markers r=mstange
Changed DOMEventMarkerPayload to use tracing markers to be able to see unfinished
DOMEvents in the profiler. DOMEventMarkerPayload was containing both start and
end timestamps and we were adding it once DOMEvent finishes. Now, we are adding
two tracing markers. Once the event starts and once the event ends. That makes the
start of the event visible on the profiler.

MozReview-Commit-ID: Gak6dGsgMDt

--HG--
extra : rebase_source : 6d2c9930964503a4865b92d85a0437e33acf8dc7
2018-05-21 23:54:44 +02:00
Sylvestre Ledru
10d5e709b0 Bug 1464452 - Add richtext to the list of thirdparties r=andi
MozReview-Commit-ID: 44BqrMb6Ko0

--HG--
extra : rebase_source : bfe343239322247519635ca76cfbb921e9587997
2018-05-25 09:01:11 -07:00
Mark Banner
1933dd3a48 Bug 1464100 - Update eslint-plugin-no-unsanitized to v3.0.2. r=ahal
MozReview-Commit-ID: 3u1FeN5wVwf

--HG--
extra : rebase_source : ca88ffff457fa01148189bb317bd09af06695df5
2018-05-24 16:54:54 +01:00
Xidorn Quan
cfe970a04f Bug 1463408 part 2 - Add profiler feature seqstyle for forcing sequential styling when profiling. r=emilio,mstange
MozReview-Commit-ID: 6fm8j7z1EbJ

--HG--
extra : rebase_source : 1715b6af2c72323f320ff3da8e46d1634f5f7367
2018-05-23 19:35:03 +10:00
Xidorn Quan
4f8d1e3a65 Bug 1463408 part 1 - Remove unused restyle profiler feature. r=mstange
MozReview-Commit-ID: F5i5W02jhEV

--HG--
extra : rebase_source : 5fdddf6383f334c831396dc8348a7d3c032c93a6
2018-05-23 19:34:23 +10:00
Andreea Pavel
2c92aa2095 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-05-24 01:03:40 +03:00
Andreea Pavel
0dada2bb52 Merge inbound to mozilla-central. a=merge 2018-05-24 01:00:23 +03:00
Joel Maher
28e3660b54 Bug 1400895 - Better try support for test-verify. r=ahal 2018-05-23 10:00:03 -04:00
Felipe Gomes
683f921f8c Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI

--HG--
extra : rebase_source : 2636bfb0aa6b3fd81a3380c844776c3e0c048c8e
2018-05-22 00:45:44 -03:00
Sylvestre Ledru
8f2319cae3 bug 1463425 - Add more directories to the flake8 list r=ahal
MozReview-Commit-ID: JMZQonceq8W

--HG--
extra : rebase_source : 1d8d0218f128dede197fa99e5cba1f0101a80384
2018-05-22 06:26:22 -07:00
Emilio Cobos Álvarez
08d4ae50ba Bug 1463758: Don't use sequentially consistent atomic operations in RacyFeatures. r=mstange
Relaxed is more than enough for this use.

MozReview-Commit-ID: 6BGfEU83s7Y

--HG--
extra : rebase_source : ede8f47a5213ae64ed3dbf08a99d2a4a3789c1a2
2018-05-23 16:44:53 +02:00
Brian Grinstead
5fa9aadc74 Bug 1462798 - Create a base custom element class that shares the parseXULToFragment helper;r=Paolo
MozReview-Commit-ID: IG84xKxO9Wc

--HG--
extra : rebase_source : bc46d1f4dcfee66523a2ede8ec32ef9014cf170c
2018-05-19 13:56:06 -07:00
Sylvestre Ledru
b629f23fc9 Bug 1462405 - Update codespell to 1.13 r=ahal
MozReview-Commit-ID: 7vRJAq0mOHm

--HG--
extra : rebase_source : 9ba6e5ae9e46c63cb60b65352d1b2f94b31fa137
2018-05-17 18:59:10 +02:00
Greg Tatum
a95f839180 Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
MozReview-Commit-ID: KTJRvQzUwsf

--HG--
extra : rebase_source : bac38dc65bf074f31b2e25f80620a6baa4c7e14d
2018-03-28 15:28:54 -05:00