Closed Bug 1875837 Opened 8 months ago Closed 6 months ago

Stop requiring test_driver.set_permission(clipboard-read/write) support in WPT

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, task)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

()

Details

Attachments

(1 file)

Currently we are implicitly accepting clipboard-read/write on test_driver.set_permission even though we don't really implement them: https://searchfox.org/mozilla-central/rev/c130c69b7b863d5e28ab9524b65c27c7a9507c48/remote/marionette/permissions.sys.mjs#58

But we should not do that, we should modify WPT to use the user activation which is something actually supported by Firefox (and Safari).

(Context: Bug 1875257 is implementing real support of set_permission and thus I was removing the test prefs, but for now I need to keep the clipboard testing pref)

See Also: → 1689883

Blink is the only engine supporting it, and thus it should not be the WPT requirement.

Some tests still need the testing pref, and for now this patch gives the pref for such failing tests without modifying them, for simplicity sake. Modification can happen separately.

Assignee: nobody → krosylight
Status: NEW → ASSIGNED
Summary: Replace test_driver.set_permission(clipboard-read/write) with test_driver.bless → Stop requiring test_driver.set_permission(clipboard-read/write) support in WPT
Attachment #9380471 - Attachment description: WIP: Bug 1875837 - Make clipboard-read/write permission optional in clipboard WPT r=#dom-core → Bug 1875837 - Make clipboard-read/write permission optional in clipboard WPT r=#dom-core
Attachment #9380471 - Attachment description: Bug 1875837 - Make clipboard-read/write permission optional in clipboard WPT r=#dom-core → WIP: Bug 1875837 - Make clipboard-read/write permission optional in clipboard WPT r=#dom-core
Attachment #9380471 - Attachment description: WIP: Bug 1875837 - Make clipboard-read/write permission optional in clipboard WPT r=#dom-core → Bug 1875837 - Make clipboard-read/write permission optional in clipboard WPT r=#dom-core
See Also: → 1888179
See Also: → 1888182
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/97a45263e629 Make clipboard-read/write permission optional in clipboard WPT r=webdriver-reviewers,dom-core,edgar,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/45382 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: