Commit 621bf1a6 authored by Cristian Tuns's avatar Cristian Tuns
Browse files

Backed out 8 changesets (bug 1651518, bug 1883847) dt failures in nsTArray.h. CLOSED TREE

Backed out changeset 481558275c1d (bug 1651518)
Backed out changeset 5337435e8bca (bug 1651518)
Backed out changeset 8fe0c1a4da7f (bug 1651518)
Backed out changeset 840a0d9db260 (bug 1651518)
Backed out changeset eaab9de5819d (bug 1651518)
Backed out changeset cf71de92d782 (bug 1651518)
Backed out changeset d778691464db (bug 1651518)
Backed out changeset af28e5f719e8 (bug 1883847)
parent 17e92790
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -38,8 +38,7 @@ add_task(async function () {
  await waitForThreadCount(dbg, 1);
  const threads = dbg.selectors.getThreads();
  is(threads.length, 1, "Got the page and the worker threads");
  is(threads[0].name, "worker.js", "Thread name is correct");
  is(threads[0].url, WORKER_URL, "Thread URL is correct");
  is(threads[0].name, WORKER_URL, "Thread name is correct");

  const source = await waitForSource(dbg, "worker.js");
  await selectSource(dbg, source);
+1 −1
Original line number Diff line number Diff line
@@ -317,7 +317,7 @@ add_task(async function testSourceTextContent() {

  const workerThread = dbg.selectors
    .getAllThreads()
    .find(thread => thread.url == `${BASE_URL}same-url.js`);
    .find(thread => thread.name == `${BASE_URL}same-url.js`);

  is(
    sourceActors.filter(actor => actor.thread == workerThread.actor).length,
+1 −1
Original line number Diff line number Diff line
@@ -341,7 +341,7 @@ add_task(async function testSourceTreeOnTheIntegrationTestPage() {

  const workerThread = dbg.selectors
    .getAllThreads()
    .find(thread => thread.url == testServer.urlFor("same-url.sjs"));
    .find(thread => thread.name == testServer.urlFor("same-url.sjs"));

  is(
    sourceActors.filter(actor => actor.thread == workerThread.actor).length,
+4 −7
Original line number Diff line number Diff line
@@ -12,16 +12,13 @@ const CHROME_DEBUGGER_PROFILE_NAME = "chrome_debugger_profile";

import { AppConstants } from "resource://gre/modules/AppConstants.sys.mjs";
import { require } from "resource://devtools/shared/loader/Loader.sys.mjs";
import {
  useDistinctSystemPrincipalLoader,
  releaseDistinctSystemPrincipalLoader,
} from "resource://devtools/shared/loader/DistinctSystemPrincipalLoader.sys.mjs";
import { Subprocess } from "resource://gre/modules/Subprocess.sys.mjs";
import { XPCOMUtils } from "resource://gre/modules/XPCOMUtils.sys.mjs";

const {
  useDistinctSystemPrincipalLoader,
  releaseDistinctSystemPrincipalLoader,
} = ChromeUtils.importESModule(
  "resource://devtools/shared/loader/DistinctSystemPrincipalLoader.sys.mjs",
  { global: "shared" }
);
const lazy = {};
ChromeUtils.defineESModuleGetters(lazy, {
  BackgroundTasksUtils: "resource://gre/modules/BackgroundTasksUtils.sys.mjs",
+1 −2
Original line number Diff line number Diff line
@@ -10,8 +10,7 @@ var { loader, require } = ChromeUtils.importESModule(

var { useDistinctSystemPrincipalLoader, releaseDistinctSystemPrincipalLoader } =
  ChromeUtils.importESModule(
    "resource://devtools/shared/loader/DistinctSystemPrincipalLoader.sys.mjs",
    { global: "shared" }
    "resource://devtools/shared/loader/DistinctSystemPrincipalLoader.sys.mjs"
  );

// Require this module to setup core modules
Loading