diff --git a/.eslintrc-test-paths.js b/.eslintrc-test-paths.js
index 17c814cd2f44..9cc1d9684d4e 100644
--- a/.eslintrc-test-paths.js
+++ b/.eslintrc-test-paths.js
@@ -105,6 +105,7 @@ const extraBrowserTestPaths = [
"browser/base/content/test/popupNotifications/",
"browser/base/content/test/popups/",
"browser/base/content/test/privateBrowsing/",
+ "browser/base/content/test/profiles/",
"browser/base/content/test/protectionsUI/",
"browser/base/content/test/referrer/",
"browser/base/content/test/sanitize/",
diff --git a/browser/base/content/appmenu-viewcache.inc.xhtml b/browser/base/content/appmenu-viewcache.inc.xhtml
index a2fb101fffe7..3eb65bddbe74 100644
--- a/browser/base/content/appmenu-viewcache.inc.xhtml
+++ b/browser/base/content/appmenu-viewcache.inc.xhtml
@@ -201,7 +201,6 @@
/>
-#ifdef MOZ_SELECTABLE_PROFILES