<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Worker Script Loads (new Worker(...), importScripts(...)) should be classified as Scripts not Raw requests"
href="https://bugs.webkit.org/show_bug.cgi?id=164425#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Worker Script Loads (new Worker(...), importScripts(...)) should be classified as Scripts not Raw requests"
href="https://bugs.webkit.org/show_bug.cgi?id=164425">bug 164425</a>
from <span class="vcard"><a class="email" href="mailto:joepeck@webkit.org" title="Joseph Pecoraro <joepeck@webkit.org>"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=297336&action=diff" name="attach_297336" title="[PATCH] Proposed Fix">attachment 297336</a> <a href="attachment.cgi?id=297336&action=edit" title="[PATCH] Proposed Fix">[details]</a></span>
[PATCH] Proposed Fix
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=297336&action=review">https://bugs.webkit.org/attachment.cgi?id=297336&action=review</a>
<span class="quote">> Source/WebCore/ChangeLog:17
> + A new CachedResource::WorkerScript type is added for `new Worker(...)` resources.
> + It is a CachedScript just like CachedResource::Script. The only difference is</span >
An alternative to this would be to give CachedScript a "isWorker" flag and set it. Not sure if people think that would be better or not.
<span class="quote">> Source/WebCore/ChangeLog:30
> + This introduces ResourceLoaderContext to encapsulate the necessary scripting
> + environment context information necessary for loading. This can be set on</span >
After implementing this, it looks like ResourceLoaderContext is pretty similar to SecurityContext. We could consider using that instead.</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>