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:
cbiesinger%web.de
2007-05-14 20:09:20 +00:00
parent 032943e6bf
commit 6e69609e46
23 changed files with 1198 additions and 464 deletions

View File

@@ -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);
}
}
}