Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Kris Maglione 6425ff4f8d Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian
This adds support for detecting globals created by these helpers, as well as a
rule to enforce their use over the older XPConnect variants.

The latter rule also supports fixing code to use the newer variants, and will
be used in the next part to rewrite in-tree ESLint-enabled code that fails it.

MozReview-Commit-ID: 6Bgo6ohQA5j

--HG--
extra : source : fbef09c3e8af1653f270db589f73f2786c23ddc2
extra : intermediate-source : e2674287e57fbf6835729f42b8491359c2c4bfd5
2018-01-18 12:53:01 -08:00
.cargo Bug 1426116 - Update for changes in WR PR 2251. r=jrmuizel 2018-01-08 09:19:27 -05:00
.vscode Bug 1423565 - Update tasks.json as per documentation. r=rillian 2017-12-06 14:59:35 +01:00
accessible Bug 1418085 followup. Try to fix the Mac-only a11y orange. r=bustage 2018-01-30 02:30:58 -05:00
browser Bug 1433139 - Follow-up to adjust keybindings to work on Windows. r=mikedeboer 2018-01-30 12:28:52 -05:00
build Backed out 11 changesets (bug 1428182) for build bustages on pixman-inlines.h:29:10 on a CLOSED TREE 2018-01-30 01:22:33 +02:00
caps Bug 1413112 - Renaming Workers.h to WorkerCommon.h, r=bkelly 2018-01-30 10:10:04 +01:00
chrome Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE 2018-01-30 07:17:48 +02:00
config Backed out 11 changesets (bug 1428182) for build bustages on pixman-inlines.h:29:10 on a CLOSED TREE 2018-01-30 01:22:33 +02:00
db Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
devtools Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian 2018-01-18 12:53:01 -08:00
docshell Bug 1418085 part 6. Remove nsIDOMHTMLElement. r=mystor 2018-01-30 00:25:36 -05:00
dom Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-30 18:24:05 +02:00
editor Bug 1434171 - Clean up CheckSelectionStateForAnonymousButtons. r=masayuki 2018-01-30 13:42:52 +09:00
embedding Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE 2018-01-30 07:17:48 +02:00
extensions Bug 1418085 part 6. Remove nsIDOMHTMLElement. r=mystor 2018-01-30 00:25:36 -05:00
gfx Bug 1389759 - Fix GPUProcessManager::EnsureGPUReady how did not guarantee the GPU process state is consistent. r=rhunt 2018-01-30 12:58:57 -05:00
gradle/wrapper Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM 2018-01-17 15:55:38 -05:00
hal Bug 1423552: Use BaseRect access methods instead of member variables in hal/ r=gsvelto 2018-01-10 11:17:58 -05:00
image Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE 2018-01-30 07:17:48 +02:00
intl Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE 2018-01-30 07:17:48 +02:00
ipc Bug 1434328 - process_util_linux.cc with fork_delegate should build on Solaris too r=jld 2018-01-30 08:47:26 -08:00
js Bug 1432794 - Skip prototype and constructor intialization for off-thread parsing r=jandem 2018-01-30 17:57:40 +00:00
layout Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-30 18:24:05 +02:00
media Backed out changeset 62da02a0aa77 (bug 1433005) for Gtest failures on Linux x64 asan and Windows 10 x64 debug 2018-01-30 19:14:12 +02:00
memory Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE 2018-01-30 07:17:48 +02:00
mfbt Bug 1422372: Mark MOZ_NoReturn as MOZ_MAYBE_UNUSED. r=Waldo 2018-01-30 14:15:51 +13:00
mobile Merge inbound to mozilla-central. a=merge 2018-01-30 12:01:49 +02:00
modules Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-30 18:24:05 +02:00
mozglue Backed out 11 changesets (bug 1428182) for build bustages on pixman-inlines.h:29:10 on a CLOSED TREE 2018-01-30 01:22:33 +02:00
netwerk Bug 1432254 - In SetFastOpenConnected, mFastOpenStatus may be TFO_DATA_COOKIE_NOT_ACCEPTED as well. r=mayhemer 2018-01-23 02:20:00 -05:00
nsprpub Bug 1420407, uplift NSPR_4_18_RTM, no code change, only version number. Require version 4.18 for building. r=me 2018-01-18 14:02:42 +01:00
other-licenses Backed out 5 changesets (bug 1418425) requested per comment #83. on a CLOSED TREE 2018-01-15 15:30:30 +02:00
parser Bug 1432186 part 19. Remove the nsIDOMNode::*_NODE constants. r=mccr8 2018-01-29 23:10:53 -05:00
python Bug 1433974 - Update BUG_COMPONENT for some of the new Testing components, r=jmaher 2018-01-29 12:57:54 -05:00
rdf Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE 2018-01-30 07:17:48 +02:00
security Bug 1433903 - Skip parts of test_nonascii_path.js for Thunderbird. r=emk 2018-01-29 14:48:00 +02:00
services Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE 2018-01-30 07:17:48 +02:00
servo servo: Merge #19884 - Fix mutation test in CI by passing env vars correctly (from aneeshusa:fix-mutation-test); r=jdm 2018-01-27 23:38:04 -06:00
startupcache Bug 1431204 - Change calls to nsIURI.spec setter to use nsIURIMutator instead r=mayhemer 2018-01-19 15:19:42 +01:00
storage Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE 2018-01-30 07:17:48 +02:00
taskcluster bug 1430834 - don't add beetmover-checksums to push-apk upstreamArtifacts. r=jlorenzo 2018-01-24 13:37:26 -08:00
testing Bug 1433618 - Ensure that resource_initiator_types test is only run once, r=ato 2018-01-30 17:53:19 +00:00
third_party Bug 1433139 - Enable the WR capture feature in webrender_bindings. r=kats 2018-01-25 14:49:36 -05:00
toolkit Bug 1351197 - Re-enable TelemetryModules test on Android on Release and Beta. r=gfritzsche 2018-01-29 12:09:14 +01:00
tools Bug 1431533: Part 4 - Add ESLint support for ChromeUtils import methods. r=florian 2018-01-18 12:53:01 -08:00
uriloader Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE 2018-01-30 07:17:48 +02:00
view Bug 1423551: Use BaseRect access methods instead of member variables in view/. r=jet 2018-01-10 11:16:22 -05:00
widget Merge inbound to mozilla-central. a=merge 2018-01-30 12:01:49 +02:00
xpcom Merge inbound to mozilla-central. a=merge 2018-01-30 12:01:49 +02:00
xpfe Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE 2018-01-30 07:17:48 +02:00
.arcconfig Bug 1424950: Add missing repository.callsign to .arcconfig. r=dkl 2017-12-13 15:38:18 +01:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Bug 1430792 - ExampleStylesheet.h should not be formatted r=andi 2018-01-16 16:37:01 +01:00
.cron.yml Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester) 2017-11-23 07:25:12 -08:00
.eslintignore Bug 1430139 P1 Move code, tests, and moz.build rules to dom/serviceworkers. r=asuth 2018-01-26 13:08:57 -08:00
.eslintrc.js Bug 1429701 - Enable ESLint rule mozilla/use-services for dom/indexedDB. r=bevis 2018-01-10 17:25:52 +00:00
.flake8 Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1429511 - Move Rust port of mozrunner to central. r=ahal 2018-01-12 15:31:20 +00:00
.hgignore Bug 1431177 - Update hgignore for talos webkit tests; r=jmaher 2018-01-17 13:59:55 -05:00
.hgtags Added tag FIREFOX_NIGHTLY_59_END for changeset 5faab9e61990 2018-01-22 11:14:37 +00:00
.inferconfig
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.taskcluster.yml bug 1328719 - task.extra.cron + task.payload.env.ACTION_TASK_GROUP_ID. r=bstack r=dustin 2018-01-12 22:17:39 -08:00
.yamllint Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin 2017-08-23 11:28:28 -04:00
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM 2018-01-17 15:55:38 -05:00
client.mk Bug 1417264 - Write .mozconfig.json from Python; r=nalexander 2017-11-13 17:45:03 -08:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-01-22 11:19:18 +00:00
configure.in
configure.py Bug 1412460 - Don't write make variables in configure.d; r=mshal 2017-11-01 15:02:11 -07:00
GNUmakefile
gradle.properties Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM 2018-01-17 15:55:38 -05:00
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek 2017-12-10 23:05:05 -07:00
moz.build Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE 2018-01-17 07:23:40 +02:00
moz.configure Bug 1425035 - move --enable-ui-locale to moz.configure; r=gps 2017-12-18 14:21:26 -08:00
mozilla-config.h.in Bug 1426898 - Stop including Char16.h everywhere. r=Waldo 2017-12-23 00:53:12 +09:00
npm-shrinkwrap.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
old-configure.in Merge inbound to mozilla-central. a=merge 2018-01-30 12:01:49 +02:00
package.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
README.txt
settings.gradle Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander 2017-10-25 22:51:44 +08:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/