[Webkit-unassigned] [Bug 89932] New: JavaScript resources have low priority when SVG is enabled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 25 18:19:54 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89932
Summary: JavaScript resources have low priority when SVG is
enabled
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: psolanki at apple.com
The following change made it so that JavaScript resources have low priority.
https://bugs.webkit.org/show_bug.cgi?id=12499
http://trac.webkit.org/changeset/108785
The problematic part is
--- a/Source/WebCore/loader/cache/CachedResource.cpp
+++ b/Source/WebCore/loader/cache/CachedResource.cpp
@@ -61,6 +61,10 @@ static ResourceLoadPriority defaultPriorityForResourceType(CachedResource::Type
#endif
return ResourceLoadPriorityHigh;
case CachedResource::Script:
+#if ENABLE(SVG)
+ case CachedResource::SVGDocumentResource:
+ return ResourceLoadPriorityLow;
+#endif
case CachedResource::FontResource:
case CachedResource::RawResource:
return ResourceLoadPriorityMedium;
CachedResource::Script now returns ResourceLoadPriorityLow instead of ResourceLoadPriorityMedium when SVG is enabled.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list