зеркало из https://github.com/mozilla/gecko-dev.git
Bug 718316 - Try to fix the intermittent orange introduced after the landing of bug 598482 by flushing before capturing the screenshot; r=bzbarsky
This commit is contained in:
Родитель
e3b1bdecdd
Коммит
2ce8b653cd
|
@ -31,6 +31,7 @@ addLoadEvent(function() {
|
|||
t.selectionStart = 4;
|
||||
t.selectionEnd = 4;
|
||||
SimpleTest.executeSoon(function() {
|
||||
t.getBoundingClientRect(); // flush layout
|
||||
var before = snapshotWindow(window, true);
|
||||
t.selectionStart = 5;
|
||||
t.selectionEnd = 5;
|
||||
|
|
|
@ -31,6 +31,7 @@ SimpleTest.waitForFocus(function() {
|
|||
synthesizeKey("A", {accelKey: true});
|
||||
|
||||
SimpleTest.executeSoon(function() {
|
||||
t.getBoundingClientRect(); // flush layout
|
||||
var afterSetValue = snapshotWindow(window);
|
||||
|
||||
t.value = t.defaultValue;
|
||||
|
|
Загрузка…
Ссылка в новой задаче