mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1673964 - Fix a typo in an exception message. r=boris
> CSSStyleSheet.cssRules getter: Can't access rules of still-loading > stylsheet I have no idea what an stylsheet is :) Differential Revision: https://phabricator.services.mozilla.com/D95064
This commit is contained in:
parent
f654e61a4f
commit
706baf70b6
@ -934,7 +934,7 @@ bool StyleSheet::AreRulesAvailable(nsIPrincipal& aSubjectPrincipal,
|
||||
// Rules are not available on incomplete sheets.
|
||||
if (!IsComplete()) {
|
||||
aRv.ThrowInvalidAccessError(
|
||||
"Can't access rules of still-loading stylsheet");
|
||||
"Can't access rules of still-loading style sheet");
|
||||
return false;
|
||||
}
|
||||
//-- Security check: Only scripts whose principal subsumes that of the
|
||||
|
Loading…
Reference in New Issue
Block a user