mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Update web-platform-tests to revision af43e2eb32555059316b67fba4a1d7df6ea3148d
This commit is contained in:
parent
97c6246385
commit
2f89d25484
296 changed files with 21168 additions and 821 deletions
|
@ -67,7 +67,8 @@
|
|||
button.innerHTML = "This test requires user interaction.<br />" +
|
||||
"Please click here to allow " + intent + ".";
|
||||
button.id = "wpt-test-driver-bless-" + (idCounter += 1);
|
||||
document.body.appendChild(button);
|
||||
const elem = document.body || document.documentElement;
|
||||
elem.appendChild(button);
|
||||
|
||||
return new Promise(function(resolve, reject) {
|
||||
button.addEventListener("click", resolve);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue