зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1028609 - Fix this._elementStyle.rules is undefined in rule-view.js r=pbrosset
This commit is contained in:
Родитель
c597f67005
Коммит
f116c9391a
|
@ -1623,6 +1623,10 @@ CssRuleView.prototype = {
|
|||
let seenPseudoElement = false;
|
||||
let seenNormalElement = false;
|
||||
|
||||
if (!this._elementStyle.rules) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (let rule of this._elementStyle.rules) {
|
||||
if (rule.domRule.system) {
|
||||
continue;
|
||||
|
|
Загрузка…
Ссылка в новой задаче