Bug 1642811 - Rename UI references of "blacklist" to "ignore" in Debugger r=jlast,flod
authorRichard Sherman <hello@richardsherman.com>
Thu, 04 Jun 2020 16:02:37 +0000
changeset 533923 70a4c6e9cf6e15f0f46a2fc831f3a36c98e48068
parent 533922 b89bc5ad34e2b97fd68f1b05fb254a88777139dc
child 533924 b038b95a2f5d71ea8d903c860a2862e4ae104988
push id37480
push userncsoregi@mozilla.com
push dateThu, 04 Jun 2020 22:00:12 +0000
treeherdermozilla-central@e33aea19d0c5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlast, flod
bugs1642811
milestone79.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1642811 - Rename UI references of "blacklist" to "ignore" in Debugger r=jlast,flod Removed UI references to blacklist, replaced with ignore. Also updated the shortcut key to 'I' instead of 'D' since it's no longer Blacklist. Lastly updated tests to fix failing snapshot tests and jest tests. Differential Revision: https://phabricator.services.mozilla.com/D78071
devtools/client/debugger/src/components/Editor/Footer.js
devtools/client/debugger/src/components/Editor/Tab.js
devtools/client/debugger/src/components/Editor/menus/editor.js
devtools/client/debugger/src/components/Editor/tests/__snapshots__/Footer.spec.js.snap
devtools/client/debugger/src/components/PrimaryPanes/SourcesTreeItem.js
devtools/client/debugger/src/components/PrimaryPanes/tests/SourcesTreeItem.spec.js
devtools/client/debugger/src/components/PrimaryPanes/tests/__snapshots__/SourcesTreeItem.spec.js.snap
devtools/client/debugger/src/components/SecondaryPanes/Frames/FrameMenu.js
devtools/client/debugger/src/components/SecondaryPanes/Frames/tests/FrameMenu.spec.js
devtools/client/debugger/src/utils/tabs.js
devtools/client/debugger/test/mochitest/browser_dbg-blackbox-all.js
devtools/client/locales/en-US/debugger.properties
--- a/devtools/client/debugger/src/components/Editor/Footer.js
+++ b/devtools/client/debugger/src/components/Editor/Footer.js
@@ -142,18 +142,18 @@ class SourceFooter extends PureComponent
 
     if (!shouldBlackbox(selectedSource)) {
       return;
     }
 
     const blackboxed = selectedSource.isBlackBoxed;
 
     const tooltip = blackboxed
-      ? L10N.getStr("sourceFooter.unblackbox")
-      : L10N.getStr("sourceFooter.blackbox");
+      ? L10N.getStr("sourceFooter.unignore")
+      : L10N.getStr("sourceFooter.ignore");
 
     const type = "black-box";
 
     return (
       <button
         onClick={() => toggleBlackBox(cx, selectedSource)}
         className={classnames("action", type, {
           active: sourceLoaded,
--- a/devtools/client/debugger/src/components/Editor/Tab.js
+++ b/devtools/client/debugger/src/components/Editor/Tab.js
@@ -155,18 +155,18 @@ class Tab extends PureComponent<Props> {
           disabled: !selectedSource.url,
           click: () => showSource(cx, tab),
         },
       },
       {
         item: {
           ...tabMenuItems.toggleBlackBox,
           label: source.isBlackBoxed
-            ? L10N.getStr("blackboxContextItem.unblackbox")
-            : L10N.getStr("blackboxContextItem.blackbox"),
+            ? L10N.getStr("ignoreContextItem.unignore")
+            : L10N.getStr("ignoreContextItem.ignore"),
           disabled: !shouldBlackbox(source),
           click: () => toggleBlackBox(cx, source),
         },
       },
       {
         item: {
           ...tabMenuItems.prettyPrint,
           click: () => togglePrettyPrint(cx, tab),
--- a/devtools/client/debugger/src/components/Editor/menus/editor.js
+++ b/devtools/client/debugger/src/components/Editor/menus/editor.js
@@ -112,21 +112,21 @@ const showSourceMenuItem = (
 
 const blackBoxMenuItem = (
   cx: Context,
   selectedSource: Source,
   editorActions: EditorItemActions
 ) => ({
   id: "node-menu-blackbox",
   label: selectedSource.isBlackBoxed
-    ? L10N.getStr("blackboxContextItem.unblackbox")
-    : L10N.getStr("blackboxContextItem.blackbox"),
+    ? L10N.getStr("ignoreContextItem.unignore")
+    : L10N.getStr("ignoreContextItem.ignore"),
   accesskey: selectedSource.isBlackBoxed
-    ? L10N.getStr("blackboxContextItem.unblackbox.accesskey")
-    : L10N.getStr("blackboxContextItem.blackbox.accesskey"),
+    ? L10N.getStr("ignoreContextItem.unignore.accesskey")
+    : L10N.getStr("ignoreContextItem.ignore.accesskey"),
   disabled: !shouldBlackbox(selectedSource),
   click: () => editorActions.toggleBlackBox(cx, selectedSource),
 });
 
 const watchExpressionItem = (
   cx: ThreadContext,
   selectedSource: Source,
   selectionText: string,
--- a/devtools/client/debugger/src/components/Editor/tests/__snapshots__/Footer.spec.js.snap
+++ b/devtools/client/debugger/src/components/Editor/tests/__snapshots__/Footer.spec.js.snap
@@ -6,21 +6,21 @@ exports[`SourceFooter Component default 
 >
   <div
     className="source-footer-start"
   >
     <div
       className="commands"
     >
       <button
-        aria-label="Blackbox source"
+        aria-label="Ignore source"
         className="action black-box"
         key="black-box"
         onClick={[Function]}
-        title="Blackbox source"
+        title="Ignore source"
       >
         <AccessibleImage
           className="blackBox"
         />
       </button>
     </div>
   </div>
   <div
@@ -48,21 +48,21 @@ exports[`SourceFooter Component move cur
 >
   <div
     className="source-footer-start"
   >
     <div
       className="commands"
     >
       <button
-        aria-label="Blackbox source"
+        aria-label="Ignore source"
         className="action black-box"
         key="black-box"
         onClick={[Function]}
-        title="Blackbox source"
+        title="Ignore source"
       >
         <AccessibleImage
           className="blackBox"
         />
       </button>
     </div>
   </div>
   <div
--- a/devtools/client/debugger/src/components/PrimaryPanes/SourcesTreeItem.js
+++ b/devtools/client/debugger/src/components/PrimaryPanes/SourcesTreeItem.js
@@ -135,21 +135,21 @@ class SourceTreeItem extends Component<P
           click: () => copyToTheClipboard(contents.url),
         };
 
         const { cx, source } = this.props;
         if (source) {
           const blackBoxMenuItem = {
             id: "node-menu-blackbox",
             label: source.isBlackBoxed
-              ? L10N.getStr("blackboxContextItem.unblackbox")
-              : L10N.getStr("blackboxContextItem.blackbox"),
+              ? L10N.getStr("ignoreContextItem.unignore")
+              : L10N.getStr("ignoreContextItem.ignore"),
             accesskey: source.isBlackBoxed
-              ? L10N.getStr("blackboxContextItem.unblackbox.accesskey")
-              : L10N.getStr("blackboxContextItem.blackbox.accesskey"),
+              ? L10N.getStr("ignoreContextItem.unignore.accesskey")
+              : L10N.getStr("ignoreContextItem.ignore.accesskey"),
             disabled: !shouldBlackbox(source),
             click: () => this.props.toggleBlackBox(cx, source),
           };
           const downloadFileItem = {
             id: "node-menu-download-file",
             label: L10N.getStr("downloadFile.label"),
             accesskey: L10N.getStr("downloadFile.accesskey"),
             disabled: false,
@@ -215,48 +215,48 @@ class SourceTreeItem extends Component<P
     const allOusideBlackBoxed = sourcesOuside.every(
       source => source.isBlackBoxed
     );
 
     let blackBoxInsideMenuItemLabel;
     let blackBoxOutsideMenuItemLabel;
     if (depth === 0 || (depth === 1 && projectRoot === "")) {
       blackBoxInsideMenuItemLabel = allInsideBlackBoxed
-        ? L10N.getStr("unblackBoxAllInGroup.label")
-        : L10N.getStr("blackBoxAllInGroup.label");
+        ? L10N.getStr("unignoreAllInGroup.label")
+        : L10N.getStr("ignoreAllInGroup.label");
       if (sourcesOuside.length > 0) {
         blackBoxOutsideMenuItemLabel = allOusideBlackBoxed
-          ? L10N.getStr("unblackBoxAllOutsideGroup.label")
-          : L10N.getStr("blackBoxAllOutsideGroup.label");
+          ? L10N.getStr("unignoreAllOutsideGroup.label")
+          : L10N.getStr("ignoreAllOutsideGroup.label");
       }
     } else {
       blackBoxInsideMenuItemLabel = allInsideBlackBoxed
-        ? L10N.getStr("unblackBoxAllInDir.label")
-        : L10N.getStr("blackBoxAllInDir.label");
+        ? L10N.getStr("unignoreAllInDir.label")
+        : L10N.getStr("ignoreAllInDir.label");
       if (sourcesOuside.length > 0) {
         blackBoxOutsideMenuItemLabel = allOusideBlackBoxed
-          ? L10N.getStr("unblackBoxAllOutsideDir.label")
-          : L10N.getStr("blackBoxAllOutsideDir.label");
+          ? L10N.getStr("unignoreAllOutsideDir.label")
+          : L10N.getStr("ignoreAllOutsideDir.label");
       }
     }
 
     const blackBoxInsideMenuItem = {
       id: allInsideBlackBoxed
         ? "node-unblackbox-all-inside"
         : "node-blackbox-all-inside",
       label: blackBoxInsideMenuItemLabel,
       disabled: false,
       click: () =>
         this.props.blackBoxSources(cx, sourcesInside, !allInsideBlackBoxed),
     };
 
     if (sourcesOuside.length > 0) {
       menuOptions.push({
         id: "node-blackbox-all",
-        label: L10N.getStr("blackBoxAll.label"),
+        label: L10N.getStr("ignoreAll.label"),
         submenu: [
           blackBoxInsideMenuItem,
           {
             id: allOusideBlackBoxed
               ? "node-unblackbox-all-outside"
               : "node-blackbox-all-outside",
             label: blackBoxOutsideMenuItemLabel,
             disabled: false,
--- a/devtools/client/debugger/src/components/PrimaryPanes/tests/SourcesTreeItem.spec.js
+++ b/devtools/client/debugger/src/components/PrimaryPanes/tests/SourcesTreeItem.spec.js
@@ -14,27 +14,27 @@ import { copyToTheClipboard } from "../.
 
 jest.mock("devtools-contextmenu", () => ({ showMenu: jest.fn() }));
 jest.mock("../../../utils/clipboard", () => ({
   copyToTheClipboard: jest.fn(),
 }));
 
 const blackBoxAllContexMenuItem = {
   id: "node-blackbox-all",
-  label: "Blackbox",
+  label: "Ignore",
   submenu: [
     {
       id: "node-blackbox-all-inside",
-      label: "Blackbox files in this directory",
+      label: "Ignore files in this directory",
       disabled: false,
       click: expect.any(Function),
     },
     {
       id: "node-blackbox-all-outside",
-      label: "Blackbox files outside this directory",
+      label: "Ignore files outside this directory",
       disabled: false,
       click: expect.any(Function),
     },
   ],
 };
 
 describe("SourceTreeItem", () => {
   afterEach(() => {
@@ -100,21 +100,21 @@ describe("SourceTreeItem", () => {
         {
           accesskey: "u",
           click: expect.any(Function),
           disabled: false,
           id: "node-menu-copy-source",
           label: "Copy source URI",
         },
         {
-          accesskey: "B",
+          accesskey: "I",
           click: expect.any(Function),
           disabled: false,
           id: "node-menu-blackbox",
-          label: "Blackbox source",
+          label: "Ignore source",
         },
         {
           accesskey: "d",
           click: expect.any(Function),
           disabled: false,
           id: "node-menu-download-file",
           label: "Download file",
         },
@@ -135,31 +135,31 @@ describe("SourceTreeItem", () => {
       expect(mockEvent.stopPropagation).toHaveBeenCalled();
 
       showMenu.mock.calls[0][1][0].click();
       expect(props.setProjectDirectoryRoot).not.toHaveBeenCalled();
       expect(props.clearProjectDirectoryRoot).not.toHaveBeenCalled();
       expect(copyToTheClipboard).toHaveBeenCalled();
     });
 
-    it("shows context menu on file to blackbox source", async () => {
+    it("shows context menu on file to ignore source", async () => {
       const menuOptions = [
         {
           accesskey: "u",
           click: expect.any(Function),
           disabled: false,
           id: "node-menu-copy-source",
           label: "Copy source URI",
         },
         {
-          accesskey: "B",
+          accesskey: "I",
           click: expect.any(Function),
           disabled: false,
           id: "node-menu-blackbox",
-          label: "Blackbox source",
+          label: "Ignore source",
         },
         {
           accesskey: "d",
           click: expect.any(Function),
           disabled: false,
           id: "node-menu-download-file",
           label: "Download file",
         },
@@ -181,17 +181,17 @@ describe("SourceTreeItem", () => {
       expect(mockEvent.stopPropagation).toHaveBeenCalled();
 
       showMenu.mock.calls[0][1][1].click();
       expect(props.setProjectDirectoryRoot).not.toHaveBeenCalled();
       expect(props.clearProjectDirectoryRoot).not.toHaveBeenCalled();
       expect(props.toggleBlackBox).toHaveBeenCalled();
     });
 
-    it("shows context menu on directory to blackbox all with submenu options", async () => {
+    it("shows context menu on directory to ignore all with submenu options", async () => {
       const menuOptions = [
         {
           click: expect.any(Function),
           disabled: false,
           id: "node-menu-collapse-all",
           label: "Collapse all",
         },
         {
@@ -242,21 +242,21 @@ describe("SourceTreeItem", () => {
         {
           accesskey: "u",
           click: expect.any(Function),
           disabled: false,
           id: "node-menu-copy-source",
           label: "Copy source URI",
         },
         {
-          accesskey: "B",
+          accesskey: "I",
           click: expect.any(Function),
           disabled: false,
           id: "node-menu-blackbox",
-          label: "Blackbox source",
+          label: "Ignore source",
         },
         {
           accesskey: "d",
           click: expect.any(Function),
           disabled: false,
           id: "node-menu-download-file",
           label: "Download file",
         },
@@ -415,17 +415,17 @@ describe("SourceTreeItem", () => {
       expect(node).toMatchSnapshot();
     });
 
     it("should show source item with source icon", async () => {
       const node = render({ item: createMockItem() });
       expect(node).toMatchSnapshot();
     });
 
-    it("should show source item with blackbox icon", async () => {
+    it("should show source item with ignore icon", async () => {
       const isBlackBoxed = true;
       const mockSource = {
         ...makeMockSource("http://mdn.com/one.js", "server1.conn13.child1/39"),
         isBlackBoxed,
       };
       const node = render({
         item: createMockItem({ contents: mockSource }),
         source: mockSource,
--- a/devtools/client/debugger/src/components/PrimaryPanes/tests/__snapshots__/SourcesTreeItem.spec.js.snap
+++ b/devtools/client/debugger/src/components/PrimaryPanes/tests/__snapshots__/SourcesTreeItem.spec.js.snap
@@ -2443,17 +2443,17 @@ Object {
         "name": "Main Thread",
       },
     ],
     "toggleBlackBox": [MockFunction],
   },
 }
 `;
 
-exports[`SourceTreeItem renderItem should show source item with blackbox icon 1`] = `
+exports[`SourceTreeItem renderItem should show source item with ignore icon 1`] = `
 Object {
   "component": <div
     className="node"
     key="http://mdn.com/one.js"
     onClick={[Function]}
     onContextMenu={[Function]}
     title="http://mdn.com/one.js"
   >
--- a/devtools/client/debugger/src/components/SecondaryPanes/Frames/FrameMenu.js
+++ b/devtools/client/debugger/src/components/SecondaryPanes/Frames/FrameMenu.js
@@ -3,18 +3,18 @@
  * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
 
 // @flow
 import { showMenu } from "devtools-contextmenu";
 import { copyToTheClipboard } from "../../../utils/clipboard";
 import type { ContextMenuItem, Frame, ThreadContext } from "../../../types";
 import { kebabCase } from "lodash";
 
-const blackboxString = "blackboxContextItem.blackbox";
-const unblackboxString = "blackboxContextItem.unblackbox";
+const blackboxString = "ignoreContextItem.ignore";
+const unblackboxString = "ignoreContextItem.unignore";
 
 function formatMenuElement(
   labelString: string,
   click: Function,
   disabled: boolean = false
 ): ContextMenuItem {
   const label = L10N.getStr(labelString);
   const accesskey = L10N.getStr(`${labelString}.accesskey`);
--- a/devtools/client/debugger/src/components/SecondaryPanes/Frames/tests/FrameMenu.spec.js
+++ b/devtools/client/debugger/src/components/SecondaryPanes/Frames/tests/FrameMenu.spec.js
@@ -50,17 +50,17 @@ describe("FrameMenu", () => {
   afterEach(() => {
     showMenu.mockClear();
   });
 
   it("sends three element in menuOpts to showMenu if source is present", () => {
     const sourceId = generateMockId("copySourceUri2");
     const stacktraceId = generateMockId("copyStackTrace");
     const frameworkGroupingId = generateMockId("framework.enableGrouping");
-    const blackBoxId = generateMockId("sourceFooter.blackbox");
+    const blackBoxId = generateMockId("sourceFooter.ignore");
 
     FrameMenu(
       mockFrame,
       frameworkGroupingOn,
       callbacks,
       mockEvent,
       mockthreadcx
     );
--- a/devtools/client/debugger/src/utils/tabs.js
+++ b/devtools/client/debugger/src/utils/tabs.js
@@ -87,18 +87,18 @@ export function getTabMenuItems(): Objec
     copySourceUri2: {
       id: "node-menu-copy-source-url",
       label: L10N.getStr("copySourceUri2"),
       accesskey: L10N.getStr("copySourceUri2.accesskey"),
       disabled: false,
     },
     toggleBlackBox: {
       id: "node-menu-blackbox",
-      label: L10N.getStr("blackboxContextItem.blackbox"),
-      accesskey: L10N.getStr("blackboxContextItem.blackbox.accesskey"),
+      label: L10N.getStr("ignoreContextItem.ignore"),
+      accesskey: L10N.getStr("ignoreContextItem.ignore.accesskey"),
       disabled: false,
     },
     prettyPrint: {
       id: "node-menu-pretty-print",
       label: L10N.getStr("sourceTabs.prettyPrint"),
       accesskey: L10N.getStr("sourceTabs.prettyPrint.accesskey"),
       disabled: false,
     },
--- a/devtools/client/debugger/test/mochitest/browser_dbg-blackbox-all.js
+++ b/devtools/client/debugger/test/mochitest/browser_dbg-blackbox-all.js
@@ -29,66 +29,65 @@ add_task(async function() {
   await waitForSources(dbg, SOURCE_FILES.nestedSource, SOURCE_FILES.codeReload1);
   await selectSource(dbg, SOURCE_FILES.nestedSource);
   await addBreakpoint(dbg, SOURCE_FILES.nestedSource, 2);
 
   info("Expands the whole source tree.");
   rightClickElement(dbg, "sourceTreeRootNode");
   selectContextMenuItem(dbg, "#node-menu-expand-all");
   await waitForAllElements(dbg, "sourceTreeFolderNode", 3);
-
   const sourceTreeFolderNodeEls = findAllElements(dbg, "sourceTreeFolderNode");
   const sourceTreeRootNodeEl = findElement(dbg, "sourceTreeRootNode");
 
   info("Blackbox files in this directory.");
   rightClickEl(dbg, sourceTreeFolderNodeEls[1]);
   selectContextMenuItem(dbg, NODE_SELECTORS.nodeBlackBoxAll);
-  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeBlackBoxAllInside, "Blackbox files in this directory");
-  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeBlackBoxAllOutside, "Blackbox files outside this directory");
+  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeBlackBoxAllInside, "Ignore files in this directory");
+  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeBlackBoxAllOutside, "Ignore files outside this directory");
   selectContextMenuItem(dbg, NODE_SELECTORS.nodeBlackBoxAllInside);
   await waitForBlackboxCount(dbg, 1);
   await waitForRequestsToSettle(dbg);
 
   is(findSource(dbg, SOURCE_FILES.nestedSource).isBlackBoxed, true, "nested-source.js is blackboxed");
   is(findSource(dbg, SOURCE_FILES.codeReload1).isBlackBoxed, false, "code_reload_1.js is not blackboxed");
 
   info("The invoked function is blackboxed and the debugger does not pause.");
   invokeInTab("computeSomething");
   assertNotPaused(dbg);
 
   info("Unblackbox files outside this directory.");
   rightClickEl(dbg, sourceTreeFolderNodeEls[2]);
   selectContextMenuItem(dbg, NODE_SELECTORS.nodeBlackBoxAll);
-  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeBlackBoxAllInside, "Blackbox files in this directory");
-  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeUnBlackBoxAllOutside, "Unblackbox files outside this directory");
+  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeBlackBoxAllInside, "Ignore files in this directory");
+  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeUnBlackBoxAllOutside, "Unignore files outside this directory");
   selectContextMenuItem(dbg, NODE_SELECTORS.nodeUnBlackBoxAllOutside);
   await waitForBlackboxCount(dbg, 0);
   await waitForRequestsToSettle(dbg);
 
   is(findSource(dbg, SOURCE_FILES.nestedSource).isBlackBoxed, false, "nested-source.js is not blackboxed");
   is(findSource(dbg, SOURCE_FILES.codeReload1).isBlackBoxed, false, "code_reload_1.js is not blackboxed");
 
   info("All sources are unblackboxed and the debugger pauses on line 2.");
   invokeInTab("computeSomething");
   await waitForPaused(dbg);
   await resume(dbg);
 
   info("Blackbox files in this group.");
   rightClickEl(dbg, sourceTreeRootNodeEl);
-  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeBlackBoxAllInside, "Blackbox files in this group");
+  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeBlackBoxAllInside, "Ignore files in this group");
   selectContextMenuItem(dbg, NODE_SELECTORS.nodeBlackBoxAllInside);
   await waitForBlackboxCount(dbg, 2);
   await waitForRequestsToSettle(dbg);
 
   is(findSource(dbg, SOURCE_FILES.nestedSource).isBlackBoxed, true, "nested-source.js is blackboxed");
   is(findSource(dbg, SOURCE_FILES.codeReload1).isBlackBoxed, true, "code_reload_1.js is blackboxed");
  
   info("Unblackbox files in this group.");
   rightClickEl(dbg, sourceTreeRootNodeEl);
-  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeUnBlackBoxAllInside, "Unblackbox files in this group");
+  await assertContextMenuLabel(dbg, NODE_SELECTORS.nodeUnBlackBoxAllInside, "Unignore files in this group");
   selectContextMenuItem(dbg, NODE_SELECTORS.nodeUnBlackBoxAllInside);
   await waitForBlackboxCount(dbg, 0);
   await waitForRequestsToSettle(dbg);
 
   is(findSource(dbg, SOURCE_FILES.nestedSource).isBlackBoxed, false, "nested-source.js is not blackboxed");
   is(findSource(dbg, SOURCE_FILES.codeReload1).isBlackBoxed, false, "code_reload_1.js is not blackboxed");
 });
 
--- a/devtools/client/locales/en-US/debugger.properties
+++ b/devtools/client/locales/en-US/debugger.properties
@@ -45,50 +45,50 @@ expandAll.label=Expand all
 # context menu to set a directory as root directory
 setDirectoryRoot.label=Set directory root
 setDirectoryRoot.accesskey=r
 
 # LOCALIZATION NOTE (removeDirectoryRoot.label): This is the text that appears in the
 # context menu to remove a directory as root directory
 removeDirectoryRoot.label=Remove directory root
 
-# LOCALIZATION NOTE (blackBoxAll.label): Text associated with the blackbox context menu item
-blackBoxAll.label=Blackbox
+# LOCALIZATION NOTE (ignoreAll.label): Text associated with the ignore context menu item
+ignoreAll.label=Ignore
 
-# LOCALIZATION NOTE (blackBoxAllInGroup.label): This is the text that appears in the
-# context submenu to blackbox all files inside of the selected group
-blackBoxAllInGroup.label=Blackbox files in this group
+# LOCALIZATION NOTE (ignoreAllInGroup.label): This is the text that appears in the
+# context submenu to ignore all files inside of the selected group
+ignoreAllInGroup.label=Ignore files in this group
 
-# LOCALIZATION NOTE (unblackBoxAllInGroup.label): This is the text that appears in the
-# context submenu to unblackbox all files inside of the selected group
-unblackBoxAllInGroup.label=Unblackbox files in this group
+# LOCALIZATION NOTE (unignoreAllInGroup.label): This is the text that appears in the
+# context submenu to unignore all files inside of the selected group
+unignoreAllInGroup.label=Unignore files in this group
 
-# LOCALIZATION NOTE (blackBoxAllOutsideGroup.label): This is the text that appears in the
-# context submenu to blackbox all files outside of the selected group
-blackBoxAllOutsideGroup.label=Blackbox files outside this group
+# LOCALIZATION NOTE (ignoreAllOutsideGroup.label): This is the text that appears in the
+# context submenu to ignore all files outside of the selected group
+ignoreAllOutsideGroup.label=Ignore files outside this group
 
-# LOCALIZATION NOTE (unblackBoxAllOutsideGroup.label): This is the text that appears in the
-# context submenu to unblackbox all files outside of the selected group
-unblackBoxAllOutsideGroup.label=Unblackbox files outside this group
+# LOCALIZATION NOTE (unignoreAllOutsideGroup.label): This is the text that appears in the
+# context submenu to unignore all files outside of the selected group
+unignoreAllOutsideGroup.label=Unignore files outside this group
 
-# LOCALIZATION NOTE (blackBoxAllInDir.label): This is the text that appears in the
-# context submenu to blackbox all files inside of the selected directory
-blackBoxAllInDir.label=Blackbox files in this directory
+# LOCALIZATION NOTE (ignoreAllInDir.label): This is the text that appears in the
+# context submenu to ignore all files inside of the selected directory
+ignoreAllInDir.label=Ignore files in this directory
 
-# LOCALIZATION NOTE (unblackBoxAllInDir.label): This is the text that appears in the
-# context submenu to unblackbox all files inside of the selected directory
-unblackBoxAllInDir.label=Unblackbox files in this directory
+# LOCALIZATION NOTE (unignoreAllInDir.label): This is the text that appears in the
+# context submenu to unignore all files inside of the selected directory
+unignoreAllInDir.label=Unignore files in this directory
 
-# LOCALIZATION NOTE (blackBoxAllOutsideDir.label): This is the text that appears in the
-# context submenu to blackbox all files outside of the selected directory
-blackBoxAllOutsideDir.label=Blackbox files outside this directory
+# LOCALIZATION NOTE (ignoreAllOutsideDir.label): This is the text that appears in the
+# context submenu to ignore all files outside of the selected directory
+ignoreAllOutsideDir.label=Ignore files outside this directory
 
-# LOCALIZATION NOTE (unblackBoxAllOutsideDir.label: This is the text that appears in the
-# context submenu to unblackbox all files outside of the selected directory
-unblackBoxAllOutsideDir.label=Unblackbox files outside this directory
+# LOCALIZATION NOTE (unignoreAllOutsideDir.label: This is the text that appears in the
+# context submenu to unignore all files outside of the selected directory
+unignoreAllOutsideDir.label=Unignore files outside this directory
 
 # LOCALIZATION NOTE (copyFunction.label): This is the text that appears in the
 # context menu to copy the function the user selected
 copyFunction.label=Copy function
 copyFunction.accesskey=F
 
 # LOCALIZATION NOTE (copyStackTrace): This is the text that appears in the
 # context menu to copy the stack trace methods, file names and row number.
@@ -598,33 +598,33 @@ sourceTabs.closeAllTabs.accesskey=a
 sourceTabs.revealInTree=Reveal in tree
 sourceTabs.revealInTree.accesskey=r
 
 # LOCALIZATION NOTE (sourceTabs.prettyPrint): Editor source tab context menu item
 # for pretty printing the source.
 sourceTabs.prettyPrint=Pretty print source
 sourceTabs.prettyPrint.accesskey=p
 
-# LOCALIZATION NOTE (sourceFooter.blackbox): Tooltip text associated
-# with the blackbox button
-sourceFooter.blackbox=Blackbox source
+# LOCALIZATION NOTE (sourceFooter.ignores): Tooltip text associated
+# with the ignores button
+sourceFooter.ignore=Ignore source
 
-# LOCALIZATION NOTE (sourceFooter.unblackbox): Tooltip text associated
-# with the blackbox button
-sourceFooter.unblackbox=Unblackbox source
+# LOCALIZATION NOTE (sourceFooter.unignore): Tooltip text associated
+# with the ignore button
+sourceFooter.unignore=Unignore source
 
-# LOCALIZATION NOTE (blackboxContextItem.blackbox): Text associated
-# with the blackbox context menu item
-blackboxContextItem.blackbox=Blackbox source
-blackboxContextItem.blackbox.accesskey=B
+# LOCALIZATION NOTE (ignoreContextItem.ignore): Text associated
+# with the ignore context menu item
+ignoreContextItem.ignore=Ignore source
+ignoreContextItem.ignore.accesskey=I
 
-# LOCALIZATION NOTE (blackboxContextItem.unblackbox): Text associated
-# with the unblackbox context menu item
-blackboxContextItem.unblackbox=Unblackbox source
-blackboxContextItem.unblackbox.accesskey=U
+# LOCALIZATION NOTE (ignoreContextItem.unignore): Text associated
+# with the unignore context menu item
+ignoreContextItem.unignore=Unignore source
+ignoreContextItem.unignore.accesskey=U
 
 # LOCALIZATION NOTE (sourceFooter.mappedSource): Text associated
 # with a mapped source. %S is replaced by the source map origin.
 sourceFooter.mappedSource=(From %S)
 
 # LOCALIZATION NOTE (sourceFooter.mappedSourceTooltip): Tooltip text associated
 # with a mapped source. %S is replaced by the source map origin.
 sourceFooter.mappedSourceTooltip=(Source mapped from %S)