Bug 1415352: Part 4a - Capture subject principal in innerHTML setters. r=bz
This is necessary in order to capture the correct triggering principal for inline <style> nodes. MozReview-Commit-ID: 9EaD40vRNkH
This commit is contained in:
@@ -174,6 +174,7 @@ HTMLStyleElement::GetInnerHTML(nsAString& aInnerHTML)
|
||||
|
||||
void
|
||||
HTMLStyleElement::SetInnerHTML(const nsAString& aInnerHTML,
|
||||
nsIPrincipal& aScriptedPrincipal,
|
||||
ErrorResult& aError)
|
||||
{
|
||||
SetEnableUpdates(false);
|
||||
|
||||
Reference in New Issue
Block a user