<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [link preload] Double downloads of preloaded CSS"
href="https://bugs.webkit.org/show_bug.cgi?id=169274#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [link preload] Double downloads of preloaded CSS"
href="https://bugs.webkit.org/show_bug.cgi?id=169274">bug 169274</a>
from <span class="vcard"><a class="email" href="mailto:koivisto@iki.fi" title="Antti Koivisto <koivisto@iki.fi>"> <span class="fn">Antti Koivisto</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=303647&action=diff" name="attach_303647" title="Patch">attachment 303647</a> <a href="attachment.cgi?id=303647&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=303647&action=review">https://bugs.webkit.org/attachment.cgi?id=303647&action=review</a>
<span class="quote">> Source/WebCore/loader/cache/CachedResourceLoader.cpp:929
> + if (textDecoder && !textDecoder->hasEqualEncodingForCharset(cachedResourceRequest.charset())) {
> + if (!existingResource->isLinkPreload())
> + return Reload;
> + existingResource->setEncoding(cachedResourceRequest.charset());
> + }</span >
What happens if there are multiple requests for the same link-preloaded resource with different charsets?
<link rel="preload" href="foo.js" as="script">
...
<script src="foo.js" charset=utf-8></script>
<script src="foo.js" charset=latin1></script></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>