3 const xpcshellTestConfig = require("eslint-plugin-mozilla/lib/configs/xpcshell-test.js");
4 const browserTestConfig = require("eslint-plugin-mozilla/lib/configs/browser-test.js");
5 const mochitestTestConfig = require("eslint-plugin-mozilla/lib/configs/mochitest-test.js");
6 const chromeTestConfig = require("eslint-plugin-mozilla/lib/configs/chrome-test.js");
9 * Some configurations have overrides, which can't be specified within overrides,
10 * so we need to remove them.
12 function removeOverrides(config) {
14 delete config.overrides;
18 const xpcshellTestPaths = [
23 const browserTestPaths = [
24 "**/test*/**/browser/",
27 const mochitestTestPaths = [
28 "**/test*/mochitest/",
31 const chromeTestPaths = [
36 // New rules and configurations should generally be added in
37 // tools/lint/eslint/eslint-plugin-mozilla/lib/configs/recommended.js to
38 // allow external repositories that use the plugin to pick them up as well.
40 "plugin:mozilla/recommended"
51 "js/src/builtin/**/*.js",
52 "js/src/shell/**/*.js"
55 // Curly brackets are required for all the tree via recommended.js,
56 // however these files aren't auto-fixable at the moment.
60 // TODO: Bug 1515949. Enable no-undef for gfx/
61 "files": "gfx/layers/apz/test/mochitest/**",
66 ...removeOverrides(xpcshellTestConfig),
67 "files": xpcshellTestPaths.map(path => `${path}**`),
68 "excludedFiles": "devtools/**"
70 // If it is an xpcshell head file, we turn off global unused variable checks, as it
71 // would require searching the other test files to know if they are used or not.
72 // This would be expensive and slow, and it isn't worth it for head files.
73 // We could get developers to declare as exported, but that doesn't seem worth it.
74 "files": xpcshellTestPaths.map(path => `${path}head*.js`),
76 "no-unused-vars": ["error", {
83 "files": browserTestPaths.map(path => `${path}**`),
84 "excludedFiles": "devtools/**"
86 ...removeOverrides(mochitestTestConfig),
87 "files": mochitestTestPaths.map(path => `${path}**`),
90 "security/manager/ssl/tests/mochitest/browser/**",
91 "testing/mochitest/**",
94 ...removeOverrides(chromeTestConfig),
95 "files": chromeTestPaths.map(path => `${path}**`),
101 // Ideally we wouldn't be using the simpletest env here, but our uses of
102 // js files mean we pick up everything from the global scope, which could
103 // be any one of a number of html files. So we just allow the basics...
104 "mozilla/simpletest": true,
107 ...mochitestTestPaths.map(path => `${path}/**/*.js`),
108 ...chromeTestPaths.map(path => `${path}/**/*.js`),
112 "extensions/permissions/test/**",
113 "extensions/spellcheck/**",
114 "extensions/universalchardet/tests/**",
117 "mozilla/reject-importGlobalProperties": "off",
118 "mozilla/use-default-preference-values": "off",
119 "mozilla/use-services": "off",
120 "no-array-constructor": "off",
122 "no-unused-vars": "off",
123 "no-redeclare": "off",
124 "no-global-assign": "off",
128 "netwerk/cookie/test/browser/**",
129 "netwerk/test/browser/**",
130 "netwerk/test/mochitests/**",
131 "netwerk/test/unit*/**",
134 "mozilla/consistent-if-bracing": "off",
135 "mozilla/reject-importGlobalProperties": "off",
136 "mozilla/no-arbitrary-setTimeout": "off",
137 "mozilla/no-define-cc-etc": "off",
138 "mozilla/use-default-preference-values": "off",
139 "mozilla/use-services": "off",
140 "consistent-return": "off",
141 "no-array-constructor": "off",
143 "no-global-assign": "off",
144 "no-nested-ternary": "off",
145 "no-new-wrappers": "off",
146 "no-redeclare": "off",
147 "no-return-await": "off",
148 "no-sequences": "off",
150 "no-throw-literal": "off",
152 "no-unreachable": "off",
153 "no-unused-vars": "off",
154 "no-useless-return": "off",
161 "object-shorthand": "off",
162 "mozilla/avoid-removeChild": "off",
163 "mozilla/consistent-if-bracing": "off",
164 "mozilla/reject-importGlobalProperties": "off",
165 "mozilla/no-arbitrary-setTimeout": "off",
166 "mozilla/no-define-cc-etc": "off",
167 "mozilla/no-useless-parameters": "off",
168 "mozilla/no-useless-removeEventListener": "off",
169 "mozilla/use-chromeutils-generateqi": "off",
170 "mozilla/use-default-preference-values": "off",
171 "mozilla/use-includes-instead-of-indexOf": "off",
172 "mozilla/use-services": "off",
173 "mozilla/use-ownerGlobal": "off",
175 "consistent-return": "off",
176 "no-array-constructor": "off",
178 "no-cond-assign": "off",
179 "no-extra-boolean-cast": "off",
181 "no-func-assign": "off",
182 "no-global-assign": "off",
183 "no-implied-eval": "off",
184 "no-lonely-if": "off",
185 "no-nested-ternary": "off",
186 "no-new-wrappers": "off",
187 "no-redeclare": "off",
188 "no-restricted-globals": "off",
189 "no-return-await": "off",
190 "no-sequences": "off",
192 "no-throw-literal": "off",
193 "no-useless-concat": "off",
195 "no-unreachable": "off",
196 "no-unsanitized/method": "off",
197 "no-unsanitized/property": "off",
198 "no-unsafe-negation": "off",
199 "no-unused-vars": "off",
200 "no-useless-return": "off",
206 "dom/base/test/unit/test_serializers_entities*.js",
207 "dom/base/test/unit_ipc/**",
208 "dom/base/test/jsmodules/**",
217 "dom/media/tests/**",
218 "dom/media/webaudio/**",
219 "dom/media/webspeech/**",
220 "dom/messagechannel/**",
224 "dom/performance/**",
227 "dom/security/test/cors/**",
228 "dom/security/test/csp/**",
229 "dom/security/test/general/**",
230 "dom/security/test/mixedcontentblocker/**",
231 "dom/security/test/sri/**",
232 "dom/serviceworkers/**",
234 "dom/tests/mochitest/**",
245 "dom/ipc/test.xhtml",
248 "consistent-return": "off",
249 "mozilla/avoid-removeChild": "off",
250 "mozilla/consistent-if-bracing": "off",
251 "mozilla/no-arbitrary-setTimeout": "off",
252 "mozilla/no-compare-against-boolean-literals": "off",
253 "mozilla/no-define-cc-etc": "off",
254 "mozilla/reject-importGlobalProperties": "off",
255 "mozilla/use-cc-etc": "off",
256 "mozilla/use-chromeutils-generateqi": "off",
257 "mozilla/use-chromeutils-import": "off",
258 "mozilla/use-includes-instead-of-indexOf": "off",
259 "mozilla/use-ownerGlobal": "off",
260 "mozilla/use-services": "off",
261 "no-array-constructor": "off",
263 "no-cond-assign": "off",
264 "no-control-regex": "off",
265 "no-debugger": "off",
266 "no-else-return": "off",
269 "no-func-assign": "off",
270 "no-global-assign": "off",
271 "no-implied-eval": "off",
272 "no-lone-blocks": "off",
273 "no-lonely-if": "off",
274 "no-nested-ternary": "off",
275 "no-new-object": "off",
276 "no-new-wrappers": "off",
278 "no-redeclare": "off",
279 "no-return-await": "off",
280 "no-restricted-globals": "off",
281 "no-self-assign": "off",
282 "no-self-compare": "off",
283 "no-sequences": "off",
285 "no-shadow-restricted-names": "off",
286 "no-sparse-arrays": "off",
287 "no-throw-literal": "off",
288 "no-unreachable": "off",
289 "no-unsanitized/method": "off",
290 "no-unsanitized/property": "off",
292 "no-unused-vars": "off",
293 "no-useless-call": "off",
294 "no-useless-concat": "off",
295 "no-useless-return": "off",
300 "dom/l10n/tests/mochitest/document_l10n/non-system-principal/test.html",
301 "dom/payments/test/test_basiccard.html",
302 "dom/payments/test/test_bug1478740.html",
303 "dom/payments/test/test_canMakePayment.html",
304 "dom/payments/test/test_closePayment.html",
305 "dom/payments/test/test_showPayment.html",
306 "dom/tests/browser/browser_persist_cookies.js",
307 "dom/tests/browser/browser_persist_mixed_content_image.js",
308 "netwerk/test/unit/test_http2-proxy.js",
311 "no-async-promise-executor": "off",
315 "browser/base/content/test/chrome/test_aboutCrashed.xhtml",
316 "browser/base/content/test/chrome/test_aboutRestartRequired.xhtml",
317 "browser/base/content/test/general/browser_tab_dragdrop2_frame1.xhtml",
318 "browser/components/places/tests/chrome/test_0_bug510634.xhtml",
319 "browser/components/places/tests/chrome/test_bug1163447_selectItems_through_shortcut.xhtml",
320 "browser/components/places/tests/chrome/test_0_bug510634.xhtml",
321 "browser/components/places/tests/chrome/test_bug1163447_selectItems_through_shortcut.xhtml",
322 "browser/components/places/tests/chrome/test_bug549192.xhtml",
323 "browser/components/places/tests/chrome/test_bug549491.xhtml",
324 "browser/components/places/tests/chrome/test_selectItems_on_nested_tree.xhtml",
325 "browser/components/places/tests/chrome/test_treeview_date.xhtml",
328 "mozilla/no-arbitrary-setTimeout": "off",
329 "object-shorthand": "off",
331 "no-unused-vars": "off",
335 "accessible/tests/mochitest/actions/test_keys_menu.xhtml",
336 "accessible/tests/mochitest/elm/test_listbox.xhtml",
337 "accessible/tests/mochitest/events/test_focus_autocomplete.xhtml",
338 "accessible/tests/mochitest/events/test_focus_contextmenu.xhtml",
339 "accessible/tests/mochitest/events/test_tree.xhtml",
340 "accessible/tests/mochitest/hittest/test_zoom_tree.xhtml",
341 "accessible/tests/mochitest/name/test_general.xhtml",
342 "accessible/tests/mochitest/name/test_tree.xhtml",
343 "accessible/tests/mochitest/selectable/test_listbox.xhtml",
344 "accessible/tests/mochitest/states/test_expandable.xhtml",
345 "accessible/tests/mochitest/tree/test_button.xhtml",
346 "accessible/tests/mochitest/tree/test_tree.xhtml",
347 "accessible/tests/mochitest/treeupdate/test_contextmenu.xhtml",
348 "accessible/tests/mochitest/treeupdate/test_menu.xhtml",
351 "object-shorthand": "off",
352 "mozilla/no-compare-against-boolean-literals": "off",
353 "mozilla/use-cc-etc": "off",
354 "consistent-return": "off",
355 "no-redeclare": "off",
356 "no-sequences": "off",
358 "no-unused-vars": "off",
359 "no-useless-call": "off",
363 "docshell/test/chrome/bug113934_window.xhtml",
364 "docshell/test/chrome/bug215405_window.xhtml",
365 "docshell/test/chrome/bug293235_window.xhtml",
366 "docshell/test/chrome/bug294258_window.xhtml",
367 "docshell/test/chrome/bug298622_window.xhtml",
368 "docshell/test/chrome/bug301397_window.xhtml",
369 "docshell/test/chrome/bug303267_window.xhtml",
370 "docshell/test/chrome/bug311007_window.xhtml",
371 "docshell/test/chrome/bug321671_window.xhtml",
372 "docshell/test/chrome/bug360511_window.xhtml",
373 "docshell/test/chrome/bug396519_window.xhtml",
374 "docshell/test/chrome/bug396649_window.xhtml",
375 "docshell/test/chrome/bug449778_window.xhtml",
376 "docshell/test/chrome/bug449780_window.xhtml",
377 "docshell/test/chrome/bug582176_window.xhtml",
378 "docshell/test/chrome/bug662200_window.xhtml",
379 "docshell/test/chrome/bug690056_window.xhtml",
380 "docshell/test/chrome/bug89419_window.xhtml",
381 "docshell/test/chrome/mozFrameType_window.xhtml",
382 "docshell/test/chrome/test_bug453650.xhtml",
383 "docshell/test/chrome/test_bug454235.xhtml",
384 "docshell/test/chrome/test_bug565388.xhtml",
385 "docshell/test/chrome/test_bug608669.xhtml",
386 "docshell/test/chrome/test_bug789773.xhtml",
387 "docshell/test/chrome/test_bug846906.xhtml",
388 "docshell/test/chrome/test_docRedirect.xhtml",
389 "docshell/test/chrome/test_principalInherit.xhtml",
390 "docshell/test/chrome/test_viewsource_forbidden_in_iframe.xhtml",
393 "dot-notation": "off",
394 "no-global-assign": "off",
396 "object-shorthand": "off",
397 "mozilla/consistent-if-bracing": "off",
398 "mozilla/no-compare-against-boolean-literals": "off",
399 "mozilla/no-useless-parameters": "off",
400 "mozilla/no-useless-removeEventListener": "off",
401 "mozilla/use-cc-etc": "off",
402 "mozilla/use-services": "off",
403 "mozilla/use-chromeutils-generateqi": "off",
404 "consistent-return": "off",
405 "no-delete-var": "off",
406 "no-redeclare": "off",
407 "no-sequences": "off",
410 "no-unused-vars": "off",
411 "no-useless-call": "off",
415 "editor/composer/test/test_bug434998.xhtml",
416 "editor/libeditor/tests/test_bug607584.xhtml",
417 "editor/libeditor/tests/test_bug616590.xhtml",
418 "editor/libeditor/tests/test_bug780908.xhtml",
421 "object-shorthand": "off",
426 "widget/tests/native_menus_window.xhtml",
427 "widget/tests/native_mouse_mac_window.xhtml",
428 "widget/tests/standalone_native_menu_window.xhtml",
429 "widget/tests/system_font_changes.xhtml",
430 "widget/tests/taskbar_previews.xhtml",
431 "widget/tests/test_bug1123480.xhtml",
432 "widget/tests/test_bug343416.xhtml",
433 "widget/tests/test_bug428405.xhtml",
434 "widget/tests/test_bug429954.xhtml",
435 "widget/tests/test_bug466599.xhtml",
436 "widget/tests/test_bug485118.xhtml",
437 "widget/tests/test_bug517396.xhtml",
438 "widget/tests/test_bug538242.xhtml",
439 "widget/tests/test_bug596600.xhtml",
440 "widget/tests/test_bug673301.xhtml",
441 "widget/tests/test_bug760802.xhtml",
442 "widget/tests/test_chrome_context_menus_win.xhtml",
443 "widget/tests/test_clipboard.xhtml",
444 "widget/tests/test_input_events_on_deactive_window.xhtml",
445 "widget/tests/test_key_event_counts.xhtml",
446 "widget/tests/test_keycodes.xhtml",
447 "widget/tests/test_panel_mouse_coords.xhtml",
448 "widget/tests/test_position_on_resize.xhtml",
449 "widget/tests/test_sizemode_events.xhtml",
450 "widget/tests/test_taskbar_progress.xhtml",
451 "widget/tests/test_transferable_overflow.xhtml",
452 "widget/tests/window_bug429954.xhtml",
453 "widget/tests/window_bug478536.xhtml",
454 "widget/tests/window_composition_text_querycontent.xhtml",
455 "widget/tests/window_state_windows.xhtml",
456 "widget/tests/window_wheeltransaction.xhtml",
460 "consistent-return": "off",
461 "dot-notation": "off",
462 "mozilla/prefer-boolean-length-check": "off",
463 "mozilla/no-useless-parameters": "off",
464 "mozilla/no-useless-removeEventListener": "off",
465 "mozilla/use-cc-etc": "off",
466 "mozilla/use-chromeutils-generateqi": "off",
467 "mozilla/use-services": "off",
468 "object-shorthand": "off",
470 "no-delete-var": "off",
471 "no-nested-ternary": "off",
472 "no-new-object": "off",
473 "no-redeclare": "off",
474 "no-sequences": "off",
477 "no-unsafe-finally": "off",
478 "no-unsanitized/property": "off",
479 "no-unused-vars": "off",
480 "no-useless-return": "off",
484 "dom/base/test/chrome/cpows_parent.xhtml",
485 "dom/base/test/chrome/file_bug1139964.xhtml",
486 "dom/base/test/chrome/file_bug549682.xhtml",
487 "dom/base/test/chrome/file_bug616841.xhtml",
488 "dom/base/test/chrome/file_bug990812-1.xhtml",
489 "dom/base/test/chrome/file_bug990812-2.xhtml",
490 "dom/base/test/chrome/file_bug990812-3.xhtml",
491 "dom/base/test/chrome/file_bug990812-4.xhtml",
492 "dom/base/test/chrome/file_bug990812-5.xhtml",
493 "dom/base/test/chrome/file_bug990812.xhtml",
494 "dom/base/test/chrome/test_bug1098074_throw_from_ReceiveMessage.xhtml",
495 "dom/base/test/chrome/test_bug339494.xhtml",
496 "dom/base/test/chrome/test_bug429785.xhtml",
497 "dom/base/test/chrome/test_bug467123.xhtml",
498 "dom/base/test/chrome/test_bug683852.xhtml",
499 "dom/base/test/chrome/test_bug780529.xhtml",
500 "dom/base/test/chrome/test_bug800386.xhtml",
501 "dom/base/test/chrome/test_bug814638.xhtml",
502 "dom/base/test/chrome/test_bug884693.xhtml",
503 "dom/base/test/chrome/test_document-element-inserted.xhtml",
504 "dom/base/test/chrome/test_domparsing.xhtml",
505 "dom/base/test/chrome/test_fileconstructor.xhtml",
506 "dom/base/test/chrome/title_window.xhtml",
507 "dom/base/test/chrome/window_nsITextInputProcessor.xhtml",
508 "dom/base/test/chrome/window_swapFrameLoaders.xhtml",
509 "dom/base/test/test_domrequesthelper.xhtml",
510 "dom/bindings/test/test_bug1123516_maplikesetlikechrome.xhtml",
511 "dom/console/tests/test_jsm.xhtml",
512 "dom/events/test/test_bug1412775.xhtml",
513 "dom/events/test/test_bug336682_2.xhtml",
514 "dom/events/test/test_bug415498.xhtml",
515 "dom/events/test/test_bug602962.xhtml",
516 "dom/events/test/test_bug617528.xhtml",
517 "dom/events/test/test_bug679494.xhtml",
518 "dom/indexedDB/test/test_globalObjects_chrome.xhtml",
519 "dom/indexedDB/test/test_wrappedArray.xhtml",
520 "dom/ipc/test.xhtml",
521 "dom/ipc/tests/test_process_error.xhtml",
522 "dom/notification/test/chrome/test_notification_system_principal.xhtml",
523 "dom/plugins/test/mochitest/test_busy_hang.xhtml",
524 "dom/plugins/test/mochitest/test_convertpoint.xhtml",
525 "dom/plugins/test/mochitest/test_crash_notify.xhtml",
526 "dom/plugins/test/mochitest/test_crash_notify_no_report.xhtml",
527 "dom/plugins/test/mochitest/test_crash_submit.xhtml",
528 "dom/plugins/test/mochitest/test_hang_submit.xhtml",
529 "dom/plugins/test/mochitest/test_hangui.xhtml",
530 "dom/plugins/test/mochitest/test_idle_hang.xhtml",
531 "dom/plugins/test/mochitest/test_xulbrowser_plugin_visibility.xhtml",
532 "dom/plugins/test/mochitest/xulbrowser_plugin_visibility.xhtml",
533 "dom/security/test/general/test_bug1277803.xhtml",
534 "dom/serviceworkers/test/test_serviceworkerinfo.xhtml",
535 "dom/serviceworkers/test/test_serviceworkermanager.xhtml",
536 "dom/system/tests/test_constants.xhtml",
537 "dom/tests/mochitest/chrome/DOMWindowCreated_chrome.xhtml",
538 "dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xhtml",
539 "dom/tests/mochitest/chrome/sizemode_attribute.xhtml",
540 "dom/tests/mochitest/chrome/test_cyclecollector.xhtml",
541 "dom/tests/mochitest/chrome/test_docshell_swap.xhtml",
542 "dom/tests/mochitest/chrome/window_focus.xhtml",
543 "dom/url/tests/test_bug883784.xhtml",
544 "dom/workers/test/test_WorkerDebugger.xhtml",
545 "dom/workers/test/test_WorkerDebugger_console.xhtml",
546 "dom/workers/test/test_fileReadSlice.xhtml",
547 "dom/workers/test/test_fileReaderSync.xhtml",
548 "dom/workers/test/test_fileSlice.xhtml",
551 "mozilla/no-useless-parameters": "off",
552 "mozilla/no-useless-removeEventListener": "off",
553 "mozilla/use-chromeutils-generateqi": "off",
554 "mozilla/use-services": "off",
556 "no-array-constructor": "off",
560 "no-lone-blocks": "off",
562 "no-redeclare": "off",
564 "no-throw-literal": "off",
566 "no-unsanitized/method": "off",
567 "no-unused-vars": "off",
568 "no-useless-return": "off",
569 "object-shorthand": "off",
573 "toolkit/components/aboutmemory/tests/test_aboutmemory.xhtml",
574 "toolkit/components/aboutmemory/tests/test_aboutmemory2.xhtml",
575 "toolkit/components/aboutmemory/tests/test_aboutmemory3.xhtml",
576 "toolkit/components/aboutmemory/tests/test_aboutmemory4.xhtml",
577 "toolkit/components/aboutmemory/tests/test_aboutmemory5.xhtml",
578 "toolkit/components/aboutmemory/tests/test_aboutmemory7.xhtml",
579 "toolkit/components/aboutmemory/tests/test_dumpGCAndCCLogsToFile.xhtml",
580 "toolkit/components/aboutmemory/tests/test_memoryReporters.xhtml",
581 "toolkit/components/aboutmemory/tests/test_memoryReporters2.xhtml",
582 "toolkit/components/aboutmemory/tests/test_sqliteMultiReporter.xhtml",
583 "toolkit/components/ctypes/tests/chrome/test_ctypes.xhtml",
584 "toolkit/components/osfile/tests/mochi/test_osfile_back.xhtml",
585 "toolkit/components/osfile/tests/mochi/test_osfile_comms.xhtml",
586 "toolkit/components/osfile/tests/mochi/test_osfile_front.xhtml",
587 "toolkit/components/places/tests/chrome/browser_disableglobalhistory.xhtml",
588 "toolkit/components/places/tests/chrome/test_browser_disableglobalhistory.xhtml",
589 "toolkit/components/places/tests/chrome/test_favicon_annotations.xhtml",
590 "toolkit/components/workerloader/tests/test_loading.xhtml",
591 "toolkit/content/tests/chrome/bug263683_window.xhtml",
592 "toolkit/content/tests/chrome/bug304188_window.xhtml",
593 "toolkit/content/tests/chrome/bug331215_window.xhtml",
594 "toolkit/content/tests/chrome/bug360437_window.xhtml",
595 "toolkit/content/tests/chrome/bug366992_window.xhtml",
596 "toolkit/content/tests/chrome/bug409624_window.xhtml",
597 "toolkit/content/tests/chrome/bug429723_window.xhtml",
598 "toolkit/content/tests/chrome/bug451540_window.xhtml",
599 "toolkit/content/tests/chrome/dialog_dialogfocus.xhtml",
600 "toolkit/content/tests/chrome/findbar_entireword_window.xhtml",
601 "toolkit/content/tests/chrome/findbar_events_window.xhtml",
602 "toolkit/content/tests/chrome/findbar_window.xhtml",
603 "toolkit/content/tests/chrome/frame_popup_anchor.xhtml",
604 "toolkit/content/tests/chrome/frame_subframe_origin_subframe1.xhtml",
605 "toolkit/content/tests/chrome/frame_subframe_origin_subframe2.xhtml",
606 "toolkit/content/tests/chrome/test_arrowpanel.xhtml",
607 "toolkit/content/tests/chrome/test_autocomplete2.xhtml",
608 "toolkit/content/tests/chrome/test_autocomplete3.xhtml",
609 "toolkit/content/tests/chrome/test_autocomplete4.xhtml",
610 "toolkit/content/tests/chrome/test_autocomplete5.xhtml",
611 "toolkit/content/tests/chrome/test_autocomplete_emphasis.xhtml",
612 "toolkit/content/tests/chrome/test_autocomplete_mac_caret.xhtml",
613 "toolkit/content/tests/chrome/test_autocomplete_placehold_last_complete.xhtml",
614 "toolkit/content/tests/chrome/test_browser_drop.xhtml",
615 "toolkit/content/tests/chrome/test_bug1048178.xhtml",
616 "toolkit/content/tests/chrome/test_bug382990.xhtml",
617 "toolkit/content/tests/chrome/test_bug437844.xhtml",
618 "toolkit/content/tests/chrome/test_bug624329.xhtml",
619 "toolkit/content/tests/chrome/test_bug792324.xhtml",
620 "toolkit/content/tests/chrome/test_contextmenu_list.xhtml",
621 "toolkit/content/tests/chrome/test_cursorsnap.xhtml",
622 "toolkit/content/tests/chrome/test_dialogfocus.xhtml",
623 "toolkit/content/tests/chrome/test_hiddenitems.xhtml",
624 "toolkit/content/tests/chrome/test_hiddenpaging.xhtml",
625 "toolkit/content/tests/chrome/test_maximized_persist.xhtml",
626 "toolkit/content/tests/chrome/test_menu.xhtml",
627 "toolkit/content/tests/chrome/test_menuitem_blink.xhtml",
628 "toolkit/content/tests/chrome/test_menulist.xhtml",
629 "toolkit/content/tests/chrome/test_menulist_keynav.xhtml",
630 "toolkit/content/tests/chrome/test_mousescroll.xhtml",
631 "toolkit/content/tests/chrome/test_mozinputbox_dictionary.xhtml",
632 "toolkit/content/tests/chrome/test_notificationbox.xhtml",
633 "toolkit/content/tests/chrome/test_panel_focus.xhtml",
634 "toolkit/content/tests/chrome/test_popup_keys.xhtml",
635 "toolkit/content/tests/chrome/test_popup_scaled.xhtml",
636 "toolkit/content/tests/chrome/test_popupincontent.xhtml",
637 "toolkit/content/tests/chrome/test_popupremoving.xhtml",
638 "toolkit/content/tests/chrome/test_popupremoving_frame.xhtml",
639 "toolkit/content/tests/chrome/test_position.xhtml",
640 "toolkit/content/tests/chrome/test_preferences.xhtml",
641 "toolkit/content/tests/chrome/test_richlistbox.xhtml",
642 "toolkit/content/tests/chrome/test_righttoleft.xhtml",
643 "toolkit/content/tests/chrome/test_screenPersistence.xhtml",
644 "toolkit/content/tests/chrome/test_scrollbar.xhtml",
645 "toolkit/content/tests/chrome/test_showcaret.xhtml",
646 "toolkit/content/tests/chrome/test_tabbox.xhtml",
647 "toolkit/content/tests/chrome/test_textbox_search.xhtml",
648 "toolkit/content/tests/chrome/test_tree_view.xhtml",
649 "toolkit/content/tests/chrome/window_browser_drop.xhtml",
650 "toolkit/content/tests/chrome/window_cursorsnap_dialog.xhtml",
651 "toolkit/content/tests/chrome/window_cursorsnap_wizard.xhtml",
652 "toolkit/content/tests/chrome/window_keys.xhtml",
653 "toolkit/content/tests/chrome/window_largemenu.xhtml",
654 "toolkit/content/tests/chrome/window_panel.xhtml",
655 "toolkit/content/tests/chrome/window_panel_anchoradjust.xhtml",
656 "toolkit/content/tests/chrome/window_popup_preventdefault_chrome.xhtml",
657 "toolkit/content/tests/chrome/window_preferences.xhtml",
658 "toolkit/content/tests/chrome/window_preferences3.xhtml",
659 "toolkit/content/tests/chrome/window_preferences_beforeaccept.xhtml",
660 "toolkit/content/tests/chrome/window_preferences_commandretarget.xhtml",
661 "toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xhtml",
662 "toolkit/content/tests/chrome/window_subframe_origin.xhtml",
663 "toolkit/content/tests/chrome/window_titlebar.xhtml",
664 "toolkit/content/tests/chrome/window_tooltip.xhtml",
665 "toolkit/content/tests/widgets/test_contextmenu_menugroup.xhtml",
666 "toolkit/content/tests/widgets/test_contextmenu_nested.xhtml",
667 "toolkit/content/tests/widgets/test_editor_currentURI.xhtml",
668 "toolkit/content/tests/widgets/test_popupanchor.xhtml",
669 "toolkit/content/tests/widgets/test_popupreflows.xhtml",
670 "toolkit/content/tests/widgets/window_menubar.xhtml",
671 "toolkit/modules/tests/chrome/test_bug544442_checkCert.xhtml",
672 "toolkit/profile/test/test_create_profile.xhtml",
675 "object-shorthand": "off",
676 "consistent-return": "off",
677 "mozilla/consistent-if-bracing": "off",
678 "mozilla/no-compare-against-boolean-literals": "off",
679 "mozilla/no-useless-parameters": "off",
680 "mozilla/no-useless-removeEventListener": "off",
681 "mozilla/prefer-boolean-length-check": "off",
682 "mozilla/use-cc-etc": "off",
683 "mozilla/use-chromeutils-generateqi": "off",
684 "mozilla/use-chromeutils-import": "off",
685 "mozilla/use-default-preference-values": "off",
686 "mozilla/use-services": "off",
688 "no-else-return": "off",
690 "no-fallthrough": "off",
691 "no-irregular-whitespace": "off",
692 "no-lonely-if": "off",
693 "no-nested-ternary": "off",
694 "no-redeclare": "off",
695 "no-sequences": "off",
697 "no-throw-literal": "off",
699 "no-unneeded-ternary": "off",
700 "no-unused-vars": "off",
701 "no-useless-concat": "off",
702 "no-useless-return": "off",
710 "editor/libeditor/tests/**",
711 "editor/spellchecker/tests/test_bug338427.html",
713 "image/test/browser/browser_image.js",
720 "security/manager/**",
722 "storage/test/unit/test_vacuum.js",
723 "taskcluster/docker/periodic-updates/scripts/**",
726 "widget/tests/test_assign_event_data.html",
729 "mozilla/prefer-boolean-length-check": "off",