[Webkit-unassigned] [Bug 165670] Add a warning for unused link preloads.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 15 09:23:37 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=165670

--- Comment #23 from Alex Christensen <achristensen at apple.com> ---
Comment on attachment 304495
  --> https://bugs.webkit.org/attachment.cgi?id=304495
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=304495&action=review

> Source/WebCore/loader/cache/CachedResourceClient.h:48
> +    virtual bool markAsReferenced() const { return true; }

I'm not sure this is named correctly.  shouldMarkAsReferenced?  Isn't there already a way to tell if a load is a preload?

> LayoutTests/TestExpectations:1260
> +http/tests/preload/single_download_preload.html [ DumpJSConsoleLogInStdErr ]

Does this make these tests not accidentally print out a warning message?  Is there no way to do this from within the test?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170315/87a96713/attachment.html>


More information about the webkit-unassigned mailing list