pageshow is firing before image is visible on the page and its ResourceTiming data is ready

Issue #12947899 • Assigned to Steven K.

Details

Author
Nic J.
Created
Jul 26, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

We have a simple page with 2 images.

The first image loads in 1 second, the second image loads after 2 seconds:

<img src="/delay?delay=1000" />
<img src="/delay?delay=2000" />

In Edge 15.15063, the page waits for the second image to load (2 seconds), then it fires the pageshow event.

However, at the time pageshow fires, the 2nd image isn’t always visually on the page, and it’s responseEnd (queried via ResourceTiming) is sometimes 0. This happens some of the times, not all of the time (on my machine).

At the time pageshow/onload fires, I would expect all of the static visual elements to be visually on the page, and their ResourceTiming datas to be filled out.

Repro here:

http://dev.nicj.net/bugs/edge-image-load-pageshow.html

Edge 15 repro:

Attachments

2 attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

You need to sign in to your Microsoft account to add a comment.

Sign in