Bug 1685351 [wpt PR 27066] - Each pointer should have different pointer id, a=testonly

Automatic update from web-platform-tests
Each pointer should have different pointer id

For testdriver Action API, when we create a pointer, we need to give it
a pointer id, we need to give different id for different pointer.
We need to save the pointer information based on the pointer id, so we
need to give them different pointer id.

Bug: 1163370
Change-Id: I6533793151a260ff410d11272c547d2d27b4afa6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611948
Reviewed-by: Liviu Tinta <liviutinta@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#840713}

--

wpt-commits: 825155f31728265d283dd56046438115aaf6efac
wpt-pr: 27066
This commit is contained in:
Lan Wei 2021-01-07 09:55:48 +00:00 коммит произвёл moz-wptsync-bot
Родитель d863470c7f
Коммит f47e7e4112
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -31,7 +31,7 @@ function testFunction(test){
function run_test(pointerType){
promise_test((test) => new Promise((resolve, reject) => {
const testPointer = "TestPointer";
const testPointer = pointerType + "TestPointer";
let auxclickFunc = testFunction(test);
test.add_cleanup(() => {
target.removeEventListener("auxclick", auxclickFunc);

Просмотреть файл

@ -31,7 +31,7 @@ function testFunction(test){
function run_test(pointerType){
promise_test((test) => new Promise((resolve, reject) => {
const testPointer = "TestPointer";
const testPointer = pointerType + "TestPointer";
let clickFunc = testFunction(test);
test.add_cleanup(() => {
target.removeEventListener("click", clickFunc);