Open Bug 1556648 Opened 1 year ago Updated 1 year ago

Investigate serviceworker registration issue in multie10s aboutdebugging mochitest


(DevTools :: about:debugging, enhancement, P3)



(Not tracked)


(Reporter: jdescottes, Unassigned)


(Depends on 1 open bug, Blocks 1 open bug)


Follow up to Bug 1533111.

We are adding a 1s wait in browser_aboutdebugging_serviceworker_multie10s.js to avoid an intermittent failure. When aboutdebugging starts too quickly, we will never get the service worker registration in the RUNNING state in the first part of the test:

  info("Wait until the service worker appears and is running");
  await waitUntil(() => {
    const target = findDebugTargetByText(SERVICE_WORKER, document);
    const status = target && target.querySelector(".qa-worker-status");
    return status && status.textContent === "Running";

We should investigate more to understand why this times out. Is it because the service worker itself is not visible? Is it because we are missing the RUNNING state? And based on this information, maybe we can find a more appropriate fix for this issue.

Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.