Bug 370195 â sql device for the offline cache
patch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) git-svn-id: svn://10.0.0.236/trunk@226398 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3012,7 +3012,9 @@ HTMLContentSink::ProcessLINKTag(const nsIParserNode& aNode)
|
||||
nsAutoString hrefVal;
|
||||
element->GetAttr(kNameSpaceID_None, nsGkAtoms::href, hrefVal);
|
||||
if (!hrefVal.IsEmpty()) {
|
||||
PrefetchHref(hrefVal, PR_TRUE, PR_TRUE);
|
||||
AddOfflineResource(hrefVal);
|
||||
if (mSaveOfflineResources)
|
||||
PrefetchHref(hrefVal, PR_TRUE, PR_TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user