| Index: LayoutTests/fast/repaint/resources/display-then-call.js
|
| diff --git a/LayoutTests/fast/repaint/resources/display-then-call.js b/LayoutTests/fast/repaint/resources/display-then-call.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2cbbd3def3e6afe0388db26cc356a084ab434f5d
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/resources/display-then-call.js
|
| @@ -0,0 +1,9 @@
|
| +function displayThenCall(callback)
|
| +{
|
| + if (window.testRunner) {
|
| + testRunner.waitUntilDone();
|
| + testRunner.displayAsyncThen(function() { callback(); testRunner.notifyDone(); });
|
| + } else {
|
| + setTimeout(callback, 500);
|
| + }
|
| +}
|
|
|