New issue
Advanced search Search tips

Issue 848772 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

<link rel="preload"> script is downloaded twice if it is specified in the imported html file

Reported by aoel...@gmail.com, Jun 1 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36

Example URL:
https://alexyelkin.github.io/html_import/index.html

Steps to reproduce the problem:
1. Open a link.
2. Open the DevTools.
3. Hard reload the page (Ctrl+F5).

What is the expected behavior?
index.js should be downloaded only once.

What went wrong?
index.js downloaded twice: by <link rel="preload"> and by the imported html file.

Did this work before? N/A 

Chrome version: 67.0.3396.62  Channel: stable
OS Version: Debian
Flash Version: 

Also I created the repository with this example to run it locally: https://github.com/AlexYelkin/html_import
When I run it locally, I see in the server logs that index.js is requested twice, even when DevTools is closed.
 
Dev tools screenshot.png
54.5 KB View Download
Components: -Internals>Network Blink>Loader>Preload
Cc: pbomm...@chromium.org
Labels: Needs-Triage-M67
Cc: kinuko@chromium.org kouhei@chromium.org
Labels: M-68 M-69 FoundIn-67 Target-68 Target-69 Needs-Bisect FoundIn-68 FoundIn-69 OS-Android OS-Chrome OS-Mac OS-Windows
Able to reproduce the issue on latest Chrome stable and previous stable as well i..e, 67.0.3396.62 and 66.0.3359.181, as well on Chrome Dev(68.0.3440.7) and canary(69.0.3447.2) as well.
Status: Untriaged (was: Unconfirmed)
Labels: -Needs-Bisect -M-68 -FoundIn-67 -FoundIn-68 -Target-68 Triaged-ET
Able to reproduce the issue on chrome reported version 67.0.3396.62 and on latest chrome# 69.0.3449.0 using Mac 10.12.6, Ubuntu 14.04 and Windows-10. As this issue is seen from M-60(60.0.3112.0), hence considering this issue as Non-Regression, hence tagging it with canary milestone and removing Needs-Bisect label, feel free to add it back if needed.

Thanks!

Sign in to add a comment