From def92d1b8e9d373e2f6f27c366d578d97d8960c6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:34:50 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- .../tests/clipboard-apis/permissions/writeText-denied.https.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/web-platform/tests/clipboard-apis/permissions/writeText-denied.https.html') diff --git a/testing/web-platform/tests/clipboard-apis/permissions/writeText-denied.https.html b/testing/web-platform/tests/clipboard-apis/permissions/writeText-denied.https.html index 5fbcab4117..3d6b4397a0 100644 --- a/testing/web-platform/tests/clipboard-apis/permissions/writeText-denied.https.html +++ b/testing/web-platform/tests/clipboard-apis/permissions/writeText-denied.https.html @@ -12,7 +12,7 @@ 'use strict'; promise_test(async t => { - await test_driver.set_permission({name: 'clipboard-write'}, 'denied'); + await trySetPermission('clipboard-write', 'denied'); await waitForUserActivation(); await promise_rejects_dom(t, 'NotAllowedError', navigator.clipboard.writeText('xyz')); -- cgit v1.2.3