Commit 310fda3e authored by Dmitry Gozman's avatar Dmitry Gozman Committed by Commit Bot

[DevTools] Unflake some inspector-protocol layout tests

BUG=402805,596968,734762

Change-Id: I05a0b54423a5e6acdd5052e734cfd01e3ed49822
Reviewed-on: https://chromium-review.googlesource.com/597013
Commit-Queue: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org>
Reviewed-by: default avatarAndrey Lushnikov <lushnikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491169}
parent 30bd2101
......@@ -742,11 +742,6 @@ crbug.com/498539 [ Win7 ] inspector/sources/debugger-pause/debugger-eval-on-call
crbug.com/498539 [ Win7 ] inspector/elements/styles-4/styles-update-from-js.html [ Crash Pass ]
crbug.com/596968 [ Win ] inspector-protocol/input/eventTimestamp.js [ Failure Pass ]
crbug.com/734762 [ Linux ] inspector-protocol/stylesheet-tracking-restart.js [ Failure Pass ]
crbug.com/734762 inspector-protocol/accessibility/accessibility-nameSources-input.js [ Failure Pass ]
crbug.com/487281 [ Mac ] fast/forms/select/menulist-narrow-width.html [ Failure ]
crbug.com/543110 [ Mac ] fast/text/international/text-shaping-arabic.html [ Failure ]
......@@ -2820,7 +2815,6 @@ crbug.com/696407 [ Linux ] external/wpt/html/browsers/history/the-location-inter
crbug.com/698520 external/wpt/preload/fetch-destination.https.html [ Failure Pass ]
# Sheriff failures 2017-03-10
crbug.com/402805 inspector-protocol/input/emulateTouchFromMouseEvent.js [ Timeout ]
crbug.com/741210 [ Mac ] inspector-protocol/emulation/device-emulation-restore.js [ Failure ]
crbug.com/700374 [ Win ] virtual/mojo-loading/http/tests/inspector/workers-on-navigation.html [ Failure Pass ]
crbug.com/700374 [ Win ] http/tests/inspector/workers-on-navigation.html [ Failure Pass ]
......
......@@ -7,14 +7,8 @@ type: keydown
type: mousedown
-----Event-----
type: mousedown
-----Event-----
type: touchstart
-----Event-----
type: touchstart
-----Verify-----
Received 6 timestamps
timeStamps offsets is as expected.
timeStamps offsets is as expected.
Received 4 timestamps
timeStamps offsets is as expected.
timeStamps offsets is as expected.
timeStamps offsets is as expected.
......
......@@ -48,7 +48,7 @@
// We send epoch timestamp but expect to receive high-res timestamps
var baseEpochTimestamp = Date.now() / 1000; // in seconds
var offsets = [0, 5, 10, 15, 20, 25];
var offsets = [0, 5, 10, 15];
var sentTimestamps = offsets.map(offset => baseEpochTimestamp + offset);
var offsetsMs = offsets.map(offset => 1000 * offset);
......@@ -85,24 +85,6 @@
x: 100,
y: 200
}));
dumpError(await dp.Input.dispatchTouchEvent({
type: 'touchStart',
timestamp: sentTimestamps[4],
touchPoints: [{
state: 'touchPressed',
x: 100,
y: 200
}]
}));
dumpError(await dp.Input.dispatchTouchEvent({
type: 'touchStart',
timestamp: sentTimestamps[5],
touchPoints: [{
state: 'touchPressed',
x: 100,
y: 100
}]
}));
testRunner.log(await session.evaluateAsync('verifyTimestampsPromise'));
testRunner.completeTest();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment