From 5b087a4b31dea60cf41945a243e4bee69fb33189 Mon Sep 17 00:00:00 2001 From: Anupam Snigdha Date: Tue, 2 Apr 2024 09:25:49 -0700 Subject: [PATCH] [Clipboard] Fix WPT test failures. Add missing source file to the clipboard tests that has the definition of `tryGrantReadPermission` and `tryGrantWritePermission`. Also, remove the unused parameter in `tryGrantReadPermission`. Bug: 331836811 Change-Id: Ia3e204a733b176b03c2478dc8445fc1fe22e6cd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5407270 Reviewed-by: Sanket Joshi Reviewed-by: Christine Hollingsworth Commit-Queue: Anupam Snigdha Cr-Commit-Position: refs/heads/main@{#1281220} --- ...ard-read-disabled-by-feature-policy.tentative.https.sub.html | 1 + ...rd-write-disabled-by-feature-policy.tentative.https.sub.html | 1 + clipboard-apis/resources/user-activation.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/clipboard-apis/feature-policy/clipboard-read/clipboard-read-disabled-by-feature-policy.tentative.https.sub.html b/clipboard-apis/feature-policy/clipboard-read/clipboard-read-disabled-by-feature-policy.tentative.https.sub.html index a13493f7947dea..8ca1819df8b3b6 100644 --- a/clipboard-apis/feature-policy/clipboard-read/clipboard-read-disabled-by-feature-policy.tentative.https.sub.html +++ b/clipboard-apis/feature-policy/clipboard-read/clipboard-read-disabled-by-feature-policy.tentative.https.sub.html @@ -5,6 +5,7 @@ + +