зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1371457 - Update animation restyle tests. r=hiro
Update the various animation restyle tests to check the new animation only data inside the restyle marker. MozReview-Commit-ID: HEe8x45IhHj --HG-- extra : rebase_source : fdaa5855e94d68ce2a70d00fde11582c9a538f45
This commit is contained in:
Родитель
ba1293b3ca
Коммит
0338ac2a6a
|
@ -46,9 +46,7 @@ function observeStyling(frameCount, onFrame) {
|
|||
var markers = docShell.popProfileTimelineMarkers();
|
||||
docShell.recordProfileTimelineMarkers = false;
|
||||
var stylingMarkers = markers.filter(function(marker, index) {
|
||||
return marker.name == 'Styles' &&
|
||||
(marker.restyleHint == 'eRestyle_CSSAnimations' ||
|
||||
marker.restyleHint == 'eRestyle_CSSTransitions');
|
||||
return marker.name == 'Styles' && marker.isAnimationOnly;
|
||||
});
|
||||
resolve(stylingMarkers);
|
||||
});
|
||||
|
|
|
@ -46,7 +46,7 @@ function observeStyling(frameCount) {
|
|||
var markers = docShell.popProfileTimelineMarkers();
|
||||
docShell.recordProfileTimelineMarkers = false;
|
||||
var stylingMarkers = markers.filter(function(marker, index) {
|
||||
return marker.restyleHint == "eRestyle_StyleAttribute_Animations";
|
||||
return marker.name == 'Styles' && marker.isAnimationOnly;
|
||||
});
|
||||
resolve(stylingMarkers);
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче