bug 1150136 - rel=preconnect from html parser r=hsivonen

This commit is contained in:
Patrick McManus
2015-05-05 20:55:18 -04:00
parent 87cff8cb38
commit 2ffafe6be3
9 changed files with 79 additions and 27 deletions

View File

@@ -67,6 +67,9 @@ nsHtml5SpeculativeLoad::Perform(nsHtml5TreeOpExecutor* aExecutor)
intSource);
}
break;
case eSpeculativeLoadPreconnect:
aExecutor->Preconnect(mUrl);
break;
default:
NS_NOTREACHED("Bogus speculative load.");
break;