Bug 1337674 followup 3 - Fix assertion check.

MozReview-Commit-ID: EckSAiEeou5

--HG--
extra : source : a5aa66df811c33af2d0996ce213790ff0a5350cf
This commit is contained in:
Xidorn Quan 2017-02-18 12:17:24 +11:00
Родитель 8909da0ecd
Коммит 27565009da
2 изменённых файлов: 1 добавлений и 9 удалений

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

@ -574,14 +574,6 @@ Any line which doesn't follow the format above would be ignored like comment.
## Assertions
* Table wrapper with borders and paddings bug 1324661
* test_animations_async_tests.html asserts [3]
* test_animations_effect_timing_enddelay.html asserts [2]
* test_animations_event_order.html asserts [1]
* test_animations_omta_start.html asserts [1]
* test_animations_playbackrate.html asserts [1]
* test_at_rule_parse_serialize.html asserts [1]
* test_unclosed_parentheses.html asserts [1]
* Content glue not implemented
* assertion in frame constructor bug 1324704
* test_rule_insertion.html asserts [1]

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

@ -620,7 +620,7 @@ TestRunner.testUnloaded = function() {
// Accumulate all assertion counts recorded in the failure pattern file.
let additionalAsserts = TestRunner.expected.reduce((acc, [pat, count]) => {
return pat == "ASSERTION" ? acc + count : acc;
});
}, 0);
min += additionalAsserts;
max += additionalAsserts;
}