Bug 1406278: Part 8b - Use subject principal as triggering principal in style <link> "href" attribute. r=bz

MozReview-Commit-ID: LWMkBcB4WIg
This commit is contained in:
Kris Maglione
2017-10-05 19:40:48 -07:00
parent 8ed082cd00
commit 84cb9d4cfe
15 changed files with 53 additions and 19 deletions

View File

@@ -186,9 +186,10 @@ HTMLStyleElement::SetInnerHTML(const nsAString& aInnerHTML,
}
already_AddRefed<nsIURI>
HTMLStyleElement::GetStyleSheetURL(bool* aIsInline)
HTMLStyleElement::GetStyleSheetURL(bool* aIsInline, nsIPrincipal** aTriggeringPrincipal)
{
*aIsInline = true;
*aTriggeringPrincipal = nullptr;
return nullptr;
}