| Index: third_party/WebKit/LayoutTests/intersection-observer/helper-functions.js
|
| diff --git a/third_party/WebKit/LayoutTests/intersection-observer/helper-functions.js b/third_party/WebKit/LayoutTests/intersection-observer/helper-functions.js
|
| index ba3a14aa673a7f8c310b950c4972efd8a3ca6948..2aa6ecce92f07bd78915da93bb56ae948c3b19a3 100644
|
| --- a/third_party/WebKit/LayoutTests/intersection-observer/helper-functions.js
|
| +++ b/third_party/WebKit/LayoutTests/intersection-observer/helper-functions.js
|
| @@ -2,14 +2,7 @@
|
| // enough to screw with frame offsets that are measured by the test. Delay all that
|
| // jazz until the actual test code is finished.
|
| setPrintTestResultsLazily();
|
| -var delayDescription = description;
|
| -var descriptionString = "";
|
| -var delayIsSuccessfullyParsed = isSuccessfullyParsed;
|
| -var isSuccessfullyParsed = function() {}
|
| -var description = function(msg) { descriptionString = msg }
|
| -
|
| -if (window.testRunner)
|
| - testRunner.waitUntilDone();
|
| +self.jsTestIsAsync = true;
|
|
|
| function rectToString(rect) {
|
| return "[" + rect.left + ", " + rect.right + ", " + rect.top + ", " + rect.bottom + "]";
|
| @@ -26,12 +19,3 @@ function entryToString(entry) {
|
| "target=" + entry.target + "\n" +
|
| "time=" + entry.time);
|
| }
|
| -
|
| -function finishTest() {
|
| - if (descriptionString)
|
| - delayDescription(descriptionString);
|
| - delayIsSuccessfullyParsed();
|
| - finishJSTest();
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| -}
|
|
|