| Index: third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_support.js
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_support.js b/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_support.js
|
| index 03332b6a7b1f504dfdb8c5f43806ffcd1ef35f61..b56670a4e68aaf2aa6649a585a0031854d2d73ed 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_support.js
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_support.js
|
| @@ -213,6 +213,10 @@ function MultiPointerTypeTest(testName, types) {
|
| this.createNextTest();
|
| }
|
|
|
| +MultiPointerTypeTest.prototype.step = function(op) {
|
| + this.currentTest.step(op);
|
| +}
|
| +
|
| MultiPointerTypeTest.prototype.skip = function() {
|
| var prevTest = this.currentTest;
|
| this.createNextTest();
|
| @@ -220,10 +224,12 @@ MultiPointerTypeTest.prototype.skip = function() {
|
| }
|
|
|
| MultiPointerTypeTest.prototype.done = function() {
|
| - var prevTest = this.currentTest;
|
| - this.createNextTest();
|
| - if (prevTest != null)
|
| - prevTest.done();
|
| + if (this.currentTest.status != 1) {
|
| + var prevTest = this.currentTest;
|
| + this.createNextTest();
|
| + if (prevTest != null)
|
| + prevTest.done();
|
| + }
|
| }
|
|
|
| MultiPointerTypeTest.prototype.step = function(stepFunction) {
|
| @@ -243,7 +249,6 @@ MultiPointerTypeTest.prototype.createNextTest = function() {
|
| resetTestState();
|
| }
|
|
|
| -
|
| function setup_pointerevent_test(testName, supportedPointerTypes) {
|
| return globalPointerEventTest = new MultiPointerTypeTest(testName, supportedPointerTypes);
|
| }
|
|
|