Bug 1028609 - Fix this._elementStyle.rules is undefined in rule-view.js r=pbrosset

This commit is contained in:
Michael Ratcliffe 2014-06-24 10:54:50 +01:00
Родитель c597f67005
Коммит f116c9391a
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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;