New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 821170 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

There is a console warning that contains a typo (repeated string)

Reported by marigon...@gmail.com, Mar 12 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36

Steps to reproduce the problem:
1. Open any YouTube video
2. Open the console
3. Check there is a warning that has the referred typo

What is the expected behavior?
I expect that there is no typo.

What went wrong?
When I was browsing YouTube, I opened the console and found a warning there:
- The resource (...) was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it Please make sure it has an appropriate `as` value and it is preloaded intentionally.

As you can see, "Please make sure it" is repeated twice.
After some search, I found it was originated by Chrome (the line is https://chromium.googlesource.com/chromium/src.git/+/master/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp#1336).

Did this work before? No 

Chrome version: 65.0.3325.146  Channel: stable
OS Version: 6.3
Flash Version:
 
Labels: Needs-Triage-M65
Cc: sindhu.chelamcherla@chromium.org
Components: Platform>DevTools
Labels: Triaged-ET Needs-Feedback
Unable to reproduce this issue on reported version 65.0.3325.146 , on latest stable 65.0.3325.162 using Windows 7 with steps mentioned below.

1. Launched Youtube and played video.
2. Opened console and didn't observe any error stating "The resource (...) was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it Please make sure it has an appropriate `as` value and it is preloaded intentionally."
3. In Filter searched with preload and didn't see any such error.

@Reporter: Please check the video and let us know if we miss anything? Is this issue is seen particular to any video? If so please provide URL for further repro. Any info on reproducing this issue would help in further debugging of issue.

Thanks!

821170.mp4
9.1 MB View Download
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)
I can't reproduce it 100% of the times, but in spite of it appearing in YouTube or not, there is a typo in the message, which I think should be easy to fix.

Thanks for your time.
Project Member

Comment 5 by bugdroid1@chromium.org, Mar 23 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d3c95fae0e7ccceda86d7b3bb1bf7a1910c52b07

commit d3c95fae0e7ccceda86d7b3bb1bf7a1910c52b07
Author: Erik Luo <luoe@chromium.org>
Date: Fri Mar 23 17:47:10 2018

Fix typo in unused preloads console message

Bug:  821170 
Change-Id: I6ad4d15ce7fbf0f168527aaac4029654b6632dd3
Reviewed-on: https://chromium-review.googlesource.com/976186
Reviewed-by: Yoav Weiss <yoav@yoav.ws>
Commit-Queue: Erik Luo <luoe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#545509}
[modify] https://crrev.com/d3c95fae0e7ccceda86d7b3bb1bf7a1910c52b07/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-preload-unused-expected.txt
[modify] https://crrev.com/d3c95fae0e7ccceda86d7b3bb1bf7a1910c52b07/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp

Comment 6 by l...@chromium.org, Mar 23 2018

Labels: -Needs-Feedback
Status: Fixed (was: Assigned)
Thanks for the report, and for finding the exact line!

Comment 7 by l...@chromium.org, Apr 12 2018

Cc: l...@chromium.org
 Issue 831662  has been merged into this issue.
 Issue 835265  has been merged into this issue.
 Issue 843635  has been merged into this issue.

Sign in to add a comment