Closed Bug 1214376 Opened 9 years ago Closed 9 years ago

Rapidly-reloading about:remote-newtab triggers "Corrupted Content Error"

Categories

(Firefox :: New Tab Page, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Tracking Status
firefox44 --- affected

People

(Reporter: dholbert, Unassigned)

References

Details

Attachments

(1 file)

STR:
 1. In Nightly with a fresh profile, visit about:remote-newtab
 2. Reload twice back to back, very quickly. (Hold Ctrl, and press R several times in rapid succession.)

ACTUAL RESULTS: A good fraction of the time, I end up at an error page:
===
Corrupted Content Error

The page you are trying to view cannot be shown because an error in the data transmission was detected.

The page you are trying to view cannot be shown because an error in the data transmission was detected.

    Please contact the website owners to inform them of this problem.
===

EXPECTED RESULTS: No such error page.
Here's a screencast. Note that we first go to the text-only rendering that I filed bug 1214374 about. But then we end up at the "Corrupted Content Error" page.
Nightly version: 44.0a1 (2015-10-13)

Also: once I've triggered this bug, successive reloads (whether rapid or normal) *continue* to trigger this error page. I can't get the correct about:remote-newtab rendering back unless I do "History | Clear Recent History".

Also: I see this in my error console when I trigger this error page (and on each successive reload that triggers this error page):
> ServiceWorker passed a rejected Promise to FetchEvent.respondWith().
>  This typically means that the code that resolves the Promise has failed.       about:blank
(In reply to Daniel Holbert [:dholbert] (less responsive Oct 9-12 & 15-18) from comment #2)
> Nightly version: 44.0a1 (2015-10-13)
> 
> Also: once I've triggered this bug, successive reloads (whether rapid or
> normal) *continue* to trigger this error page. I can't get the correct
> about:remote-newtab rendering back unless I do "History | Clear Recent
> History".

(One other way for me to restore the correct rendering: I can visit about:serviceworkers and click the "unregister" button. Then, my next reload on about:remote-newtab will be correct.)
we are aware of the issue and will be fixing it in an upcoming patch
This is a bug with how we are caching requests in the service worker.

That issue is fixed elsewhere and will be deployed to our CDN soon, with the url updated in nightly soon.
This is now fixed.

It may require going to about:serviceworkers and unregistering for origin https://newtab.cdn.mozilla.net
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Thanks! I tried to reproduce this in a fresh profile, & could not cause any trouble. Marking as Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: