Commit 730da94f authored by Mark Banner's avatar Mark Banner
Browse files

Bug 1826062 - Manual fixes for Prettier 2.8.8 upgrade....

Bug 1826062 - Manual fixes for Prettier 2.8.8 upgrade. r=mossop,webdriver-reviewers,extension-reviewers,devtools-reviewers,robwu

Differential Revision: https://phabricator.services.mozilla.com/D177908
parent 130a6559
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,8 +17,8 @@ const TEST_LOAD_PAGE = WEB_ROOT + "loadDelayedReply.sjs";
 * Tests that ESC on a SubDialog does not cancel ongoing loads in the parent.
 */
add_task(async function test_subdialog_esc_does_not_cancel_load() {
  // eslint-disable-next-line @microsoft/sdl/no-insecure-url
  await BrowserTestUtils.withNewTab(
    // eslint-disable-next-line @microsoft/sdl/no-insecure-url
    "http://example.com",
    async function (browser) {
      // Start loading a page
@@ -65,8 +65,8 @@ add_task(async function test_subdialog_esc_does_not_cancel_load() {
 * Tests that ESC on a SubDialog with an open dropdown doesn't close the dialog.
 */
add_task(async function test_subdialog_esc_on_dropdown_does_not_close_dialog() {
  // eslint-disable-next-line @microsoft/sdl/no-insecure-url
  await BrowserTestUtils.withNewTab(
    // eslint-disable-next-line @microsoft/sdl/no-insecure-url
    "http://example.com",
    async function (browser) {
      // Open the test dialog
+1 −1
Original line number Diff line number Diff line
@@ -52,8 +52,8 @@ add_setup(async function () {
 * Test that a manager for content prompts is added to tab dialog box.
 */
add_task(async function test_tabdialog_content_prompts() {
  // eslint-disable-next-line @microsoft/sdl/no-insecure-url
  await BrowserTestUtils.withNewTab(
    // eslint-disable-next-line @microsoft/sdl/no-insecure-url
    "http://example.com",
    async function (browser) {
      info("Open a tab prompt.");
+1 −1
Original line number Diff line number Diff line
@@ -666,8 +666,8 @@ class PageAction {
        };

        primaryActionCallback = async () => {
          // eslint-disable-next-line no-use-before-define
          primary.action.data.url =
            // eslint-disable-next-line no-use-before-define
            await CFRPageActions._fetchLatestAddonVersion(content.addon.id);
          this._blockMessage(id);
          this.dispatchUserAction(primary.action);
+1 −1
Original line number Diff line number Diff line
@@ -167,8 +167,8 @@ function Editor(config) {
    // - \u2066 LEFT-TO-RIGHT ISOLATE
    // - \u2067 RIGHT-TO-LEFT ISOLATE
    // - \u2069 POP DIRECTIONAL ISOLATE
    // eslint-disable-next-line no-control-regex
    specialChars:
      // eslint-disable-next-line no-control-regex
      /[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/,
    specialCharPlaceholder: char => {
      // Use the doc provided to the setup function if we don't have a reference to a codeMirror
+2 −2
Original line number Diff line number Diff line
@@ -56,8 +56,8 @@ add_task(async function test_stacktrace() {
    stacktrace[3],
    "chrome://mochitests/content/browser/remote/shared/listeners/test/browser/head.js",
    "",
    33,
    27
    34,
    29
  );

  // Clear the console to avoid side effects with other tests in this file.
Loading