Open Bug 1519820 Opened 5 years ago Updated 2 years ago

Page content is cleared on "Stop loading this page (Esc)"

Categories

(Core :: DOM: Navigation, defect, P3)

63 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: Piligrim2007, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

Steps to reproduce:

  • Open web page.
  • Press link from the opened web page.
  • Press "Stop loading this page (Esc)" before link is opened.

Actual results:

All content is gone.

Expected results:

If nothing from the visited page was loaded - previous content should remain.

I can only reproduce this if I press Esc once the second link is already loading. At that point, interrupting the transfer leaves the browser with nothing useful to show. It seems you're asking to display the previous page, after you've already navigated away from it.

Component: Untriaged → Document Navigation
Product: Firefox → Core

Sometimes it happens, when I load web page.
Browser shows content but at the same time it continues loading rest of page.
If at this point press Esc - all content will be erased and white page will appear.

P.S. It is easy to reproduce on a "heavy" pages.

Piligrim2007, can you provide an example of a "heavy" webpage where you are able to reliably reproduce this?

Flags: needinfo?(Piligrim2007)

Here is steps to reproduce:

As a result, white screen received.

Flags: needinfo?(Piligrim2007)

Are you pressing the Esc key after the browser has started showing the https://bt.rozetka.com.ua/sistemy-obratnogo-osmosa/c196458/osobennosti123588=mineralizator/ (but before it has finished loading it), or while the browser is still showing https://bt.rozetka.com.ua/ecosoft_mo650mecorz/p17508214/ ?

Flags: needinfo?(Piligrim2007)

Also, just to eliminate variables, does this happen in a clean profile with no extensions?

(And to be clear, the steps from comment 4 doesn't reproduce the bug as described for me....)

Boris, sorry for such a looong delay. It was my fault (еhe aliens kidnapped me).
Q. Are you pressing the Esc key after the browser has started showing the...
A. When I open link, then press Ctrl+R and frequently pressing Esc it can be reproduced.

Q. Also, just to eliminate variables, does this happen in a clean profile with no extensions?
A. I've disabled all extensions - it is reproducible.

Flags: needinfo?(Piligrim2007)

My apologies for the lag on my side now... It's going to go on for another week, unfortunately, then I will try to reproduce this locally...

Flags: needinfo?(bzbarsky)

OK, I finally got a chance to go back to this... my apologies for the really horrible lag this time.

I started with https://bt.rozetka.com.ua/sistemy-obratnogo-osmosa/c196458/filter/osobennosti123588=mineralizator/ and tried hitting Ctrl+R and then Esc quickly. I can reproduce a blank page sometimes, but that happens if I manage to hit Esc after we have parsed part of the new page (e.g. a bunch of <script> tags in the <head>) but have not run those scripts yet, so nothing else has been parsed. Hitting Esc at that point stops the pageload before there is any visible content in the DOM yet, but after the new page has replaced the old page, run a bunch of script, etc... That seems like the right behavior for that particular set of steps and timing of things...

Flags: needinfo?(bzbarsky)
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.