| Index: PerformanceTests/Interactive/SelectAll.html
|
| diff --git a/PerformanceTests/Interactive/SelectAll.html b/PerformanceTests/Interactive/SelectAll.html
|
| index 1e89ab94c947a599151777fc129b8d0575d2b585..0e67c1a5fced2654cc3f5ff241f4465c0dda94ee 100644
|
| --- a/PerformanceTests/Interactive/SelectAll.html
|
| +++ b/PerformanceTests/Interactive/SelectAll.html
|
| @@ -15,12 +15,12 @@ PerfTestRunner.prepareToMeasureValuesAsync({
|
| function runTest() {
|
| var iframe = document.querySelector('iframe');
|
| iframe.contentWindow.getSelection().removeAllRanges();
|
| - iframe.contentDocument.body.offsetTop;
|
| + PerfTestRunner.forceLayoutOrFullFrame(iframe.contentDocument);
|
|
|
| setTimeout(function () {
|
| var startTime = PerfTestRunner.now();
|
| iframe.contentDocument.execCommand('SelectAll');
|
| - iframe.contentDocument.body.offsetTop;
|
| + PerfTestRunner.forceLayoutOrFullFrame(iframe.contentDocument);
|
| setTimeout(function () {
|
| PerfTestRunner.measureValueAsync(PerfTestRunner.now() - startTime);
|
| PerfTestRunner.gc();
|
|
|