Open Bug 1592911 Opened 4 years ago Updated 4 years ago

news.google.com ServiceWorker not successfully installing - Clicking links from Google News page makes the service worker remain in a “Registering” state and throwing several errors in browser console

Categories

(Core :: DOM: Service Workers, defect, P3)

72 Branch
defect

Tracking

()

Tracking Status
firefox71 --- disabled
firefox72 --- affected

People

(Reporter: atrif, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(2 files)

Attached image sw_es10_0.gif

Affected versions

  • 72.0a1 (20191030215116)

Affected platforms

  • Windows 10x64
  • macOS 10.14
  • Ubuntu 18.04

Steps to reproduce

  1. Open Firefox with a new profile and browser console.
  2. Open about:debugging,click on “This Nightly tab” and observe the Service Workers section.
  3. Go to news.google.com and click on a random link before the service worker is registered.

Expected result

  • Service worker is successfully registered and there are no errors thrown in the console.

Actual result

  • Service worker for new.google.com remains in registering state and disappears after a while and several errors are shown in the browser console.

Regression range

  • I will search for one ASAP if there is one.

Additional Notes

  • Attached a screen recording with the issue.
  • Attached a .txt file that contains the errors from the browser console.
  • Clicking on random link registers the service worker for Google News page and clicking again links from the page makes the service worker remain in “Registering” state repeating the actual result every time another link is clicked.
Attached file workers_error.txt

Adding the errors that are thrown in the browser console after Step 3 and after repeating Step 3.

Has Regression Range: --- → no
Has STR: --- → yes

Bugbug thinks this bug is a regression, but please revert this change in case of error.

Keywords: regression
Priority: -- → P2
Summary: Clicking links from Google News page makes the service worker remain in a “Registering” state and throwing several errors in browser console → news.google.com ServiceWorker not successfully installing - Clicking links from Google News page makes the service worker remain in a “Registering” state and throwing several errors in browser console

Hello! I tried searching for a regression range using dom.serviceWorkers.parent_intercept;true but it seems that the issue is reproducible way back to Firefox 62.0a1 (20180621220127) when the pref was introduced.
The issue is also reproducible on the builds before the pref (dom.serviceWorkers.parent_intercep) by following the about:debugging-> Workers until Firefox 48.0a1 (20160419030312). On the builds, past this date, the service workers are not staying registered at all. They appear and disappear. So I think it's safe to assume that this issue is not a regression.

Thanks for the in-depth regression investigation there, that is useful to know. It's possible there's some kind of feature detection or something going on that we're failing. Dropping this to a P3 accordingly.

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