Bug 732209 part 3. Communicate the CORS state of preloads to the CSS loader. r=sicking,hsivonen

This commit is contained in:
Boris Zbarsky
2012-08-28 13:10:08 -04:00
parent 5fff5874c6
commit a198282cca
10 changed files with 41 additions and 20 deletions

View File

@@ -35,7 +35,7 @@ nsHtml5SpeculativeLoad::Perform(nsHtml5TreeOpExecutor* aExecutor)
mCrossOrigin);
break;
case eSpeculativeLoadStyle:
aExecutor->PreloadStyle(mUrl, mCharset);
aExecutor->PreloadStyle(mUrl, mCharset, mCrossOrigin);
break;
case eSpeculativeLoadManifest:
aExecutor->ProcessOfflineManifest(mUrl);