зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1888730 [wpt PR 45437] - [Clipboard] Fix WPT test failures., a=testonly
Automatic update from web-platform-tests [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 <sajos@microsoft.com> Reviewed-by: Christine Hollingsworth <christinesm@chromium.org> Commit-Queue: Anupam Snigdha <snianu@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1281220} -- wpt-commits: 5b087a4b31dea60cf41945a243e4bee69fb33189 wpt-pr: 45437
This commit is contained in:
Родитель
2eac3259cb
Коммит
7dce256f65
|
@ -5,6 +5,7 @@
|
|||
<script src="/resources/testdriver.js"></script>
|
||||
<script src="/resources/testdriver-vendor.js"></script>
|
||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||
<script src="../../resources/user-activation.js"></script>
|
||||
<script>
|
||||
'use strict';
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<script src="/resources/testdriver.js"></script>
|
||||
<script src="/resources/testdriver-vendor.js"></script>
|
||||
<script src="/feature-policy/resources/featurepolicy.js"></script>
|
||||
<script src="../../resources/user-activation.js"></script>
|
||||
<script>
|
||||
'use strict';
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ async function trySetPermission(perm, state) {
|
|||
}
|
||||
}
|
||||
|
||||
async function tryGrantReadPermission(state) {
|
||||
async function tryGrantReadPermission() {
|
||||
await trySetPermission("clipboard-read", "granted");
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче