Commit Graph
118 Commits
Author SHA1 Message Date
Christoph Kerschbaumer a30b7eea24 Bug 1397651 - Update tests within devtools/ to comply with new toplevel data: URI navigation policy. r=bgrinstead 2017-09-07 20:10:59 +02:00
Jan de Mooij f9f0443c9f Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
Mark Banner 44963145a5 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk
2017-08-20 18:52:05 +01:00
Masatoshi Kimura cbbc2b20e1 Bug 1390106 - Stop using versioned scripts in tests. r=jmaher
MozReview-Commit-ID: ErqU4M1f7Oj
2017-08-14 20:46:55 +09:00
Sebastian Hengst 32ea619857 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Sebastian Hengst a0079b521f Backed out changeset 98e6c8bf442e (bug 1369801)
MozReview-Commit-ID: YU31Ujz18C
2017-07-27 18:14:33 +02:00
Julian Descottes fe1310e3cc Bug 1369801 - dt-addon-xpcshell: move child process memory test into separate test suite;r=bgrins
MozReview-Commit-ID: KXGhumyeReL
2017-07-11 16:16:18 +02:00
Julian Descottes 8c0c562ada Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t
2017-07-11 12:30:22 +02:00
Jan de Mooij 5e5e72f23f Bug 1370608 part 1 - Move newEnumerate hook from ObjectOps to ClassOps. r=evilpie,bz 2017-06-14 10:37:44 +02:00
J. Ryan Stinnett 47d40079e2 Bug 1326100 - Restore notable inline comments in DevTools. r=tromey
MozReview-Commit-ID: 6cLDkoCt0al
2017-03-20 16:22:55 -05:00
Ruturaj K. Vartak 6e5caea896 Bug 1326331 - Fix Eslint errors in devtools/shared/heapsnapshot/. r=jryans 2017-03-09 21:03:00 -05:00
Florian Quèze 91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Mark Banner 55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Ehsan Akhgari 36538bf6d4 Bug 1324242 - Ignore the -Wnull-dereference warning caused by gtest; r=froydnj 2016-12-19 10:52:56 -05:00
Sebastian Hengst 2fecbac0d0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: devtools. r=RyanVM
MozReview-Commit-ID: DZit0XSS1yk
2016-11-05 11:29:14 +01:00
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Jan de Mooij b402a91ead Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8 2016-09-14 15:47:32 +02:00
Jan de Mooij 8f880df8da Bug 1295967 - Share Shapes and BaseShapes across compartments. r=jonco,fitzgen,njn 2016-08-23 11:25:54 +02:00
Jan de Mooij bd0f1c9018 Bug 1292892 part 1 - Stop using JSRuntime outside SpiderMonkey. r=bz,terrence,fitzgen,kanru 2016-08-11 14:39:22 +02:00
Wes Kocher 29771f4f17 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
James Long 24266d6355 Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Tom Tromey 53b9e15417 Bug 1287631 - fix typo in Services.appinfo use in devtools; r=fitzgen
MozReview-Commit-ID: 1HTz3uRgMfT
2016-08-05 07:45:18 -06:00
Jan de Mooij 7745591aa5 Bug 1286795 part 5 - Change some classes to take JSContext instead of JSRuntime. r=terrence 2016-07-23 19:53:03 +02:00
Jan de Mooij 1e309e5dfb Bug 1286795 part 3 - Change UbiNode APIs to take JSContext instead of JSRuntime. r=fitzgen 2016-07-23 19:52:25 +02:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Chris Peterson 6c0f810682 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Boris Zbarsky 7f8a9fb70a Bug 1281061. Do an atom equality compare instead of a string compare on the script filename string in SavedFrame::isSelfHosted. r=fitzgen 2016-07-08 22:53:53 -04:00
Jan de Mooij 9a35d3fcb0 Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen 2016-07-05 14:35:23 +02:00
Jan de Mooij 971389ad49 Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke 2016-06-22 09:47:52 +02:00
Jan de Mooij 03cab8d36c Bug 1278223 part 1 - Stop using multiple contexts per runtime in gtests. r=fitzgen 2016-06-06 19:45:06 +02:00
Tom Tromey 86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Chris Peterson 57a1006d4d Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Nicholas Nethercote a35143c546 Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2
2016-04-01 11:00:01 +11:00
Nick Fitzgerald 8729b35216 Bug 1250966 - Ignore retaining paths that are strictly a super set of other paths. r=jimb 2016-04-06 16:23:00 -04:00
Nick Fitzgerald 8047e4f7d7 Bug 1260939 - Add a method for getting census individuals and their shortest paths to HeapAnalyses{Client,Worker}; r=jimb a=kwierso
MozReview-Commit-ID: HHJ2masZB4k
2016-03-31 16:19:59 -07:00
Nick Fitzgerald 53ff2177a3 Bug 1260590 - Add the CensusUtils.getCensusIndividuals utility; r=jimb a=kwierso
This commit adds the `getCensusIndividuals` utility for getting the individual
node IDs that match the census leaves specified by the given indices in a
pre-order depth-first traversal of a census report generated with the given
breakdown.

MozReview-Commit-ID: A4IRcP82iCC
2016-03-31 16:19:22 -07:00
Nick Fitzgerald 79f6bb0214 Bug 1260307 - Add the CensusUtils.getReportLeaves utility for getting leaves in a census report; r=jimb 2016-03-29 08:54:00 +02:00
Nick Fitzgerald 88336ca575 Bug 1260261 - Associate a CensusTreeNode with the leaf in the census report from which it was generated; r=jimb
This commit gives every `CensusTreeNode` instance a `reportLeafIndex` member
that is an index into a pre-order traversal of the census report from which it
was generated. This can be used to get the leaf in the census report
corresponding to a given `CensusTreeNode` instance.
2016-03-29 08:53:00 +02:00
Nick Fitzgerald 39547b26f8 Bug 1257687 - Add a utility to convert a count breakdown into a bucket breakdown. r=jsantell 2016-03-18 17:47:41 -04:00
Nick Fitzgerald b6f019573e Bug 1257696 - Ensure that repeatedly converting the same census report into a CensusTreeNode tree results in the same CensusTreeNode tree. r=jsantell 2016-03-17 16:42:00 -04:00
Nick Fitzgerald 29677fe39a Bug 1254092 - TraceIncomingCCWs should work at the JSCompartment level of granularity. r=jimb
There can be multiple compartments within the same zone, only one of which is a
debuggee. In this scenario, CCWs from other compartments into the debuggee
compartment should be traced and treated as roots. Therefore, dealing with CCWs
at the JS::Zone level is incorrect, and this patch changes the granularity level
to JSCompartments. If you look at the callers and uses of the function, it makes
much more sense now.

Additionally, it renames `JS_TraceIncomingCCWs` to `JS::TraceIncomingCCWs`.
2016-03-14 16:11:00 +01:00
Nick Fitzgerald 92711b03b7 Bug 1226879 - Fix census tree sorting issue with inverted allocation stack breakdown; r=jimb 2016-02-24 13:11:00 +01:00
Nick Fitzgerald 8de67c0523 Bug 1250307 - Add the by: "bucket" breakdown option; r=jimb
This commit introduces `{ by: "bucket" }` breakdown type. Similar to `by:
"count"`, this breakdown type is a leaf and doesn't further categorize or filter
nodes that it counts. Instead, it accumulates them in a bucket and reports them
as a array of node IDs.

MozReview-Commit-ID: EeyWlrj9ujf
2016-02-23 14:15:51 -08:00
Nick Fitzgerald 7114240100 Bug 1248085 - Compute shortest paths in the HeapAnalysesWorker; r=jimb 2016-02-12 15:23:00 +01:00
Nick Fitzgerald 172834fb05 Bug 1247658 - Expose a method to JS for find the shortest retaining paths of some nodes in a heap snapshot; r=bz r=jimb
This commit adds the `computeShortestPaths` method to the `HeapSnapshot` webidl
interface. It implements this new method on the
`mozilla::devtools::HeapSnapshot` class.
2016-02-11 14:32:00 +01:00
Nick Fitzgerald 2bd38f8f7e Bug 1246017 - Create the parent map in the HeapAnalysesWorker; r=jimb 2016-02-05 15:11:48 -08:00
Carsten "Tomcat" Book d479c73778 Backed out changeset 92889fed3b3b (bug 1246017) for xpcshell bustage 2016-02-05 14:06:27 +01:00
Nick Fitzgerald 2a0cd8d15d Bug 1246017 - Create the parent map in the HeapAnalysesWorker; r=jimb 2016-02-04 18:05:00 +01:00