Bug 1869322 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Patch D195926 revealed, that when [either of these in-content buttons](https://searchfox.org/mozilla-central/rev/c003be8b9727672e7d30972983b375f4c200233f/dom/events/test/clipboard/simple_navigator_clipboard_read.html#61-62) are clicked and the content menu with a button `Paste` appears, the target that the click event is sent to is (one of these two) `<button>` but the AccessibilityUtils gets it as `<browser>` and thus fails the test

[Try run with WIP](https://treeherder.mozilla.org/jobs?repo=try&revision=3da3e36e24aec11c25695fbfe6c580b3d0e9c0b6) debug output
Patch D195926 revealed, that when [either of these in-content buttons](https://searchfox.org/mozilla-central/rev/c003be8b9727672e7d30972983b375f4c200233f/dom/events/test/clipboard/simple_navigator_clipboard_read.html#61-62) are clicked and the content menu with a button `Paste` appears, the target that [this click event](https://searchfox.org/mozilla-central/rev/c003be8b9727672e7d30972983b375f4c200233f/dom/events/test/clipboard/head.js#141) is sent to is (one of these two) `<button>` but the AccessibilityUtils gets it as `<browser>` and thus fails the test

[Try run with WIP](https://treeherder.mozilla.org/jobs?repo=try&revision=3da3e36e24aec11c25695fbfe6c580b3d0e9c0b6) debug output
Patch D195926 revealed, that when [either of these in-content buttons](https://searchfox.org/mozilla-central/rev/c003be8b9727672e7d30972983b375f4c200233f/dom/events/test/clipboard/simple_navigator_clipboard_read.html#61-62) are clicked and the content menu with a button `Paste` appears, the target that [this click event](https://searchfox.org/mozilla-central/rev/c003be8b9727672e7d30972983b375f4c200233f/dom/events/test/clipboard/head.js#141) is sent to by [`promiseClickContentToTriggerClipboardRead`](https://searchfox.org/mozilla-central/rev/c003be8b9727672e7d30972983b375f4c200233f/dom/events/test/clipboard/browser_navigator_clipboard_read.js#26) is (one of these two) `<button>` but the AccessibilityUtils gets it as `<browser>` and thus fails the test

[Try run with WIP](https://treeherder.mozilla.org/jobs?repo=try&revision=3da3e36e24aec11c25695fbfe6c580b3d0e9c0b6) debug output

Back to Bug 1869322 Comment 0