Commit Graph

4365 Commits

Author SHA1 Message Date
Nicholas Nethercote
b33fc679ac Bug 1334466 (part 2) - Merge Sampler and GeckoSampler. r=mstange.
There's no point having them as separate classes. This removes the need for
some virtual functions, too.

--HG--
extra : rebase_source : b2607ba2431ae043b6e015f4f435b0d660b02d71
2017-01-25 14:34:25 +11:00
Nicholas Nethercote
0a42d0f79c Bug 1334466 (part 1) - Merge Sampler constructors and destructors. r=mstange.
They're defined separately for each platform, but the definitions are almost
identical and can be commoned up.

--HG--
extra : rebase_source : 67b7f88410db1951a20f03f6c156aa6b35a3ee20
2017-01-28 00:52:57 +11:00
Nicholas Nethercote
e584767774 Bug 1333655 - Improve the profiler's Thread class. r=mstange.
It's a clumsy cross-platform abstraction. GetCurrentId() and tid_t are the only
genuinely cross-platform things in it, and the patch keeps those in place.

The remaining methods are not implemented on all platforms (none are
implemented on Linux) and the fields are all used on either Mac or Windows, but
not both. So the patch moves the relevant Thread method implementations and
fields into the existing SamplerThread classes. There is sufficiently little
overlap between the two SamplerThread classes that there is no point sharing a
base class between them. This avoids the need for virtual functions, and
simplifies thread naming on Mac.

The patch also changes some of the existing code to use Gecko style, e.g.
|mFoo| instead of |foo_| for class fields.
2017-01-25 14:34:25 +11:00
Nicholas Nethercote
234a671f05 Bug 1328365 (part 3) - Remove GeckoSampler::sActiveSampler. r=mstange.
This variable is set in GeckoSampler's destructor and cleared in GeckoSampler's
destructor, which means it's just another handle to the GeckoSampler singleton,
which means it duplicates gSampler.

This patch replaces its uses with gSampler uses. This exposes various places
where GeckoSampler is being accessed off the main thread, which I have marked
with XXX comments.

--HG--
extra : rebase_source : 3c2d012b4d38d353022f384c31a528096a462711
2017-01-27 16:25:23 +11:00
Nicholas Nethercote
9fcc3d9c39 Bug 1328365 (part 2) - Rename ProfileGatherer::mTicker as mSampler. r=mstange.
It's a better name, given that the type is |GeckoSampler*|.

--HG--
extra : rebase_source : aaeb9d0c34f8650c2e034e334825c7e8d7c1e832
2017-01-25 16:09:06 +11:00
Nicholas Nethercote
fd25b06c81 Bug 1328365 (part 1) - Replace tlsTicker with gSampler. r=mstange.
There is a single GeckoSampler and it is currently only accessed on the main
thread, so it's silly to use TLS for it; a normal global variable is better.

This patch also adds main thread assertions to a number of the profiler_*()
functions. Even though bug 1330184 may get rid of some of them, right now they
are a useful as both a sanity check and documentation.

--HG--
extra : rebase_source : 7613eb3cc8089b31180365f6463c81f4556c7b66
2017-01-25 16:00:47 +11:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Edouard Oger
7314dabc8c Bug 1296767 part 10 - Remove FxA Migration code. r=markh
MozReview-Commit-ID: DamrbblcMmZ
2017-01-27 13:31:58 -05:00
Edouard Oger
cdce850c10 Bug 1296767 part 5 - Remove add_identity_test helper. r=markh
MozReview-Commit-ID: 12pP01IHRyp
2017-01-27 13:30:48 -05:00
Edouard Oger
df80e282e9 Bug 1296767 part 4 - Update tests to work with the BrowserID identity manager. r=markh
MozReview-Commit-ID: AFRyZFW6xZU
2017-01-27 13:30:48 -05:00
Edouard Oger
bf4dae4e25 Bug 1296767 part 3 - Make BrowserID the only Sync identity manager. r=markh
MozReview-Commit-ID: IC7kRjgtPp8
2017-01-27 13:30:47 -05:00
Edouard Oger
c94655827a Bug 1296767 part 2 - Remove Sync UserApi. r=markh
MozReview-Commit-ID: CdgLxCN52Os
2017-01-27 13:30:47 -05:00
Edouard Oger
bb525e4654 Bug 1296767 part 1 - Remove J-PAKE from Sync. r=markh
MozReview-Commit-ID: iD4OJv436i
2017-01-27 13:30:47 -05:00
Mark Banner
8cf0d4744c Bug 1333044 - Enable no-undef eslint rule for services/. r=markh
MozReview-Commit-ID: IrtWclENDth

--HG--
extra : rebase_source : 72df6ddc457431ae77f953a00712462e4902b5f1
2017-01-23 15:15:05 +00:00
Florian Quèze
9815fa9ed8 Bug 1334261 - make the no-useless-parameters rule reject newURI call with an empty string as the last parameter, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze
dca267bbc7 Bug 1334199 - make the no-useless-parameters eslint rule report getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:01 +01:00
Florian Quèze
15bab6d46b Bug 1334250 - adapt the no-useless-removeEventListener rule to handle the listener being added and removed with the same variable + some hand fixes, r=jaws. 2017-01-27 10:47:57 +01:00
Wes Kocher
5144abead2 Merge inbound to m-c a=merge
MozReview-Commit-ID: A6ZgbjxAv9N
2017-01-25 16:54:02 -08:00
Justin Wood
688005c17d Bug 1333769 - Explicitly pass the version to MAR. r=rail a=philor for landing on central
(for "Nightly l10n repacks generate wrong complete MARs")

MozReview-Commit-ID: 8cIno7eFKve

--HG--
extra : rebase_source : 5c370cbc563e6e649652dce8e98c62b24d59faac
2017-01-25 10:18:45 -05:00
Carsten "Tomcat" Book
182312677f merge mozilla-inbound to mozilla-central a=merge 2017-01-25 13:47:25 +01:00
Florian Quèze
03d00b4c13 Bug 1331599 - add an eslint rule to reject removeEventListener calls when the once option can be used instead, r=jaws. 2017-01-25 07:03:50 +01:00
Florian Quèze
bb130a6716 Bug 1331599 - fix the balanced-listeners custom eslint rule to handle addEventListener's options parameter, r=jaws. 2017-01-25 07:03:46 +01:00
Nicholas Nethercote
45bf8c43bb Bug 1329684 (part 2) - Remove OS::msPerSecond, which is unused. r=mstange.
--HG--
extra : rebase_source : 5c0fcac9c52e8c9b0022002cbbdcaef33982a682
2017-01-25 14:33:34 +11:00
Nicholas Nethercote
6eb4bf69b1 Bug 1329684 (part 1) - Remove GeckoMutex, ::Mutex and ::MutexAutoLock from the profiler. r=mstange.
Note that the comment on ::Mutex said that it should support recursive locking,
but GeckoMutex was implemented using mozilla::Mutex which does *not* support
recursive locking.

The patch also removes OS::CreateMutex(), because it's only used twice and
doesn't make the code more concise.

--HG--
extra : rebase_source : 81f324cb3856ea5329d8b6edb457c8ec44395c56
2017-01-25 14:33:32 +11:00
Mark Banner
2ecc79b536 Bug 1333044 - Prepare services/ for enabling no-undef eslint rule. r=jaws
MozReview-Commit-ID: 29KwwyZH2jn

--HG--
extra : rebase_source : c4b19fe3714b19b445011ae1c413ca0e624cb46e
2017-01-17 12:25:43 +00:00
Phil Ringnalda
1b60bc19eb Merge m-c to autoland 2017-01-24 18:56:54 -08:00
stefanh@inbox.com
f28e3f1e0d Bug 1313045 - Remove toolkit/identity, part1: Remove unneeded files/bits. r=MattN. 2017-01-23 20:20:54 +01:00
Mark Banner
72976b4efa Bug 1330545 - [eslint] Handle importScripts in workers for determining global variables. r=mossop
MozReview-Commit-ID: 6NkcAcaNjur

--HG--
extra : rebase_source : 2004e08b8e2e52b9ad329eb7604868ebe3bd60c6
2017-01-05 07:31:13 +00:00
Nicholas Nethercote
cb7d796cb1 Bug 1333296 (part 3) - Remove SPS mentions in tools/profiler. r=mstange.
--HG--
extra : rebase_source : d4ee3eccbffc86ea902be2b80a159fb84445c027
2017-01-24 14:18:50 +11:00
Nicholas Nethercote
997c2d8b00 Bug 1333296 (part 2) - Change "SPS:" mentions in logging code. r=mstange.
--HG--
extra : rebase_source : 2cb0718e120a2d0f988a7456d6fbf5946ce2e3a6
2017-01-24 14:17:13 +11:00
Nicholas Nethercote
22b6d342d7 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Wes Kocher
c3cc3b6407 Backed out 13 changesets (bug 1296767) for xpcshell failures a=backout CLOSED TREE
Backed out changeset 41ed77788333 (bug 1296767)
Backed out changeset 1c0c9289b532 (bug 1296767)
Backed out changeset 50294db1d871 (bug 1296767)
Backed out changeset 26c065f79c54 (bug 1296767)
Backed out changeset 0362a78d6978 (bug 1296767)
Backed out changeset 4e71cf94e4ee (bug 1296767)
Backed out changeset f6f59447d22a (bug 1296767)
Backed out changeset 6c9b792cc296 (bug 1296767)
Backed out changeset 46a52b10a868 (bug 1296767)
Backed out changeset 5d70d87d2a8f (bug 1296767)
Backed out changeset 8219686be6a2 (bug 1296767)
Backed out changeset 0a989b0cea67 (bug 1296767)
Backed out changeset 9f59a0b75c1f (bug 1296767)

MozReview-Commit-ID: 2XBNsd8JrZL

--HG--
extra : amend_source : 1afafaa8127fcebac31ce1d7743dc16872fa0522
2017-01-26 11:16:12 -08:00
Edouard Oger
775061c90e Bug 1296767 part 10 - Remove FxA Migration code. r=markh
MozReview-Commit-ID: DamrbblcMmZ

--HG--
extra : rebase_source : 7356a6a99005ae702e90eb5d5e2f0cbee35ff861
2017-01-19 13:03:38 -05:00
Edouard Oger
9050cab070 Bug 1296767 part 5 - Remove add_identity_test helper. r=markh
MozReview-Commit-ID: 12pP01IHRyp

--HG--
extra : rebase_source : 2c5af253df77ed08dd8bdf0c7645ed98e6a96c9a
2017-01-18 15:52:47 -05:00
Edouard Oger
cfef81983f Bug 1296767 part 4 - Update tests to work with the BrowserID identity manager. r=markh
MozReview-Commit-ID: AFRyZFW6xZU

--HG--
extra : rebase_source : 6110e19a51d6d3375b47f785c8f644ee879fb924
2017-01-13 15:59:32 -05:00
Edouard Oger
49552f7919 Bug 1296767 part 3 - Make BrowserID the only Sync identity manager. r=markh
MozReview-Commit-ID: IC7kRjgtPp8

--HG--
extra : rebase_source : ec10c24400afa4b1c1fd3840f31a9d57d498ec8a
2017-01-13 15:02:21 -05:00
Edouard Oger
eb0c42bf7a Bug 1296767 part 2 - Remove Sync UserApi. r=markh
MozReview-Commit-ID: CdgLxCN52Os

--HG--
extra : rebase_source : c270d7dfbaf621c1eb8f440009b361212969a8bc
2017-01-13 15:54:46 -05:00
Edouard Oger
0c915a6f46 Bug 1296767 part 1 - Remove J-PAKE from Sync. r=markh
MozReview-Commit-ID: iD4OJv436i

--HG--
extra : rebase_source : 1653284a3b2e014719a7eb37588f99df868e2060
2017-01-10 13:47:24 -05:00
Nicholas Nethercote
bd934d48e6 Bug 1335595 (part 5) - Remove ThreadResponsiveness::mThreadInfo. r=mstange.
ThreadInfo contains a ThreadResponsiveness, and then ThreadResponsiveness has a
pointer back to its containing ThreadInfo, which is gross.

The back pointer is only needed for Update(), and it's easy to pass in the
necessary info instead via a new method UpdateThreadResponsiveness().

This change also means ThreadInfo::GetThread() can be removed.

--HG--
extra : rebase_source : 46ebeb142e8c678be204b106713147738bcbc4a4
2017-02-02 11:07:13 +11:00
Nicholas Nethercote
9373d7166c Bug 1335595 (part 4) - Merge ThreadProfile into ThreadInfo. r=mstange.
ThreadInfo and ThreadProfile are hopelessly intertwined.

- ThreadInfo has an owning pointer to ThreadProfile. ThreadProfile has a raw
  back pointer to ThreadInfo. A reference to one is as good as a reference to
  the other, and references to one frequently reach into the other.

- An exception is SyncProfile, a sub-class of ThreadProfile, which instead has
  an owning pointer to its ThreadInfo. (This makes the SyncProfile's destructor
  dubious, because it deletes the ThreadInfo, which could conceivably re-call
  into SyncProfile's destructor.)

- ThreadProfile also has copies of five ThreadInfo fields (mThreadId,
  mIsMainThread, mPlatformData, mStackTop, mPseudoStack) even though it also
  has direct ThreadInfo access via the back pointer.

The only good reason for having the two classes separate is that some
ThreadInfo objects have a null ThreadProfile pointer. But this doesn't justify
the entanglement.

So this patch merges ThreadProfile into ThreadInfo. It visually separates the
methods and fields related to profiles to partially preserve the original
meaning of the split. The new ThreadInfo::hasProfile() method replaces
ThreadInfo::Profile() as the indicator of whether a ThreadInfo has associated
profile data.

Notable points of simplification:

- The five duplicated fields are no longer duplicated.

- NewSyncProfile(), RegisterThread() no longer create ThreadProfile objects.

- ~SyncProfile() becomes trivial.

- ThreadInfo::SetPendingDelete() is simpler.

- Overall it removes ~80 lines of code.

Much of the rest is just plumbing changes.

--HG--
extra : rebase_source : 2e8c4cc46aa15943ffdc1fa19d9c829587267ee9
2017-02-02 11:07:13 +11:00
Nicholas Nethercote
8b717f8d56 Bug 1335595 (part 3) - Remove ThreadProfile::AsSyncProfile(). r=mstange.
It's unused.

--HG--
extra : rebase_source : fb855811ff1d807707fd1b605b747cff1b6d6be3
2017-02-02 11:07:12 +11:00
Nicholas Nethercote
afd35b70c0 Bug 1335595 (part 2) - Remove useless null checks in Sampler::InplaceTick(). r=mstange.
|sample| is non-null at all callsites. The function derefs |sampler| before
doing any of the null checks, anyway.

--HG--
extra : rebase_source : 5c3c917009310ade1faaf985ac866a4a98fe6abc
2017-02-01 15:41:29 +11:00
Nicholas Nethercote
f542865603 Bug 1335595 (part 1) - Remove the profiler's ASSERT macro. r=mstange.
MOZ_ASSERT is the standard macro.

--HG--
extra : rebase_source : 8aa9b96b82ff4b7ec2de4ec5c62aeb23aafea85f
2017-02-01 15:40:55 +11:00
Mark Banner
ac29351188 Bug 1333566 - Eslint fails when run on specific directories Cannot find module 'tools\lint\eslint\modules.json'. r=jaws
MozReview-Commit-ID: I8GNR1AwQlU

--HG--
extra : rebase_source : 553dfc28ee410eb393cf82e8acd8cac84819c9db
2017-01-24 21:38:32 +00:00
Nicholas Nethercote
82d4c11201 Bug 1332577 (part 9) - Remove all mozilla_sampler_*() functions. r=mstange.
There are lots of profiler_*() functions that simply call onto equivalent or
nearly-equivalent mozilla_sampler_*() functions. This patch removes the
unnecessary indirection by removing the mozilla_sampler_*() functions.

The most important changes:

- In platform.cpp, all the mozilla_sampler_*() definitions are renamed as
  profiler_*().

- In GeckoProfiler.h, the new PROFILER_FUNC{,_VOID} macros provide a neat way
  to declare the functions that must be present whether the profiler is enabled
  or not.

- In GeckoProfiler.h, all the mozilla_sampler_*() declarations are removed, as
  are all the profiler_*() definitions that corresponded to a
  mozilla_sampler_*() function.

Other things of note:

- profiler_log(const char* str) is now defined in platform.cpp, instead of in
  GeckoProfiler.h, for consistency with all the other profiler_*() functions.
  Likewise with profiler_js_operation_callback() and
  profiler_in_privacy_mode().

- ProfilerBacktraceDestructor::operator() is treated slightly different to all
  the profiler_*() functions.

- Both variants of profiler_tracing() got some early-return conditions moved
  into them from GeckoProfiler.h.

- There were some cases where the profiler_*() and mozilla_sampler_*() name
  didn't quite match. Specifically:

  * mozilla_sampler_get_profile_data() and profiler_get_profiler_jsobject():
    name mismatch. Kept the latter.

  * mozilla_sampler_get_profile_data_async() and
    profiler_get_profile_jsobject_async(): name mismatch. Kept the latter.

  * mozilla_sampler_register_thread() and profiler_register_thread(): return
    type mismatch. Changed to void.

  * mozilla_sampler_frame_number() and profiler_set_frame_number(): name
    mismatch. Kept the latter.

  * mozilla_sampler_save_profile_to_file() and
    profile_sampler_save_profile_to_file(): the former was 'extern "C"' so it
    could be called from a debugger easily. The latter now is 'extern "C"'.

- profiler_get_buffer_info() didn't fit the patterns handled by
  PROFILER_FUNC{,VOID}, so the patch makes it call onto the new function
  profiler_get_buffer_info_helper(), which does fit the pattern.

--HG--
extra : rebase_source : fa1817854ade81e8a3027907d1476ff2563f1cc2
2017-01-20 15:05:16 +11:00
Phil Ringnalda
72dfd3bd3f Merge m-c to m-i 2017-01-20 19:16:11 -08:00
Mike Hommey
ce74ceac47 Bug 1330533 - Remove XRE_LibFuzzerGetFuncs. r=decoder
Now that XRE_LibFuzzerGetFuncs is not used from outside libxul, it can
be inlined in LibFuzzerRunner::Run, simplifying things a little more.

--HG--
extra : rebase_source : 7a09f37444bf02983b232c964d85e7a866221f48
2017-01-12 16:02:50 +09:00
Mike Hommey
7523430127 Bug 1330533 - Use FuzzerDriver directly instead of wrapping it in a libfuzzer_main function. r=decoder
Going further from the previous changes, all libfuzzer_main really does
is call the init function, and then proceed to call the fuzzer driver
with the testing function.

So instead of calling that function for it to do all that, the
LibFuzzerRunner can just call the init function itself, and then
call the fuzzer driver with the testing function.

--HG--
extra : rebase_source : 2eb1a2ae763ef21827471cd32addceacefc1ac5d
2017-01-12 14:44:18 +09:00
Mike Hommey
cc6c5d8f71 Bug 1330533 - Pass LibFuzzerInitFunc and LibFuzzerTestingFunc to libfuzzer_main. r=decoder
The LibFuzzerRunner code lives in libxul. It's unnecessary complications
to have it call back a function in the firefox executable just so that
it calls another function that is in libxul. Passing the init and
testing functions to the libfuzzer_main function allows to just bypass
that roundtrip, simplifying the setup.

--HG--
extra : rebase_source : ba72c029a904e05fe3b0ed5984c1bad946b73c6a
2017-01-12 14:50:14 +09:00
Mike Hommey
92c5bff388 Bug 1330533 - Remove argc/argv arguments to XRE_LibFuzzerSetMain. r=decoder
The function given to XRE_LibFuzzerSetMain is called from somewhere that
does have access to argc/argv already, so we can avoid passing them
to XRE_LibFuzzerSetMain.

This actually might fix subtle issues with argc/argv not really matching
reality when calling the LibFuzzerMain function in the current code:
some arguments are handled before the call, and both argc and argv are
modified from within XRE_main, but the values stored for the
LibFuzzerMain call still are the original ones.

Argv being a pointer, and it not being reallocated, the value stored for
the LibFuzzerMain call points to the changed one, but argc, being an
integer, is not modified accordingly.

In fact, it's actually worse, because while the Gecko code doesn't
reallocate argv, gtk_main might. So if some GTK flag is passed on the
command line, there's also a possibility that the LibFuzzerMain function
will do a use-after-free.

So all in all, it's just better to use the set of modified argc/argv
from XRE_main instead of storing them from main().

--HG--
extra : rebase_source : 92b89909eab0fc2f67ce372b959bb0e3ed12cd2b
2017-01-12 11:59:37 +09:00
Phil Ringnalda
6f55fab2bf Merge m-i to m-c, a=merge 2017-01-19 22:04:52 -08:00
Nicholas Nethercote
b7e4754837 Bug 1331310 - Remove unbufferedLineConverter in fix_linux_stacks.py. r=glandium.
subprocess.Popen is much simpler. Also, addr2line's stderr is now ignored,
which avoids some intermittent problems with DMD output.
2017-01-18 13:57:39 +11:00
Carsten "Tomcat" Book
709bd29d0a merge mozilla-inbound to mozilla-central a=merge 2017-01-19 16:05:22 +01:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Nicholas Nethercote
7f3476781b Bug 1328373 (part 2) - Remove mozilla_sampler_get_responsiveness declaration. r=mstange.
It's unused.

--HG--
extra : rebase_source : 6e1e0f896f10367bb538c8e5839e2ac36174230c
2017-01-19 08:07:51 +11:00
Nicholas Nethercote
5fa7607c99 Bug 1328373 (part 1) - Remove mozilla_sampler_save. r=mstange.
It's unused.

--HG--
extra : rebase_source : ae05fc3bb205833e86f542ad2eba36de4d71b3b4
2017-01-19 08:07:50 +11:00
Nicholas Nethercote
a0ab21e630 Bug 1328369 - Remove tlsStackTop and set_tls_stack_top. r=mstange.
They are unused.

--HG--
extra : rebase_source : 1dd53c26f07c828102b3c12122d22bb1b0e74f3f
2017-01-19 08:07:23 +11:00
Nicholas Nethercote
eee9038a2f Bug 1317771 (part 2) - Remove SPS_STANDALONE. r=mstange.
This patch removes all the |#ifdef SPS_STANDALONE| blocks.

--HG--
extra : rebase_source : 0ccb72987e6b951360c6b9905ab47c61f59282c0
2017-01-19 08:07:00 +11:00
Nicholas Nethercote
4a820fa2dd Bug 1317771 (part 1) - Remove SPS_STANDALONE. r=mstange.
This patch removes all the |#ifndef SPS_STANDALONE| guards.

--HG--
extra : rebase_source : af03e38e521d7ef0c3c920209cc8330a40d9b007
2017-01-19 08:06:59 +11:00
Nicholas Nethercote
d7d1bbbb95 Bug 1331571 - Remove Intel Power Gadget integration from the compiler. r=mstange.
Nobody has ever used this, and measuring power consumption while running a
sampling profiler at 1000 Hz isn't a good idea.

--HG--
extra : rebase_source : b84255a08bfea07b90bedc1f24086695143d5c8e
2017-01-19 08:05:47 +11:00
Nicholas Nethercote
47ba5aca68 Bug 1332577 (part 8) - Rename moz_profiler_*() as profiler_*(). r=mstange.
This makes them consistent with other profiler functions.

--HG--
extra : rebase_source : bfdd878f4ca9cab50f0fa769b3cd1a4cdae18575
2017-01-21 08:45:49 +11:00
Nicholas Nethercote
12647a7223 Bug 1332577 (part 7) - Rename mozilla_get_pseudo_stack() as profiler_get_pseudo_stack(). r=mstange.
This makes it consistent with other profiler functions.

--HG--
extra : rebase_source : 1e52acdc448691b8859bb147a0c70b198b432fe2
2017-01-20 15:07:05 +11:00
Nicholas Nethercote
12530089df Bug 1332577 (part 6) - Move some function definitions in GeckoProfiler.h. r=mstange.
This patch moves the definitions of profiler_call_{entry,exit}() up so that
forward declarations aren't necessary. It also removes an unnecessary second
declaration of mozilla_sampler_add_marker().

--HG--
extra : rebase_source : 254fa7b6400770f5af7bac9559eb1c8a3be77231
2017-01-20 14:29:20 +11:00
Nicholas Nethercote
a6815f5654 Bug 1332577 (part 5) - Fix indentation in platform.cpp. r=mstange.
The patch fixes some 4 space indents and tab indents.

--HG--
extra : rebase_source : aeef635fe85c6b68e055346d6602382316ae51c9
2017-01-20 14:20:11 +11:00
Nicholas Nethercote
07ed817efc Bug 1332577 (part 4) - Inline and remove GeckoProfilerTypes.h. r=mstange.
It's only included once, so there's no point having a separate file.

--HG--
extra : rebase_source : b81fb0b90adeb16e81cb6f52d847a2a28c516fed
2017-01-20 10:14:01 +11:00
Nicholas Nethercote
b549639a20 Bug 1332577 (part 3) - Inline and remove GeckoProfilerImpl.h. r=mstange.
It's only included once, so there's no point having a separate file.

--HG--
extra : rebase_source : b8bd266e3e792b350c16a3d59d125430ff1b42db
2017-01-20 09:54:56 +11:00
Nicholas Nethercote
e0bd6662d5 Bug 1332577 (part 2) - Inline and remove GeckoProfilerFunc.h. r=mstange.
It's only included once, so there's no point having a separate file.

--HG--
extra : rebase_source : 486b7c40ffe2b185efb145ba6e0e0c784e0299f5
2017-01-19 17:44:17 +11:00
Nicholas Nethercote
11ca48a8ae Bug 1332577 (part 1) - Remove PROFILER_MAIN_THREAD_* macros. r=mstange.
The comment suggests these are performance-critical specializations. But (a)
they look very similar to all the other macros, i.e. have no obvious
specialization, and (b) they are unused.

--HG--
extra : rebase_source : d9a0088bfc9154336f56a536320b270fd993ff10
2017-01-19 16:37:02 +11:00
Michelangelo De Simone
7baf165ae7 Bug 1313155 - Remove dom/settings and related code. r=Ehsan
MozReview-Commit-ID: Gi7frPFQ6yW

--HG--
extra : rebase_source : 69bb31fe3bc96ca460f0e35abb0b0f82d03defb6
2016-12-29 11:26:49 -08:00
Benjamin Smedberg
c7352a6657 Bug 1306329 - Stop exporting XPCOM and XUL symbols. r=glandium
--HG--
extra : rebase_source : 482177f9c1026e527cff9f23b36a5076fa6d07a5
2016-12-02 12:55:34 -05:00
Wes Kocher
d4ced30f67 Backed out 4 changesets (bug 1306329) for 3000+ hazards a=backout
Backed out changeset 1c2f51ce3faf (bug 1306329)
Backed out changeset 6bb17b9a62d8 (bug 1306329)
Backed out changeset 377ca1419f1a (bug 1306329)
Backed out changeset ad4e531c7070 (bug 1306329)

MozReview-Commit-ID: KJAxdyJeJ6J
2017-01-17 17:55:24 -08:00
Chris Pearce
fffddbdfce Bug 1329543 - Remove 'adobe' from GMP download code. r=spohl
MozReview-Commit-ID: HXcl2xNDgEo

--HG--
extra : rebase_source : 934855aee2eefbb7e2a13c360456cac118342b5e
2017-01-14 16:37:59 +08:00
Benjamin Smedberg
d616a7ec44 Bug 1306329 - Stop exporting XPCOM and XUL symbols. r=glandium
--HG--
extra : rebase_source : 8c700498470b42279197f316d553154b1f2ed235
2016-12-02 12:55:34 -05:00
Mike Hommey
02f74c5857 Bug 1330481 - Fix "error: a storage class can only be specified for objects and functions". r=decoder
--HG--
extra : rebase_source : df4938bbea56575742cb44648636a0d24c3bf581
2017-01-12 11:01:37 +09:00
Ryan VanderMeulen
78cc07597f Merge m-c to autoland. a=merge 2017-01-17 11:32:39 -05:00
Florian Quèze
d422907f57 Bug 1331081 - make the no-useless-parameters eslint rule report useless addEventListener false third parameter, r=jaws.
--HG--
extra : rebase_source : 9b2b156afacff5d1309c60a3620d061706cc303c
2017-01-17 11:43:31 +01:00
Mark Banner
8be1b0f008 Bug 1331006 - [eslint] Define more globals, and add a rule to import test globals from SimpleTest/EventUtils. r=mossop
MozReview-Commit-ID: 5ifWLAa8wG2

--HG--
extra : rebase_source : a5698cb08548a547faf9a9379cacaca428b67c00
2017-01-12 10:24:10 +00:00
Julian Descottes
25012b4646 Bug 1331355 - Remove missing browser-devedition.js from import-browserjs-globals.js;r=me
MozReview-Commit-ID: LqmujVGrC6a

--HG--
extra : rebase_source : 364124793597b70e811d81941d6bfcb496e2c160
2017-01-16 13:22:25 +01:00
Sylvestre Ledru
6d2f73025d Bug 1329191 - Download clang-format 4.0 from tooltool and add a checksum check. Flake8 on the rest of the file r=gps
MozReview-Commit-ID: FKTrXgVdjZs

--HG--
extra : rebase_source : 86b9373aab04d7e6fc66e8344f09ab61dcbd4f4c
2017-01-06 15:52:07 +01:00
Sylvestre Ledru
7b9a8fa62e Bug 1329191 - Download clang-format 4.0 from tooltool and add a checksum check r=gps
MozReview-Commit-ID: 2ta8m6yHXZc

--HG--
extra : rebase_source : 827786f672d88137b8f706f583f45da9f4d63f17
2017-01-06 15:51:40 +01:00
Wes Kocher
f8a62a9ce6 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ASajzspkOe1
2017-01-13 15:48:34 -08:00
Florian Quèze
7dc82706aa Bug 1330464 - make no-useless-parameters.js not use array.includes, r=jaws over IRC.
--HG--
extra : rebase_source : 18b2df2e8209777b786a9aa939b3b94548c67a33
2017-01-13 21:21:16 +01:00
Florian Quèze
22d9b71466 Bug 1330464 - make the no-useless-parameters eslint rule detect misuses of the Services.prefs APIs, r=jaws. 2017-01-13 20:21:55 +01:00
Luke Wagner
094950cd37 Bug 1330150 - Don't abandon sample if native stack walk fails (r=ehsan)
MozReview-Commit-ID: CyPPGEGX8R2
2017-01-12 17:40:20 -06:00
Jan Beich
9e123aa5bd Bug 1329467 - Drop non-SPS version of AutoProfilerRegister. r=mstange
MozReview-Commit-ID: 9lZLPAi5ZZT

--HG--
extra : rebase_source : 4dc3e2926b80308d9a7ec2e23b505518c9e10b02
2017-01-09 23:03:22 +00:00
Jan Beich
ab093993b7 Bug 1329467 - Move remaining *RAII classes from GeckoProfiler under mozilla namespace. r=mstange
MozReview-Commit-ID: I8qqGDLJkgo

--HG--
extra : rebase_source : eeda752a75c050e5f88851d7401a462d86c24b80
2017-01-09 22:11:58 +00:00
Jan Beich
4676a59c08 Bug 1329467 - Revert bug 1151829 to unbreak non-SPS build after bug 1322553. r=mstange
MozReview-Commit-ID: 14QL0Unr84G

--HG--
extra : rebase_source : 0b0cd50d4c08bfc1d16f648a40c21ce56a72af5f
2017-01-09 21:46:56 +00:00
Carsten "Tomcat" Book
3ad97e202a merge mozilla-inbound to mozilla-central a=merge 2017-01-12 10:14:43 +01:00
Eric Rahm
87cfbc1b65 Bug 1322735 - Remove MOZ_STACKWALKING define. r=glandium
With frame pointer omission disabled we should always have usable stacks on Windows. This allows us to remove the MOZ_STACKWALKING define as it will always be enabled.

MozReview-Commit-ID: 54xs3Hf1r4P

--HG--
extra : rebase_source : dfaf13fb4c2185985f4f074c338ccf1fef8f3c94
2016-12-20 15:11:36 -08:00
Florian Quèze
a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Florian Quèze
02daed043c Bug 1330147 - add eslint rule to reject newURI(uri, null, null) and removeObserver(notificationName, observer, false), r=jaws. 2017-01-11 22:27:42 +01:00
Mark Banner
1b9c7c6e5c Bug 1330071 - Add a couple of basic unit tests for our custom eslint rules. Currently these are not automatic. r=mossop
MozReview-Commit-ID: AUMmPQ5qDgb

--HG--
extra : rebase_source : ef05e88ea1de93de54c9e5ed8828b69e0220a2d3
2017-01-10 20:48:52 +00:00
Phil Ringnalda
1c2d0d367f Backed out 3 changesets (bug 1322735) for ASan leaks and xpcshell/selftest.py failures
CLOSED TREE

Backed out changeset 01cfc71ce542 (bug 1322735)
Backed out changeset 84c729c41230 (bug 1322735)
Backed out changeset b419aaefae95 (bug 1322735)
2017-01-10 20:17:34 -08:00
Eric Rahm
2e195de610 Bug 1322735 - Remove MOZ_STACKWALKING define. r=glandium
With frame pointer omission disabled we should always have usable stacks on Windows. This allows us to remove the MOZ_STACKWALKING define as it will always be enabled.

MozReview-Commit-ID: 54xs3Hf1r4P

--HG--
extra : rebase_source : 5fe27cdeeb464d81fbedc8c02ac187658bd759e7
2016-12-20 15:11:36 -08:00
Wes Kocher
269e3163e5 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6wWFiDQ0QJ8
2017-01-10 18:35:54 -08:00
Thinker K.F. Li
ac11da5245 Bug 1319669 - Add class AutoScopedLabel. r=cyu
--HG--
extra : rebase_source : 7f39a2a74117442126c2280d35d80a45eecdcf57
2017-01-09 18:46:00 +01:00
Carsten "Tomcat" Book
89882dc5f4 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Phil Ringnalda
1501dc93d8 Backed out changeset e39a1f381b85 (bug 1329861) for failures in browser_webconsole_console_trace_async.js and browser_net_cause.js
CLOSED TREE

MozReview-Commit-ID: GeiUQqUy9NG
2017-01-09 21:30:17 -08:00
Ehsan Akhgari
232b749f36 Bug 1329861 - Disable async stack capturing while profiling using the Gecko Profiler; r=mstange 2017-01-10 11:29:52 +08:00
Nathan Froyd
e4b0546d8d Bug 1329634 - actually call profiler_tracing in GeckoProfilerTracingRAII constructor; r=mstange 2017-01-09 18:50:53 -05:00
Mark Banner
582fcb8090 Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6

--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00:00
Jan Beich
b492741091 Bug 1329291 - Unbreak build on non-SPS platforms after bug 1142197. r=froydnj
MozReview-Commit-ID: LIfC5mj8uzL

--HG--
extra : rebase_source : 5290d461c6bba0d26b7ff1dbbc42964af8dcb8cc
2017-01-08 03:03:39 +00:00
Jan Beich
f77c4a415c Bug 1329466 - Unbreak build on non-SPS platforms after bug 1323100. r=mstange
MozReview-Commit-ID: Af1CuVYSNCj

--HG--
extra : rebase_source : ac6c76674785912a24081e7140df33ec0c2789e1
2017-01-08 03:04:48 +00:00
Nathan Froyd
9f924cc32c Bug 1322553 - part 1 - add a non-backtrace-taking constructor for GeckoProfilerTracingRAII; r=mstange
Sometimes there's no backtrace available, but you still want to denote
an interesting event.
2017-01-07 15:56:49 -05:00
Ryan VanderMeulen
1e6f972917 Merge inbound to m-c. a=merge 2017-01-07 11:22:47 -05:00
Sylvestre Ledru
33bf059a2e Bug 1329201 - Remove check-moz-style from m-c r=Ms2ger
MozReview-Commit-ID: 4uG6uEyMN7w

--HG--
extra : rebase_source : 0edf02bb458c687c696508b7d2df39ada51f73d4
2017-01-06 16:17:45 +01:00
Iris Hsiao
7e248d8cc9 Merge mozilla-central to autoland 2017-01-06 11:13:22 -05:00
Markus Stange
4bdc4ca0fb 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,
and except for the Shutdown Watchdog thread in nsTerminator.cpp and the
CacheIO thread. The Shutdown Watchdog thread stays alive past leak detection
during shutdown (by design), so we'd report leaks if we profiled it. The
CacheIO thread seems to stay alive past shutdown leak detection sometimes as
well.

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 : 56dd27282e7bd09a7e7dc7ca09ccfe3a0198e7af
2017-01-05 16:34:26 +01:00
Mark Banner
4fbabbbacb Bug 1328565 - bump the eslint-plugin-mozilla version to ensure developers get the changes installed properly. r=bustage-fix
commit 9b316dd630c7777efd347dfc7d93c9c2cf4f69ae
Author: Mark Banner <standard8@mozilla.com>
    Follow-up to bug 1328565 - bump the eslint-plugin-mozilla version to ensure deveelopers get the changes installed properly. r=bustage-fix-for-developers

    MozReview-Commit-ID: G4qbsRNqual
2017-01-05 08:49:44 +00:00
Mark Banner
46ee297329 Bug 1328565 - Prevent cases of Cu.import importing into variables and global scope at the same time. r=mossop
MozReview-Commit-ID: CXly2RhNpRP

--HG--
extra : rebase_source : 9b9a8542bbd437aa0160c122b1b826e08de03009
2017-01-04 19:37:43 +00:00
J. Ryan Stinnett
c2bd027ba3 Bug 1326479 - Update ESLint to 3.12.2. r=jaws
MozReview-Commit-ID: 472UvTOhP2R

--HG--
extra : rebase_source : 2bc3cd4cd451a61a49d5059430ae4ed9c6d1496f
2016-12-30 15:23:15 -06:00
Joel Maher
767b9e9306 Bug 1253155 - remove test_saved_stacks.js as it isn't useful. r=fitzgen
MozReview-Commit-ID: FLBM9k6jpn6
2016-12-30 12:30:17 -05:00
Wes Kocher
26a1ba5c14 Backed out 27 changesets (bug 1323100) for clipboard leaktest failures a=backout
Backed out changeset 84fb749698ab (bug 1323100)
Backed out changeset d6d25e8bd001 (bug 1323100)
Backed out changeset 1b0855bb0c38 (bug 1323100)
Backed out changeset b6953e3f5739 (bug 1323100)
Backed out changeset 5572f3b63215 (bug 1323100)
Backed out changeset 12fb4c533659 (bug 1323100)
Backed out changeset c36524e4e919 (bug 1323100)
Backed out changeset 1e3b3eddbe26 (bug 1323100)
Backed out changeset 061110f1ae12 (bug 1323100)
Backed out changeset 413dbd31725b (bug 1323100)
Backed out changeset 06550f7eca62 (bug 1323100)
Backed out changeset 940933b13b36 (bug 1323100)
Backed out changeset a6d75c1cd724 (bug 1323100)
Backed out changeset 681cacbbaa3b (bug 1323100)
Backed out changeset 3d53787293f6 (bug 1323100)
Backed out changeset c0340dfe4766 (bug 1323100)
Backed out changeset 9f554991549d (bug 1323100)
Backed out changeset 757539e7039a (bug 1323100)
Backed out changeset a3c9b45aa917 (bug 1323100)
Backed out changeset 23d69df98a66 (bug 1323100)
Backed out changeset 1297ded6a01d (bug 1323100)
Backed out changeset f4235b97257f (bug 1323100)
Backed out changeset 93419cb4f29f (bug 1323100)
Backed out changeset 865d1b81c804 (bug 1323100)
Backed out changeset 54acf4ef8e84 (bug 1323100)
Backed out changeset 88d17bcd8205 (bug 1323100)
Backed out changeset 0c466e5e8933 (bug 1323100)
2016-12-29 16:28:36 -08:00
Markus Stange
2319d2881d Bug 1324941 - Add a profiler label and a profiler marker for DOMEvent dispatch. r=smaug
MozReview-Commit-ID: 9nyftWPKRVe

--HG--
extra : rebase_source : 0ef900fa5c7749dd5bcec32da6b37aad91f0a518
2016-12-23 12:44:35 +01:00
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
Wes Kocher
c4adb53fc9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IQlYASgyniL
2017-01-05 17:32:50 -08:00
Steve Fink
bb5723d671 Bug 1326134 - Report whether javascript.options.asyncstack is active, r=fitzgen
--HG--
extra : rebase_source : dce39aa1d4c1c3ae264beb3bd6ea2866b6d960b7
2016-12-28 17:33:12 -08:00
Steve Fink
3949f5f1e8 Bug 1326134 - Report DEBUG builds in profiles, r=mstange
--HG--
extra : rebase_source : 6b63ad187df9f1591e30397e017c69277d014697
2016-12-28 17:20:42 -08:00
Steve Fink
8ccd756578 Bug 1326134 - Report whether GC poisoning is enabled in profiles, r=jonco
--HG--
extra : rebase_source : 8b64acda00627b1ab9c8ba3666dc0dc4e51819d9
2016-12-28 17:12:23 -08:00
Nathan Froyd
e618b8d55a Bug 1328408 - make Sampler::GetRegisteredThreads not copy the registered threads list; r=mstange
We call GetRegisteredThreads repeatedly on the sampler thread whenever
the profiler is active; there's no reason to have it churn memory.
2017-01-05 15:55:47 -05:00
Nathan Froyd
fea256a2e2 Bug 1328636 - move Sampler::{Register,Unregister}CurrentThread into common code; r=mstange
We have an abstraction over the current thread ID already, so we can use
that to get the current thread id and eliminate this bit of
cut-and-paste programming.
2017-01-05 15:41:09 -05:00
Nathan Froyd
977ac8192b Bug 1328370 - remove GeckoSampler::mPrimaryThreadProfile; r=mstange
The only interesting setter of this field is
GeckoSampler::GetPrimaryThreadProfile, which is unused.  Once that
function is removed, mPrimaryThreadProfile is set to null in
GeckoSampler's constructor and never changed or referenced.
2017-01-06 09:21:01 -05:00
Nathan Froyd
4039d9589a Bug 1142197 - manage ProfilerBacktrace with UniquePtr; r=mstange
Smart pointers are better than raw pointers.
2017-01-06 09:21:01 -05:00
Nathan Froyd
0dab5bba8e Bug 1322863 - part 3 - manage Sampler::PlatformData with UniquePtr; r=mstange
Smart pointers are better than raw pointers, and this makes clients of
PlatformData slightly simpler because they don't have to manage
destruction themselves: the new UniquePtr-derived type handles all of
that for us.
2017-01-06 09:21:01 -05:00
Nathan Froyd
5767fcd327 Bug 1322863 - part 2 - make ThreadInfo manage mProfile with UniquePtr; r=mstange
Smart pointers are better than raw pointers.  This change also has the
benefit of removing the manual memory management in ~GeckoSampler and
locating all the memory management in ThreadInfo, where it belongs.
2017-01-06 09:21:01 -05:00
Nathan Froyd
9a1517cd65 Bug 1322863 - part 1 - make ThreadInfo::mName a UniqueFreePtr; r=mstange
Smart pointers are better than raw pointers.
2017-01-06 09:21:01 -05:00
Mike Shal
ad087668b7 Bug 1339182 - Remove OSX universal support in the build system; r=glandium
This removes the UNIFY_DIST and UNIFIED_BUILD variables, as well as the
--unify flag from the packager and UnifiedBuildFinder from mozpack. As a
result the STAGEPATH variable is never defined anymore, so its uses can
be removed as well.

test_unify.py is currently the only mozbuild/mozpack test that fails
without running configure first, and there isn't much point in fixing
tests for things that we don't actually use anymore.

MozReview-Commit-ID: F5q1FPW3Did

--HG--
extra : rebase_source : cadbd237f51c23ea1983135294521d628d16f0df
2017-02-10 16:52:17 -05:00
Mark Banner
071c48e792 Bug 1325374 - Specify more globals in browser.js/nsBrowserGlue.js, and start fixing up some of places. r=mossop
MozReview-Commit-ID: C22lTfaUzHB

--HG--
extra : rebase_source : 8d186d18814a84363ebf2657dd7584a26edd845f
2016-12-22 12:14:05 +00:00
Mark Banner
59a8c923af Bug 1325339 - tools/lint/eslint/eslint-plugin-mozilla isn't being linted. r=mossop
MozReview-Commit-ID: ImgANPcndoF

--HG--
extra : rebase_source : 0eb85c185d907ac9c07ba26662f60dbb81511610
2016-12-22 10:53:51 +00:00
Sylvestre Ledru
c731ba1568 Bug 1324382 - Update mach to download clang-format 4.0 r=gps
MozReview-Commit-ID: INeMSbEloA3

--HG--
extra : rebase_source : 35dc4214a243d87e35b769f5a624b0f30bb9f208
2016-12-19 15:28:16 +01:00
Ting-Yu Chou
8a91298c2f Bug 1322465 part 12 - Use explicit/MOZ_IMPLICIT for the unary constructors in tools/. r=Ehsan
MozReview-Commit-ID: 5fp6E1T7HrW

--HG--
extra : rebase_source : 0fda130fa69d6c0a7e7f3d1838a22c4b5f6459b0
2016-12-16 16:36:44 +08:00
Nathan Froyd
a2f6acca0f Bug 1323024 - remove OS X 10.6 shared library support from the profiler; r=mstange
We don't support OS X versions below 10.6 nowadays.
2016-12-03 23:51:39 -05:00
Markus Stange
d7d6b57c9d Bug 1323072 - Trace tasks dispatched on Chromium (non-XPCOM) threads. r=sinker
MozReview-Commit-ID: GKfPCAspwDz

--HG--
extra : rebase_source : bde6aafe3ef989600d32b771f912871c0819cc44
2016-12-12 17:38:12 -05:00
Mike Conley
fe7351b75f Bug 1322758 - Stop decrementing ProfileGatherer counter when receiving an exit profile. r=mstange
For some reason, we were decrementing the ProfileGatherer's mPendingProfiles
when receiving an "exit profile". An exit profile is handed over by a subprocess
parent actor, but in order to have that exit profile, the content process
_must_ have sent it up to the parent already, and that means that the counter
had alreay been decremented on its receipt.

This means that if the subprocess parent actor exited, it'd decrement
the counter twice, which means that we open ourselves up for missing out
on profiles that haven't yet reached the parent.

I can't think of a good reason why we'd want to decrement the counter
when storing an exit profile, so I've just removed that bit.

MozReview-Commit-ID: 8jSqtpYbXh0

--HG--
extra : rebase_source : 64eadae51b0192231846327c0e677154287bd1a6
2016-12-09 18:05:45 -05:00
Cykesiopka
25866904e6 Bug 1322914 - Enable flake8 linting for security/manager. r=mgoodwin
Various non-conformant B2G related files are simply ignored, since it's not
worth the time to update them to conform.

MozReview-Commit-ID: 5QMbg5pHSbn

--HG--
extra : rebase_source : a133549edc619c2c4fd1d002070d563a145be0d9
2016-12-13 00:25:45 +08:00
Andrew McCreight
fccb0645ed Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
Nathan Froyd
826598caba Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange 2016-12-12 08:45:46 -05:00
Andrew McCreight
e31b5489da Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj 2016-12-12 07:58:33 -05:00
Thinker K.F. Li
db61896b15 Bug 1319669 - Handle TaskTracer at STS thread and Cache thread. r=honzab 2016-12-09 14:09:00 -05:00
Markus Stange
016f125539 Bug 1322471 - Report the true thread name for content process threads in the profile, and add a processType field. r=BenWa
MozReview-Commit-ID: 52Eb3Rks9mE

--HG--
extra : rebase_source : 62c170badbf3897d303301489d8e919819f71f80
2016-12-07 21:40:20 -10:00
Ethan Glasser-Camp
8c71fbb490 Bug 1319884 - Leftover cleanups, r=MattN
I didn't realize this file was here when I updated kinto.js to 6.0.0.

MozReview-Commit-ID: 4G1cplpz4r5

--HG--
extra : rebase_source : 228ce612db2c7d648d82b541f9b01a4e96e285b4
2016-11-23 14:22:44 -05:00
Phil Ringnalda
430ec9a870 Merge m-c to autoland 2016-11-29 19:31:34 -08:00
Henrik Skupin
39b88340ad Bug 1319705 - Move Puppeteer to testing/marionette and make it available for Marionette tests in test packages. r=gps
MozReview-Commit-ID: 521o0fV72SQ

--HG--
rename : testing/puppeteer/.flake8 => testing/marionette/puppeteer/.flake8
rename : testing/puppeteer/firefox/MANIFEST.in => testing/marionette/puppeteer/firefox/MANIFEST.in
rename : testing/puppeteer/firefox/docs/Makefile => testing/marionette/puppeteer/firefox/docs/Makefile
rename : testing/puppeteer/firefox/docs/api/appinfo.rst => testing/marionette/puppeteer/firefox/docs/api/appinfo.rst
rename : testing/puppeteer/firefox/docs/api/keys.rst => testing/marionette/puppeteer/firefox/docs/api/keys.rst
rename : testing/puppeteer/firefox/docs/api/l10n.rst => testing/marionette/puppeteer/firefox/docs/api/l10n.rst
rename : testing/puppeteer/firefox/docs/api/places.rst => testing/marionette/puppeteer/firefox/docs/api/places.rst
rename : testing/puppeteer/firefox/docs/api/prefs.rst => testing/marionette/puppeteer/firefox/docs/api/prefs.rst
rename : testing/puppeteer/firefox/docs/api/security.rst => testing/marionette/puppeteer/firefox/docs/api/security.rst
rename : testing/puppeteer/firefox/docs/api/software_update.rst => testing/marionette/puppeteer/firefox/docs/api/software_update.rst
rename : testing/puppeteer/firefox/docs/api/utils.rst => testing/marionette/puppeteer/firefox/docs/api/utils.rst
rename : testing/puppeteer/firefox/docs/conf.py => testing/marionette/puppeteer/firefox/docs/conf.py
rename : testing/puppeteer/firefox/docs/index.rst => testing/marionette/puppeteer/firefox/docs/index.rst
rename : testing/puppeteer/firefox/docs/make.bat => testing/marionette/puppeteer/firefox/docs/make.bat
rename : testing/puppeteer/firefox/docs/ui/about_window/window.rst => testing/marionette/puppeteer/firefox/docs/ui/about_window/window.rst
rename : testing/puppeteer/firefox/docs/ui/browser/notifications.rst => testing/marionette/puppeteer/firefox/docs/ui/browser/notifications.rst
rename : testing/puppeteer/firefox/docs/ui/browser/tabbar.rst => testing/marionette/puppeteer/firefox/docs/ui/browser/tabbar.rst
rename : testing/puppeteer/firefox/docs/ui/browser/toolbars.rst => testing/marionette/puppeteer/firefox/docs/ui/browser/toolbars.rst
rename : testing/puppeteer/firefox/docs/ui/browser/window.rst => testing/marionette/puppeteer/firefox/docs/ui/browser/window.rst
rename : testing/puppeteer/firefox/docs/ui/deck.rst => testing/marionette/puppeteer/firefox/docs/ui/deck.rst
rename : testing/puppeteer/firefox/docs/ui/menu.rst => testing/marionette/puppeteer/firefox/docs/ui/menu.rst
rename : testing/puppeteer/firefox/docs/ui/pageinfo/window.rst => testing/marionette/puppeteer/firefox/docs/ui/pageinfo/window.rst
rename : testing/puppeteer/firefox/docs/ui/update_wizard/dialog.rst => testing/marionette/puppeteer/firefox/docs/ui/update_wizard/dialog.rst
rename : testing/puppeteer/firefox/docs/ui/windows.rst => testing/marionette/puppeteer/firefox/docs/ui/windows.rst
rename : testing/puppeteer/firefox/firefox_puppeteer/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/appinfo.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/appinfo.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/keys.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/keys.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/l10n.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/l10n.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/places.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/places.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/prefs.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/prefs.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/security.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/security.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/software_update.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/software_update.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/utils.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/utils.py
rename : testing/puppeteer/firefox/firefox_puppeteer/base.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/base.py
rename : testing/puppeteer/firefox/firefox_puppeteer/decorators.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/decorators.py
rename : testing/puppeteer/firefox/firefox_puppeteer/errors.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/errors.py
rename : testing/puppeteer/firefox/firefox_puppeteer/mixins.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/mixins.py
rename : testing/puppeteer/firefox/firefox_puppeteer/puppeteer.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/puppeteer.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/about_window/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/about_window/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/about_window/deck.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/about_window/deck.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/about_window/window.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/about_window/window.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/base.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/base.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/browser/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/browser/notifications.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/notifications.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/browser/tabbar.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/tabbar.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/browser/toolbars.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/toolbars.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/browser/window.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/window.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/deck.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/deck.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/menu.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/menu.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/deck.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/deck.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/window.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/window.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/dialog.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/dialog.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/wizard.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/wizard.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/windows.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/windows.py
rename : testing/puppeteer/firefox/requirements-docs.txt => testing/marionette/puppeteer/firefox/requirements-docs.txt
rename : testing/puppeteer/firefox/requirements.txt => testing/marionette/puppeteer/firefox/requirements.txt
rename : testing/puppeteer/firefox/setup.py => testing/marionette/puppeteer/firefox/setup.py
extra : rebase_source : 2c34436c2669cab33d7d3b3f2b23c46c7d3a27d7
2016-11-24 17:02:52 +01:00
Christian Holler (:decoder)
623744a3cb Bug 1320387 - Add missing include in libfuzzer harness. r=froydnj
MozReview-Commit-ID: 3L0DKH4IEMA
2016-11-28 22:12:56 +01:00
Shih-Chiang Chien
1de6877d89 Bug 1319682 - fix compile warning/error in TaskTracer, r=sinker
MozReview-Commit-ID: 4E0ThIAZAxC

--HG--
extra : rebase_source : d1cb4ae28e7d10b5bdd3d87d6a97413e2d204057
2016-11-24 17:51:23 +08:00
Thinker K.F. Li
dfc96df660 Bug 1287392 - Part 8: Improve performance of logging of TaskTracer. r=cyu 2016-11-22 00:15:00 +08:00
Thinker K.F. Li
458949dc68 Bug 1287392 - Part 7: Change definition of VPtr of TaskTracer. r=cyu 2016-11-22 00:14:00 +08:00
Thinker K.F. Li
df311cea99 Bug 1287392 - Part 6: Add VirtualTask RAII class. r=cyu 2016-11-22 00:13:00 +08:00
Thinker K.F. Li
b39737d4c2 Bug 1287392 - Part 5: Fix bugs of sync for TaskTracer. r=cyu 2016-11-22 00:11:00 +08:00
Thinker K.F. Li
6a49d378ba Bug 1287392 - Part 4: Expose a file writer API for GeckoProfiler. r=mstange 2016-11-19 02:48:00 +08:00
Jon Coppeard
5cd9e63353 Backout changeset 093a7b8b7285 (bug 1297360) for causing bug 1316150 2016-11-21 10:26:31 +00:00
Ehsan Akhgari
f0f85366d9 Bug 1318218 - Remove PermissionsTable; r=baku,jryans
This also removes the WebIDE UI for viewing the permissions table.
2016-11-18 08:59:35 -05:00
Ehsan Akhgari
d07f79a266 Bug 1318210 - Remove nsIAppsService; r=baku 2016-11-17 10:41:36 -05:00
Ehsan Akhgari
354db69f04 Bug 1318207 - Remove Navigator.mozPermissionSettings; r=baku 2016-11-17 09:19:13 -05:00
Christian Holler (:decoder)
1ff4780834 Bug 1302451 - Import LibFuzzer code. r=froydnj
MozReview-Commit-ID: 3NRSquBHyr2
2016-11-07 15:58:20 +01:00
Carsten "Tomcat" Book
106d39cf20 Merge mozilla-central to mozilla-inbound 2016-11-15 12:33:34 +01:00
Thinker K.F. Li
90bdeea890 Bug 1287392 - Part 2: Ignore obsolete TaskTracer data and fix vptr. r=cyu 2016-11-10 07:58:00 +01:00
Thinker K.F. Li
9be93d8af3 Bug 1287392 - Part 1: Fix TaskTracer bugs caused by the changes of IPC. r=khuey, r=bgirard 2016-11-11 20:26:00 +01:00
Mark Banner
baa174d6e7 Bug 1228761 - 'mach eslint' should look for 'nodejs' as well as 'node' executables to better support linux. r=ahal
MozReview-Commit-ID: 768u0MyMWA0

--HG--
extra : rebase_source : 3d9b430887a612864c0295f4dd53918a40ab84f9
2016-11-11 17:15:40 +00:00
Carsten "Tomcat" Book
4b6cab91f9 merge mozilla-inbound to mozilla-central a=merge 2016-11-10 16:59:38 +01:00
Dave Townsend
baee0ed159 Bug 1315402: Detect more head files for tests automatically. r=standard8, r=jryans
Some test files aren't named according to the standard style so this attempts
to first detect test files by loading the test manifest files in the directory
and matching the filename to sections in them. Any file listed in a manifest is
considered to be a test. It still falls back to filename matching if no manifest
could be found, particularly in the event the manifest has a strange name and
we can't identify the test type from it.

The manifests for a directory are cached to speed up checking when linting
multiple files in the same directory.

MozReview-Commit-ID: 91bxOeZZcKa

--HG--
extra : rebase_source : 18190110a14083aead00cd9e6bbd9c5a6a264bff
2016-11-04 15:46:07 -07:00
Jared Wein
5bb7b57b66 Bug 1316096 - Change eslint configuration to use string values for rules instead of integers, making it easier for others who are reading the rules to know if a rule is set to off, warn, or error. r=mossop
MozReview-Commit-ID: 2Xuj5nxuQdO

--HG--
extra : rebase_source : fab5c4903b47d48080ff3c07825440e12f718698
2016-11-08 15:14:19 -05:00
Peter Snyder
327175bdf2 Bug 1315438 - Fix the path to kiss_fft in the third party library list. r=mystor
--HG--
extra : rebase_source : 831d2754334371d363aa02ee3dbb6d5a1c131e28
2016-11-05 20:11:00 -04:00
Sebastian Hengst
69e7d5814f Bug 1310297 - Remove test annotations using b2g, mulet or gonk: toolkit. r=RyanVM
MozReview-Commit-ID: I5LuDjnM7By

--HG--
extra : rebase_source : f9b5704ab17d717169a4b89651f7ede68cec2091
2016-11-05 11:29:22 +01:00
Benjamin Bouvier
3397fa4d20 Bug 1304672: Renamings outside asmjs/ and jit/; r=luke
MozReview-Commit-ID: 1LGFJMlHaz2

--HG--
extra : rebase_source : 3ee8b822a6097260c9b9c0487b91a63e6ff1e575
2016-11-02 18:22:37 +01:00
Wes Kocher
df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Andrew Halberstadt
8a863b62f5 Bug 1313956 - Upgrade ESLint to 3.8.1 for improved async/await support, r=miker
MozReview-Commit-ID: 5iRwM1aUdJE

--HG--
extra : rebase_source : 2a34073569d8fa70bcafe6a88666a67bb8164d2f
2016-10-30 18:33:27 -07:00
Sebastian Hengst
a8f157b8d8 Backed out changeset c88863b64010 (bug 1312355) for eslint bustage. r=backout 2016-11-01 20:43:18 +01:00
Dave Townsend
f137514b8d Bug 1312355: Use a fixed lookup table for variables imported from JS modules. r=standard8
MozReview-Commit-ID: EhKhBvAAlXd

--HG--
extra : rebase_source : f114924e8fa6464e6f4f82730773e8f78fcbcde4
2016-11-01 12:24:04 -07:00
Mark Banner
f7fca8642f Bug 1240165 - Expand the eslint rule 'mark-test-function-used' to cover xpcshell tests as well as gecko tests and apply to the whole tree. r=miker
MozReview-Commit-ID: FlbJ8yzWXlw

--HG--
extra : rebase_source : 3f9a2997b36ef8f019e38e4af61a0c44e0e7283c
2016-10-26 09:46:40 +01:00
Francesco Pischedda
78c3624c28 Bug 1285555 - [flake8] Automatically install/update flake8 package to correct version r=ahal
Changed flake8 installation strategy, try to update it using testings/lint/flake8_requirements.txt
moved flake8_requirements to tools/lint/flake8 directory
extracted common pip invocations to _run_pip function
minor fixes
fixed calls to check_process (concatenating list to tuple)
removed update_pip function and its error message variable
if flake8 installation reports and error print pip command output - replaced out with e.output in print function

MozReview-Commit-ID: Fmq22aL8dMq

--HG--
extra : rebase_source : 2e2f942c1ffab012795c632ceacf6debf0dc1407
2016-10-15 09:45:22 +02:00
Eric Rahm
c15406fea3 Bug 1312143 - Delete toolkit/obsolete. r=John-Galt
This removes the obsolete toolkit directory. A few references to dialogOverlay
have been updated to just used <dialog> directly. The InlineSpellCheckerUI var
has also been moved directly to browser.js and defined as lazy getter.

MozReview-Commit-ID: JZfi0W2wqCL
2016-10-24 18:23:24 -07:00
Kirti Singla
bd74c7db4a Bug 1301627 - Change the name of commented variables when calling perf_event_open. r=erahm 2016-10-23 10:10:00 -07:00
Christian Holler (:decoder)
ce948f0f15 Bug 1303757 - Add unified fuzzing interface. r=froydnj
MozReview-Commit-ID: Dk5ajWlVHQj

--HG--
extra : rebase_source : 35e45f7530d357e7d16dcfda81463bb2b18aed00
2016-10-19 01:18:12 +02:00
Carsten "Tomcat" Book
c2c23abfe2 Backed out changeset 606c7cb149c9 (bug 1287392) for bustage on a CLOSED TREE 2016-11-11 17:03:23 +01:00
Carsten "Tomcat" Book
fd71412fa1 Backed out changeset ac7da68e00f5 (bug 1287392) 2016-11-11 17:03:04 +01:00
Thinker K.F. Li
6690ec87fe Bug 1287392 - Part 2: Ignore obsolete TaskTracer data and fix vptr. r=cyu
--HG--
extra : rebase_source : fb2b5db63207e4afda3751e10797bdd07d791abf
2016-11-10 07:58:00 -05:00
Thinker K.F. Li
9f1f17b5dc Bug 1287392 - Part 1: Fix TaskTracer bugs caused by the changes of IPC. r=khuey, r=bgirard
--HG--
extra : rebase_source : d7c6771ada2f19b028760456bd976bf578e58cf6
2016-11-10 07:57:00 -05:00
Dave Townsend
76fbb2e22e Bug 1312355: Use a fixed lookup table for variables imported from JS modules. r=standard8
MozReview-Commit-ID: EhKhBvAAlXd

--HG--
extra : rebase_source : 935a96957ffb9e5f7e752c00e150d1757989d867
2016-11-01 12:24:04 -07:00
Philipp Kewisch
602501b0f2 Bug 1303871 - Lines generated by xbl preprocessor can cause various rule incompatibilities. r=miker
MozReview-Commit-ID: 5x63vEptBIn

--HG--
extra : rebase_source : 8f82acf97dfc1b0587a8ecdadcccad4bfeb2dce4
2016-09-20 11:34:40 +02:00
Philipp Kewisch
4ceb6d2129 Bug 1280883 - Avoid effects of ASI when preprocessing XBL for eslint. r=miker
MozReview-Commit-ID: KozbJCGIpFo

--HG--
extra : rebase_source : bd0fa2ff793391f0100b0310fa4f5d1680241e33
2016-09-19 11:33:26 +02:00
Mark Banner
56a7b3961a Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I

--HG--
rename : .eslintrc => .eslintrc.js
rename : accessible/.eslintrc => accessible/.eslintrc.js
rename : accessible/tests/browser/.eslintrc => accessible/tests/browser/.eslintrc.js
rename : browser/.eslintrc => browser/.eslintrc.js
rename : browser/base/content/test/alerts/.eslintrc => browser/base/content/test/alerts/.eslintrc.js
rename : browser/base/content/test/chrome/.eslintrc => browser/base/content/test/chrome/.eslintrc.js
rename : browser/base/content/test/general/.eslintrc => browser/base/content/test/general/.eslintrc.js
rename : browser/base/content/test/newtab/.eslintrc => browser/base/content/test/newtab/.eslintrc.js
rename : browser/base/content/test/plugins/.eslintrc => browser/base/content/test/plugins/.eslintrc.js
rename : browser/base/content/test/popupNotifications/.eslintrc => browser/base/content/test/popupNotifications/.eslintrc.js
rename : browser/base/content/test/referrer/.eslintrc => browser/base/content/test/referrer/.eslintrc.js
rename : browser/base/content/test/social/.eslintrc => browser/base/content/test/social/.eslintrc.js
rename : browser/components/contextualidentity/test/browser/.eslintrc => browser/components/contextualidentity/test/browser/.eslintrc.js
rename : browser/components/customizableui/test/.eslintrc => browser/components/customizableui/test/.eslintrc.js
rename : browser/components/dirprovider/tests/unit/.eslintrc => browser/components/dirprovider/tests/unit/.eslintrc.js
rename : browser/components/downloads/test/browser/.eslintrc => browser/components/downloads/test/browser/.eslintrc.js
rename : browser/components/downloads/test/unit/.eslintrc => browser/components/downloads/test/unit/.eslintrc.js
rename : browser/components/extensions/.eslintrc => browser/components/extensions/.eslintrc.js
rename : browser/components/extensions/test/browser/.eslintrc => browser/components/extensions/test/browser/.eslintrc.js
rename : browser/components/extensions/test/xpcshell/.eslintrc => browser/components/extensions/test/xpcshell/.eslintrc.js
rename : browser/components/feeds/test/.eslintrc => browser/components/feeds/test/.eslintrc.js
rename : browser/components/feeds/test/chrome/.eslintrc => browser/components/feeds/test/chrome/.eslintrc.js
rename : browser/components/feeds/test/unit/.eslintrc => browser/components/feeds/test/unit/.eslintrc.js
rename : browser/components/migration/tests/unit/.eslintrc => browser/components/migration/tests/unit/.eslintrc.js
rename : browser/components/newtab/tests/browser/.eslintrc => browser/components/newtab/tests/browser/.eslintrc.js
rename : browser/components/newtab/tests/xpcshell/.eslintrc => browser/components/newtab/tests/xpcshell/.eslintrc.js
rename : browser/components/originattributes/test/browser/.eslintrc => browser/components/originattributes/test/browser/.eslintrc.js
rename : browser/components/places/tests/browser/.eslintrc => browser/components/places/tests/browser/.eslintrc.js
rename : browser/components/places/tests/chrome/.eslintrc => browser/components/places/tests/chrome/.eslintrc.js
rename : browser/components/places/tests/unit/.eslintrc => browser/components/places/tests/unit/.eslintrc.js
rename : browser/components/preferences/in-content/tests/.eslintrc => browser/components/preferences/in-content/tests/.eslintrc.js
rename : browser/components/privatebrowsing/test/browser/.eslintrc => browser/components/privatebrowsing/test/browser/.eslintrc.js
rename : browser/components/safebrowsing/content/test/.eslintrc => browser/components/safebrowsing/content/test/.eslintrc.js
rename : browser/components/search/test/.eslintrc => browser/components/search/test/.eslintrc.js
rename : browser/components/selfsupport/test/.eslintrc => browser/components/selfsupport/test/.eslintrc.js
rename : browser/components/sessionstore/test/.eslintrc => browser/components/sessionstore/test/.eslintrc.js
rename : browser/components/sessionstore/test/unit/.eslintrc => browser/components/sessionstore/test/unit/.eslintrc.js
rename : browser/components/shell/test/.eslintrc => browser/components/shell/test/.eslintrc.js
rename : browser/components/shell/test/unit/.eslintrc => browser/components/shell/test/unit/.eslintrc.js
rename : browser/components/tests/browser/.eslintrc => browser/components/tests/browser/.eslintrc.js
rename : browser/components/translation/test/.eslintrc => browser/components/translation/test/.eslintrc.js
rename : browser/components/translation/test/unit/.eslintrc => browser/components/translation/test/unit/.eslintrc.js
rename : browser/components/uitour/test/.eslintrc => browser/components/uitour/test/.eslintrc.js
rename : browser/experiments/test/xpcshell/.eslintrc => browser/experiments/test/xpcshell/.eslintrc.js
rename : browser/extensions/formautofill/.eslintrc => browser/extensions/formautofill/.eslintrc.js
rename : browser/extensions/formautofill/test/browser/.eslintrc => browser/extensions/formautofill/test/browser/.eslintrc.js
rename : browser/extensions/pdfjs/test/.eslintrc => browser/extensions/pdfjs/test/.eslintrc.js
rename : browser/modules/test/.eslintrc => browser/modules/test/.eslintrc.js
rename : browser/modules/test/unit/social/.eslintrc => browser/modules/test/unit/social/.eslintrc.js
rename : browser/modules/test/xpcshell/.eslintrc => browser/modules/test/xpcshell/.eslintrc.js
rename : devtools/.eslintrc => devtools/.eslintrc.js
rename : devtools/.eslintrc.mochitests => devtools/.eslintrc.mochitests.js
rename : devtools/.eslintrc.xpcshell => devtools/.eslintrc.xpcshell.js
rename : devtools/client/aboutdebugging/test/.eslintrc => devtools/client/aboutdebugging/test/.eslintrc.js
rename : devtools/client/animationinspector/test/.eslintrc => devtools/client/animationinspector/test/.eslintrc.js
rename : devtools/client/animationinspector/test/unit/.eslintrc => devtools/client/animationinspector/test/unit/.eslintrc.js
rename : devtools/client/canvasdebugger/test/.eslintrc => devtools/client/canvasdebugger/test/.eslintrc.js
rename : devtools/client/commandline/test/.eslintrc => devtools/client/commandline/test/.eslintrc.js
rename : devtools/client/debugger/new/test/mochitest/.eslintrc => devtools/client/debugger/new/test/mochitest/.eslintrc.js
rename : devtools/client/debugger/test/.eslintrc => devtools/client/debugger/test/.eslintrc.js
rename : devtools/client/dom/.eslintrc => devtools/client/dom/.eslintrc.js
rename : devtools/client/dom/test/.eslintrc => devtools/client/dom/test/.eslintrc.js
rename : devtools/client/framework/test/.eslintrc => devtools/client/framework/test/.eslintrc.js
rename : devtools/client/inspector/.eslintrc => devtools/client/inspector/.eslintrc.js
rename : devtools/client/inspector/components/test/.eslintrc => devtools/client/inspector/components/test/.eslintrc.js
rename : devtools/client/inspector/computed/test/.eslintrc => devtools/client/inspector/computed/test/.eslintrc.js
rename : devtools/client/inspector/fonts/test/.eslintrc => devtools/client/inspector/fonts/test/.eslintrc.js
rename : devtools/client/inspector/markup/test/.eslintrc => devtools/client/inspector/markup/test/.eslintrc.js
rename : devtools/client/inspector/rules/test/.eslintrc => devtools/client/inspector/rules/test/.eslintrc.js
rename : devtools/client/inspector/shared/test/.eslintrc => devtools/client/inspector/shared/test/.eslintrc.js
rename : devtools/client/inspector/test/.eslintrc => devtools/client/inspector/test/.eslintrc.js
rename : devtools/client/jsonview/.eslintrc => devtools/client/jsonview/.eslintrc.js
rename : devtools/client/jsonview/test/.eslintrc => devtools/client/jsonview/test/.eslintrc.js
rename : devtools/client/memory/test/browser/.eslintrc => devtools/client/memory/test/browser/.eslintrc.js
rename : devtools/client/memory/test/unit/.eslintrc => devtools/client/memory/test/unit/.eslintrc.js
rename : devtools/client/netmonitor/.eslintrc => devtools/client/netmonitor/.eslintrc.js
rename : devtools/client/netmonitor/har/test/.eslintrc => devtools/client/netmonitor/har/test/.eslintrc.js
rename : devtools/client/netmonitor/test/.eslintrc => devtools/client/netmonitor/test/.eslintrc.js
rename : devtools/client/performance/test/.eslintrc => devtools/client/performance/test/.eslintrc.js
rename : devtools/client/performance/test/unit/.eslintrc => devtools/client/performance/test/unit/.eslintrc.js
rename : devtools/client/projecteditor/test/.eslintrc => devtools/client/projecteditor/test/.eslintrc.js
rename : devtools/client/promisedebugger/test/.eslintrc => devtools/client/promisedebugger/test/.eslintrc.js
rename : devtools/client/responsive.html/test/browser/.eslintrc => devtools/client/responsive.html/test/browser/.eslintrc.js
rename : devtools/client/responsive.html/test/unit/.eslintrc => devtools/client/responsive.html/test/unit/.eslintrc.js
rename : devtools/client/responsivedesign/test/.eslintrc => devtools/client/responsivedesign/test/.eslintrc.js
rename : devtools/client/scratchpad/test/.eslintrc => devtools/client/scratchpad/test/.eslintrc.js
rename : devtools/client/shadereditor/test/.eslintrc => devtools/client/shadereditor/test/.eslintrc.js
rename : devtools/client/shared/components/.eslintrc => devtools/client/shared/components/.eslintrc.js
rename : devtools/client/shared/components/test/browser/.eslintrc => devtools/client/shared/components/test/browser/.eslintrc.js
rename : devtools/client/shared/components/test/mochitest/.eslintrc => devtools/client/shared/components/test/mochitest/.eslintrc.js
rename : devtools/client/shared/shim/test/.eslintrc => devtools/client/shared/shim/test/.eslintrc.js
rename : devtools/client/shared/test/.eslintrc => devtools/client/shared/test/.eslintrc.js
rename : devtools/client/shared/test/unit/.eslintrc => devtools/client/shared/test/unit/.eslintrc.js
rename : devtools/client/sourceeditor/.eslintrc => devtools/client/sourceeditor/.eslintrc.js
rename : devtools/client/sourceeditor/test/.eslintrc => devtools/client/sourceeditor/test/.eslintrc.js
rename : devtools/client/storage/test/.eslintrc => devtools/client/storage/test/.eslintrc.js
rename : devtools/client/styleeditor/test/.eslintrc => devtools/client/styleeditor/test/.eslintrc.js
rename : devtools/client/webaudioeditor/test/.eslintrc => devtools/client/webaudioeditor/test/.eslintrc.js
rename : devtools/client/webconsole/net/.eslintrc => devtools/client/webconsole/net/.eslintrc.js
rename : devtools/client/webconsole/net/test/mochitest/.eslintrc => devtools/client/webconsole/net/test/mochitest/.eslintrc.js
rename : devtools/client/webconsole/net/test/unit/.eslintrc => devtools/client/webconsole/net/test/unit/.eslintrc.js
rename : devtools/client/webconsole/new-console-output/test/.eslintrc => devtools/client/webconsole/new-console-output/test/.eslintrc.js
rename : devtools/client/webconsole/test/.eslintrc => devtools/client/webconsole/test/.eslintrc.js
rename : devtools/client/webide/test/.eslintrc => devtools/client/webide/test/.eslintrc.js
rename : devtools/server/tests/browser/.eslintrc => devtools/server/tests/browser/.eslintrc.js
rename : devtools/server/tests/mochitest/.eslintrc => devtools/server/tests/mochitest/.eslintrc.js
rename : devtools/server/tests/unit/.eslintrc => devtools/server/tests/unit/.eslintrc.js
rename : devtools/shared/heapsnapshot/tests/unit/.eslintrc => devtools/shared/heapsnapshot/tests/unit/.eslintrc.js
rename : devtools/shared/platform/content/.eslintrc => devtools/shared/platform/content/.eslintrc.js
rename : devtools/shared/platform/content/test/.eslintrc => devtools/shared/platform/content/test/.eslintrc.js
rename : devtools/shared/security/tests/unit/.eslintrc => devtools/shared/security/tests/unit/.eslintrc.js
rename : devtools/shared/tests/browser/.eslintrc => devtools/shared/tests/browser/.eslintrc.js
rename : devtools/shared/tests/unit/.eslintrc => devtools/shared/tests/unit/.eslintrc.js
rename : devtools/shared/transport/tests/unit/.eslintrc => devtools/shared/transport/tests/unit/.eslintrc.js
rename : devtools/shared/webconsole/test/unit/.eslintrc => devtools/shared/webconsole/test/unit/.eslintrc.js
rename : devtools/shared/worker/tests/browser/.eslintrc => devtools/shared/worker/tests/browser/.eslintrc.js
rename : mobile/android/components/extensions/.eslintrc => mobile/android/components/extensions/.eslintrc.js
rename : mobile/android/components/extensions/test/mochitest/.eslintrc => mobile/android/components/extensions/test/mochitest/.eslintrc.js
rename : security/manager/.eslintrc.json => security/manager/.eslintrc.js
rename : security/manager/ssl/tests/.eslintrc.json => security/manager/ssl/tests/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/browser/.eslintrc.json => security/manager/ssl/tests/mochitest/browser/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.json => security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.json => security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.js
rename : security/manager/ssl/tests/unit/.eslintrc.json => security/manager/ssl/tests/unit/.eslintrc.js
rename : security/manager/tools/.eslintrc.json => security/manager/tools/.eslintrc.js
rename : storage/.eslintrc => storage/.eslintrc.js
rename : testing/mochitest/browser.eslintrc => testing/mochitest/browser.eslintrc.js
rename : testing/mochitest/chrome.eslintrc => testing/mochitest/chrome.eslintrc.js
rename : testing/mochitest/mochitest.eslintrc => testing/mochitest/mochitest.eslintrc.js
rename : testing/xpcshell/xpcshell.eslintrc => testing/xpcshell/xpcshell.eslintrc.js
rename : toolkit/.eslintrc => toolkit/.eslintrc.js
rename : toolkit/components/aboutmemory/tests/.eslintrc => toolkit/components/aboutmemory/tests/.eslintrc.js
rename : toolkit/components/aboutperformance/tests/browser/.eslintrc => toolkit/components/aboutperformance/tests/browser/.eslintrc.js
rename : toolkit/components/addoncompat/tests/browser/.eslintrc => toolkit/components/addoncompat/tests/browser/.eslintrc.js
rename : toolkit/components/alerts/test/.eslintrc => toolkit/components/alerts/test/.eslintrc.js
rename : toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc => toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc.js
rename : toolkit/components/autocomplete/tests/unit/.eslintrc => toolkit/components/autocomplete/tests/unit/.eslintrc.js
rename : toolkit/components/captivedetect/test/unit/.eslintrc => toolkit/components/captivedetect/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit/.eslintrc => toolkit/components/commandlines/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_unix/.eslintrc => toolkit/components/commandlines/test/unit_unix/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_win/.eslintrc => toolkit/components/commandlines/test/unit_win/.eslintrc.js
rename : toolkit/components/contentprefs/tests/mochitest/.eslintrc => toolkit/components/contentprefs/tests/mochitest/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit/.eslintrc => toolkit/components/contentprefs/tests/unit/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit_cps2/.eslintrc => toolkit/components/contentprefs/tests/unit_cps2/.eslintrc.js
rename : toolkit/components/crashes/tests/xpcshell/.eslintrc => toolkit/components/crashes/tests/xpcshell/.eslintrc.js
rename : toolkit/components/crashmonitor/test/unit/.eslintrc => toolkit/components/crashmonitor/test/unit/.eslintrc.js
rename : toolkit/components/ctypes/tests/chrome/.eslintrc => toolkit/components/ctypes/tests/chrome/.eslintrc.js
rename : toolkit/components/ctypes/tests/unit/.eslintrc => toolkit/components/ctypes/tests/unit/.eslintrc.js
rename : toolkit/components/downloads/test/unit/.eslintrc => toolkit/components/downloads/test/unit/.eslintrc.js
rename : toolkit/components/extensions/.eslintrc => toolkit/components/extensions/.eslintrc.js
rename : toolkit/components/extensions/test/mochitest/.eslintrc => toolkit/components/extensions/test/mochitest/.eslintrc.js
rename : toolkit/components/extensions/test/xpcshell/.eslintrc => toolkit/components/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/components/feeds/test/.eslintrc => toolkit/components/feeds/test/.eslintrc.js
rename : toolkit/components/filepicker/test/unit/.eslintrc => toolkit/components/filepicker/test/unit/.eslintrc.js
rename : toolkit/components/filewatcher/tests/xpcshell/.eslintrc => toolkit/components/filewatcher/tests/xpcshell/.eslintrc.js
rename : toolkit/components/formautofill/test/browser/.eslintrc => toolkit/components/formautofill/test/browser/.eslintrc.js
rename : toolkit/components/formautofill/test/chrome/.eslintrc => toolkit/components/formautofill/test/chrome/.eslintrc.js
rename : toolkit/components/formautofill/test/xpcshell/.eslintrc => toolkit/components/formautofill/test/xpcshell/.eslintrc.js
rename : toolkit/components/jsdownloads/test/browser/.eslintrc => toolkit/components/jsdownloads/test/browser/.eslintrc.js
rename : toolkit/components/jsdownloads/test/data/.eslintrc => toolkit/components/jsdownloads/test/data/.eslintrc.js
rename : toolkit/components/jsdownloads/test/unit/.eslintrc => toolkit/components/jsdownloads/test/unit/.eslintrc.js
rename : toolkit/components/lz4/tests/xpcshell/.eslintrc => toolkit/components/lz4/tests/xpcshell/.eslintrc.js
rename : toolkit/components/mediasniffer/test/unit/.eslintrc => toolkit/components/mediasniffer/test/unit/.eslintrc.js
rename : toolkit/components/narrate/.eslintrc => toolkit/components/narrate/.eslintrc.js
rename : toolkit/components/narrate/test/.eslintrc => toolkit/components/narrate/test/.eslintrc.js
rename : toolkit/components/osfile/tests/mochi/.eslintrc => toolkit/components/osfile/tests/mochi/.eslintrc.js
rename : toolkit/components/osfile/tests/xpcshell/.eslintrc => toolkit/components/osfile/tests/xpcshell/.eslintrc.js
rename : toolkit/components/passwordmgr/.eslintrc => toolkit/components/passwordmgr/.eslintrc.js
rename : toolkit/components/passwordmgr/test/.eslintrc => toolkit/components/passwordmgr/test/.eslintrc.js
rename : toolkit/components/passwordmgr/test/browser/.eslintrc => toolkit/components/passwordmgr/test/browser/.eslintrc.js
rename : toolkit/components/passwordmgr/test/unit/.eslintrc => toolkit/components/passwordmgr/test/unit/.eslintrc.js
rename : toolkit/components/perf/.eslintrc => toolkit/components/perf/.eslintrc.js
rename : toolkit/components/perfmonitoring/tests/browser/.eslintrc => toolkit/components/perfmonitoring/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/.eslintrc => toolkit/components/places/tests/.eslintrc.js
rename : toolkit/components/places/tests/bookmarks/.eslintrc => toolkit/components/places/tests/bookmarks/.eslintrc.js
rename : toolkit/components/places/tests/browser/.eslintrc => toolkit/components/places/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/chrome/.eslintrc => toolkit/components/places/tests/chrome/.eslintrc.js
rename : toolkit/components/places/tests/expiration/.eslintrc => toolkit/components/places/tests/expiration/.eslintrc.js
rename : toolkit/components/places/tests/favicons/.eslintrc => toolkit/components/places/tests/favicons/.eslintrc.js
rename : toolkit/components/places/tests/history/.eslintrc => toolkit/components/places/tests/history/.eslintrc.js
rename : toolkit/components/places/tests/migration/.eslintrc => toolkit/components/places/tests/migration/.eslintrc.js
rename : toolkit/components/places/tests/network/.eslintrc => toolkit/components/places/tests/network/.eslintrc.js
rename : toolkit/components/places/tests/queries/.eslintrc => toolkit/components/places/tests/queries/.eslintrc.js
rename : toolkit/components/places/tests/unifiedcomplete/.eslintrc => toolkit/components/places/tests/unifiedcomplete/.eslintrc.js
rename : toolkit/components/places/tests/unit/.eslintrc => toolkit/components/places/tests/unit/.eslintrc.js
rename : toolkit/components/promiseworker/tests/xpcshell/.eslintrc => toolkit/components/promiseworker/tests/xpcshell/.eslintrc.js
rename : toolkit/components/prompts/test/.eslintrc => toolkit/components/prompts/test/.eslintrc.js
rename : toolkit/components/remotebrowserutils/tests/browser/.eslintrc => toolkit/components/remotebrowserutils/tests/browser/.eslintrc.js
rename : toolkit/components/satchel/test/.eslintrc => toolkit/components/satchel/test/.eslintrc.js
rename : toolkit/components/satchel/test/browser/.eslintrc => toolkit/components/satchel/test/browser/.eslintrc.js
rename : toolkit/components/satchel/test/unit/.eslintrc => toolkit/components/satchel/test/unit/.eslintrc.js
rename : toolkit/components/search/tests/xpcshell/.eslintrc => toolkit/components/search/tests/xpcshell/.eslintrc.js
rename : toolkit/components/social/test/xpcshell/.eslintrc => toolkit/components/social/test/xpcshell/.eslintrc.js
rename : toolkit/components/sqlite/tests/xpcshell/.eslintrc => toolkit/components/sqlite/tests/xpcshell/.eslintrc.js
rename : toolkit/components/startup/tests/browser/.eslintrc => toolkit/components/startup/tests/browser/.eslintrc.js
rename : toolkit/components/startup/tests/unit/.eslintrc => toolkit/components/startup/tests/unit/.eslintrc.js
rename : toolkit/components/telemetry/tests/unit/.eslintrc => toolkit/components/telemetry/tests/unit/.eslintrc.js
rename : toolkit/components/terminator/tests/xpcshell/.eslintrc => toolkit/components/terminator/tests/xpcshell/.eslintrc.js
rename : toolkit/components/thumbnails/test/.eslintrc => toolkit/components/thumbnails/test/.eslintrc.js
rename : toolkit/components/timermanager/tests/unit/.eslintrc => toolkit/components/timermanager/tests/unit/.eslintrc.js
rename : toolkit/components/url-classifier/tests/mochitest/.eslintrc => toolkit/components/url-classifier/tests/mochitest/.eslintrc.js
rename : toolkit/components/url-classifier/tests/unit/.eslintrc => toolkit/components/url-classifier/tests/unit/.eslintrc.js
rename : toolkit/components/urlformatter/tests/unit/.eslintrc => toolkit/components/urlformatter/tests/unit/.eslintrc.js
rename : toolkit/components/viewsource/test/.eslintrc => toolkit/components/viewsource/test/.eslintrc.js
rename : toolkit/components/viewsource/test/browser/.eslintrc => toolkit/components/viewsource/test/browser/.eslintrc.js
rename : toolkit/components/workerloader/tests/.eslintrc => toolkit/components/workerloader/tests/.eslintrc.js
rename : toolkit/components/xulstore/tests/chrome/.eslintrc => toolkit/components/xulstore/tests/chrome/.eslintrc.js
rename : toolkit/components/xulstore/tests/xpcshell/.eslintrc => toolkit/components/xulstore/tests/xpcshell/.eslintrc.js
rename : toolkit/content/tests/browser/.eslintrc => toolkit/content/tests/browser/.eslintrc.js
rename : toolkit/content/tests/chrome/.eslintrc => toolkit/content/tests/chrome/.eslintrc.js
rename : toolkit/content/tests/unit/.eslintrc => toolkit/content/tests/unit/.eslintrc.js
rename : toolkit/content/tests/widgets/.eslintrc => toolkit/content/tests/widgets/.eslintrc.js
rename : toolkit/crashreporter/test/browser/.eslintrc => toolkit/crashreporter/test/browser/.eslintrc.js
rename : toolkit/crashreporter/test/unit/.eslintrc => toolkit/crashreporter/test/unit/.eslintrc.js
rename : toolkit/crashreporter/test/unit_ipc/.eslintrc => toolkit/crashreporter/test/unit_ipc/.eslintrc.js
rename : toolkit/forgetaboutsite/test/browser/.eslintrc => toolkit/forgetaboutsite/test/browser/.eslintrc.js
rename : toolkit/forgetaboutsite/test/unit/.eslintrc => toolkit/forgetaboutsite/test/unit/.eslintrc.js
rename : toolkit/identity/tests/chrome/.eslintrc => toolkit/identity/tests/chrome/.eslintrc.js
rename : toolkit/identity/tests/unit/.eslintrc => toolkit/identity/tests/unit/.eslintrc.js
rename : toolkit/modules/addons/.eslintrc => toolkit/modules/addons/.eslintrc.js
rename : toolkit/modules/subprocess/.eslintrc => toolkit/modules/subprocess/.eslintrc.js
rename : toolkit/modules/subprocess/test/xpcshell/.eslintrc => toolkit/modules/subprocess/test/xpcshell/.eslintrc.js
rename : toolkit/modules/tests/browser/.eslintrc => toolkit/modules/tests/browser/.eslintrc.js
rename : toolkit/modules/tests/chrome/.eslintrc => toolkit/modules/tests/chrome/.eslintrc.js
rename : toolkit/modules/tests/mochitest/.eslintrc => toolkit/modules/tests/mochitest/.eslintrc.js
rename : toolkit/modules/tests/xpcshell/.eslintrc => toolkit/modules/tests/xpcshell/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/chrome/.eslintrc => toolkit/mozapps/downloads/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/unit/.eslintrc => toolkit/mozapps/downloads/tests/unit/.eslintrc.js
rename : toolkit/mozapps/extensions/.eslintrc => toolkit/mozapps/extensions/.eslintrc.js
rename : toolkit/mozapps/extensions/test/browser/.eslintrc => toolkit/mozapps/extensions/test/browser/.eslintrc.js
rename : toolkit/mozapps/extensions/test/mochitest/.eslintrc => toolkit/mozapps/extensions/test/mochitest/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpcshell/.eslintrc => toolkit/mozapps/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpinstall/.eslintrc => toolkit/mozapps/extensions/test/xpinstall/.eslintrc.js
rename : toolkit/mozapps/update/tests/chrome/.eslintrc => toolkit/mozapps/update/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_aus_update/.eslintrc => toolkit/mozapps/update/tests/unit_aus_update/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_base_updater/.eslintrc => toolkit/mozapps/update/tests/unit_base_updater/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_service_updater/.eslintrc => toolkit/mozapps/update/tests/unit_service_updater/.eslintrc.js
rename : toolkit/profile/test/.eslintrc => toolkit/profile/test/.eslintrc.js
rename : toolkit/themes/osx/mochitests/.eslintrc => toolkit/themes/osx/mochitests/.eslintrc.js
rename : toolkit/xre/test/.eslintrc => toolkit/xre/test/.eslintrc.js
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc.js
extra : rebase_source : 60affc4b9bf436bba7e0e21a8da3a85d16c9fc06
2016-10-18 08:38:10 +01:00
Andrew Halberstadt
352b4ef478 Bug 1309963 - Fix hidden eslint error output when the first line is blank, r=jgraham
The 'eslint' linter will assume there is an error message if the output is not valid
JSON. However, if output[0] evaluates to False, then it will also replace the output
with '[]' (which means success).

But if the error starts with a blank line, then output[0] is False and we wrongfully
don't print the rest of the message.

MozReview-Commit-ID: 9fXpmtlUUT1

--HG--
extra : rebase_source : b0466ea665cc311d9512756349b079c136a83ac1
2016-10-13 16:22:26 -04:00
Philipp Kewisch
7a35040ddc Bug 1306366 - mach eslint no longer accepts --no-ignore as a parameter. r=ahal
MozReview-Commit-ID: LpT0Qlv6vsE

--HG--
extra : rebase_source : ea59047c9b9029c7e5362e68499b24a0eac67eb1
2016-10-14 14:20:23 +02:00
Francesco Pischedda
f45ed99748 Bug 1280573 - Add testing/mozbase to flake8 linter: r=ahal
added testing/mozbase to tools/lint/flake8.lint
fixed a first batch of PEP8 errors/warnings

at first the commad autopep8 -i --max-line-length 99 -r -j 8 .
has been used to fix simpler problems, run from testing/mozbase

some of the issues can not easily fixed :
- undefined 'names' in code for example isLinux - isLinux and isBsd "fixed" with # noqa
- undefined 'message' resolved with return fmt.format(...
- undefined 'structured' resolved replacing those with mozlog
- long comments - some remaining - addressed with # noqa
- package level import everything - addressed with # flake8: noqa

restored testing/mozbase/mozdevice/mozdevice/Zeroconf.py
fixed issues reported on mozreview
fixed ')' in testing/mozbase/mozprocess/mozprocess/qijo.py imports
finally fixed multiline string at testing/mozbase/manifestparser/tests/test_manifestparser.py:114
^^^ and again, but now with ./mach python-test --path-only testing/mozbase/manifestparser/tests/test_manifestparser.py passing
fixed testing/mozbase/manifestparser/tests/test_convert_directory.py assert

fixed this error:
10:15:21     INFO -      return lambda line: stack_fixer_module.fixSymbols(line)
10:15:21     INFO -  TypeError: fixSymbols() takes exactly 2 arguments (1 given)

fixed two spaces lint error even of #  noqa comments
restored assignement to lambda with #  noqa to silence the lint error
global noqa for testing/mozbase/manifestparser/tests/test_filters.py
stupid is/is not error...

MozReview-Commit-ID: 1FpJF54GqIi

--HG--
extra : rebase_source : 3cf0277fb36a296e3506aeacc2ff05e1b03f9eac
2016-09-30 16:08:37 +02:00
Ted Mielczarek
4d4f563643 Fixup readthedocs generation from bug 1294565. r=me
MozReview-Commit-ID: 8digQSVG2hF
2016-10-12 14:31:14 -04:00
Gabriele Svelto
8cbbe7f4b5 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted
* * *
Bug 1264367 - Accomodate for the new version of Breakpad
2016-10-05 11:46:07 +02:00
Kris Maglione
9174046b25 Bug 1307622: Fix handling of ignored file warnings. r=Mossop
MozReview-Commit-ID: EV3YPfsSSDS

--HG--
extra : rebase_source : f7c97a54514a65de53c8c3587ccbe386d71379cc
2016-10-04 22:44:50 +01:00
Tom Schuster
774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Tom Tromey
7bc8491bea Bug 1067547 - unify ScopedLogging implementations and use in nsEmbedFunctions; r=bsmedberg
MozReview-Commit-ID: 6hDZDaBsNFM

--HG--
extra : rebase_source : 9422c235ebdffd84e06137bb2c63ce106cb39f0b
2016-09-26 11:06:38 -06:00
Tom Tromey
1b3a828426 Bug 1067547 - add more uses of MOZ_COUNT_CTOR to tools/profiler; r=bsmedberg
MozReview-Commit-ID: 5Gf5OkydkL0

--HG--
extra : rebase_source : a32eabd5c8d051370b0f52e1b8edf8029da95a6d
2016-09-26 11:05:44 -06:00
Prabhjyot Singh Sodhi
ebb9f983f1 Bug 1280571 - Add testing/mochitest to the flake8 linter, r=ahal
MozReview-Commit-ID: INBZaZzcPmF

--HG--
extra : rebase_source : c0ba416f110b2768fc744de0fbee21c765081400
2016-09-28 08:28:04 -04:00
Jan de Mooij
e079cbfe2a Bug 1302914 - Use GetThreadContext after calling SuspendThread to ensure threads are really suspended. r=froydnj 2016-09-29 20:05:36 +02:00
Jim Chen
52cdccecbf Bug 1305271 - Only enable Java profiling on Android; r=bustage on CLOSED TREE
Only enable Java profiling (and access jni::IsFennec) on Android, where
Java profiling makes sense.
2016-09-29 00:11:57 -04:00
Jim Chen
3f0f41aeb3 Bug 1305271 - 2. Add and use jni::IsFennec() for Fennec-only code; r=snorp
Add jni::IsFennec() that returns whether we're in a Fennec environment
(defined as the presence of the GeckoApp class). Then, add
jni::IsFennec() checks to places where we use JNI for Fennec-only classes.
2016-09-28 23:49:25 -04:00
Kartikaya Gupta
2a997eb496 Bug 1304694 - Fix windows builds which don't have MOZ_STACKWALKING defined. r=froydnj
MozReview-Commit-ID: I1UIlVWbu9T
2016-09-22 16:21:56 -04:00
Eric Faust
121151ec67 Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Wes Kocher
765926408d Backed out changeset e1d144423657 (bug 1280571) for making leaks hard to diagnose a=backout CLOSED TREE 2016-09-21 16:56:50 -07:00
Phil Ringnalda
b9ee856eba Backed out changeset ae50c61cb134 (bug 1264367) for breaking crash stacks on at least Android and Linux 2016-09-21 13:26:24 -07:00
Gabriele Svelto
b3a7e5c8a0 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-09-21 17:44:50 +02:00