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
Ehsan Akhgari
749985e893
Bug 1382343 - Improve the hash function used in hashIdDerivedFromPtr() to rely on HashGeneric(); r=fitzgen
2017-07-19 20:39:17 -04: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
Nicholas Nethercote
c768a954ae
Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto.
...
TimeStamp::ProcessCreations()'s aIsInconsistent outparam is ignored by the
majority of its caller. This patch makes it optional. Notably, this makes
ProcessCreation() easier to use in a constructor's initializer list.
2017-04-26 14:55:54 +10:00
Andrew McCreight
df7cef86b2
Bug 1350435 - Compute snapshot ID in the parent process. r=fitzgen,smaug
...
The parent and content processes can have different temp directories
when sandboxing is enabled, so the process that creates the file for a
heap snapshot must also determine the snapshot ID.
MozReview-Commit-ID: 2UuncT54NXc
2017-03-24 10:34:44 -07: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
Sylvestre Ledru
03b0353571
Bug 1338086 - Remove useless else blocks in order to reduce complexity devtools/shared/ r=fitzgen
...
MozReview-Commit-ID: CxMopblOFVp
2017-02-09 10:09:21 +01:00
Jeff Walden
d2cdcf6631
Bug 1287006 - Adjust js/ code to not pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer. r=luke
2017-02-13 09:07:26 -08: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
Kan-Ru Chen
1b9dd22e2d
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01: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
Nicholas Nethercote
b5810a1eb4
Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
...
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.
In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.
> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.
> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");
This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
be true" sense used in assertions.
A common variation on the side-effect-free case is the following.
> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
2016-09-02 17:12:24 +10: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
Wei-Cheng Pan
a87ccbfa5e
Bug 1264566 - Part 2: Refactor all usage of FileDescriptor. r=valentin
...
Callers should use a UniquePtr to hold the platform handle.
MozReview-Commit-ID: 6BWnyAf4b3a
2016-05-27 16:12:51 +08: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
Terrence Cole
a1f2c85caa
Bug 1232686 - Use decltype to infer Variant::match return type; r=fitzgen
2015-12-15 07:45:22 -08:00
Chris Peterson
c35faf4632
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -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
Jeff Walden
6bf87147cd
Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
2016-07-05 17:41:12 -07:00
Sebastian Hengst
fd31f76c1b
Backed out changeset 2620e5ba1067 (bug 1282795) for 'Concrete' redeclaration in HeapSnapshot.h (static failure). r=backout
2016-07-07 19:26:27 +02:00
Jeff Walden
4f847cfc9f
Bug 1282795 - Declare JS::ubi::Concrete<T>::concreteTypeName within every JS::ubi::Concrete specialization to avoid use-before-declaration warnings related to templates. r=jimb
2016-07-05 17:41:12 -07:00
Jan de Mooij
23850549c8
Bug 1283855 part 17 - Make {Get,Set}DebuggerMallocSizeOf take JSContext instead of JSRuntime. r=jimb
2016-07-06 11:40:20 +02: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
Carsten "Tomcat" Book
8cde20b993
Backed out changeset e673dbc9848f (bug 1232686) for breaking VS2013 Builds
2016-04-16 10:57:53 +02:00
Terrence Cole
005914496e
Bug 1232686 - Use decltype to infer Variant::match return type; r=fitzgen
2015-12-15 07:45:22 -08:00