bug 792438 part 1 - identify css and head-based-js as dedicated network resources r=bz

This commit is contained in:
Patrick McManus
2012-12-04 18:06:29 -05:00
parent e087664e82
commit e02ad04f62
13 changed files with 122 additions and 17 deletions

View File

@@ -32,7 +32,11 @@ nsHtml5SpeculativeLoad::Perform(nsHtml5TreeOpExecutor* aExecutor)
break;
case eSpeculativeLoadScript:
aExecutor->PreloadScript(mUrl, mCharset, mTypeOrCharsetSource,
mCrossOrigin);
mCrossOrigin, false);
break;
case eSpeculativeLoadScriptFromHead:
aExecutor->PreloadScript(mUrl, mCharset, mTypeOrCharsetSource,
mCrossOrigin, true);
break;
case eSpeculativeLoadStyle:
aExecutor->PreloadStyle(mUrl, mCharset, mCrossOrigin);