Bug 1901769 Comment 35 Edit History

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

Backed out for causing mochitest failures on browser_navigator_clipboard_contextmenu_suppression.js
* [Backout link](https://hg.mozilla.org/integration/autoland/rev/a4e7cd344a5c114c8224017fad3c8bee89de31c0)
* [Push with failures](https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&searchStr=os%2Cx%2C10.15%2Cwebrender%2Copt%2Cmochitests%2Ctest-macosx1015-64-qr%2Fopt-mochitest-browser-chrome%2Cbc5&revision=6941e8e0d44dbf894188b3ac18b4b41c6e92596b&selectedTaskRun=T1hxCClbRritG_LYFw8cnw.0) 
* [Failure Log:](https://treeherder.mozilla.org/logviewer?job_id=469664948&repo=autoland&lineNumber=7825) 
```
[task 2024-08-08T02:22:00.053Z] 02:22:00     INFO - TEST-START | dom/events/test/clipboard/browser_navigator_clipboard_contextmenu_suppression.js
[task 2024-08-08T02:22:17.932Z] 02:22:17     INFO - GECKO(1897) | 2024-08-08 02:22:17.931 firefox[1897:46346] Persistent UI failed to open file file:///Users/cltbld/Library/Saved%20Application%20State/org.mozilla.nightly.savedState/window_1.data: No such file or directory (2)
[task 2024-08-08T02:23:35.181Z] 02:23:35     INFO - TEST-INFO | started process screencapture
[task 2024-08-08T02:23:35.298Z] 02:23:35     INFO - TEST-INFO | screencapture: exit 0
[task 2024-08-08T02:23:35.298Z] 02:23:35     INFO - Buffered messages logged at 02:22:00
[task 2024-08-08T02:23:35.298Z] 02:23:35     INFO - Entering setup bound 
[task 2024-08-08T02:23:35.299Z] 02:23:35     INFO - Leaving setup bound 
[task 2024-08-08T02:23:35.299Z] 02:23:35     INFO - Entering test bound test_context_menu_suppression_sameorigin
[task 2024-08-08T02:23:35.300Z] 02:23:35     INFO - Console message: [JavaScript Warning: "The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it." {file: "https://example.com/browser/dom/events/test/clipboard/file_iframe.html" line: 0}]
[task 2024-08-08T02:23:35.300Z] 02:23:35     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.org/browser/dom/events/test/clipboard/file_iframe.html” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2024-08-08T02:23:35.300Z] 02:23:35     INFO - Write data by clipboard.writeText()
[task 2024-08-08T02:23:35.301Z] 02:23:35     INFO - Test read from same-origin frame
[task 2024-08-08T02:23:35.301Z] 02:23:35     INFO - TEST-PASS | dom/events/test/clipboard/browser_navigator_clipboard_contextmenu_suppression.js | read should just be resolved without paste contextmenu shown - 
[task 2024-08-08T02:23:35.301Z] 02:23:35     INFO - Leaving test bound test_context_menu_suppression_sameorigin
[task 2024-08-08T02:23:35.302Z] 02:23:35     INFO - Entering test bound test_context_menu_suppression_crossorigin
[task 2024-08-08T02:23:35.302Z] 02:23:35     INFO - Console message: [JavaScript Warning: "The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it." {file: "https://example.com/browser/dom/events/test/clipboard/file_iframe.html" line: 0}]
[task 2024-08-08T02:23:35.303Z] 02:23:35     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.org/browser/dom/events/test/clipboard/file_iframe.html” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2024-08-08T02:23:35.303Z] 02:23:35     INFO - Write data by clipboard.writeText()
[task 2024-08-08T02:23:35.303Z] 02:23:35     INFO - Test read from cross-origin frame
[task 2024-08-08T02:23:35.304Z] 02:23:35     INFO - Wait for paste button enabled
[task 2024-08-08T02:23:35.304Z] 02:23:35     INFO - Click paste button, request should be resolved
[task 2024-08-08T02:23:35.305Z] 02:23:35     INFO - Buffered messages logged at 02:22:50
[task 2024-08-08T02:23:35.305Z] 02:23:35     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2024-08-08T02:23:35.305Z] 02:23:35     INFO - Buffered messages finished
[task 2024-08-08T02:23:35.306Z] 02:23:35     INFO - TEST-UNEXPECTED-FAIL | dom/events/test/clipboard/browser_navigator_clipboard_contextmenu_suppression.js | Test timed out - 
[task 2024-08-08T02:23:35.306Z] 02:23:35     INFO - GECKO(1897) | Completed ShutdownLeaks collections in process 1897
[task 2024-08-08T02:23:35.307Z] 02:23:35     INFO - TEST-START | Shutdown
```
Backed out for causing mochitest failures on browser_navigator_clipboard_contextmenu_suppression.js
* [Backout link](https://hg.mozilla.org/integration/autoland/rev/a4e7cd344a5c114c8224017fad3c8bee89de31c0)
* [Push with failures](https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=success%2Cpending%2Crunning%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&fromchange=adcd8bebd633ffaaea48c566f261fe743fb297b9&searchStr=os%2Cx%2C10.15%2Cwebrender%2Copt%2Cmochitests%2Ctest-macosx1015-64-qr%2Fopt-mochitest-browser-chrome%2Cbc5&tochange=70728a2fa4a234daf6c2ce7278965031bc2565a6&selectedTaskRun=WM-Gs077Rb-QGZLskZ6Kvw.0) 
* [Failure Log:](https://treeherder.mozilla.org/logviewer?job_id=469664948&repo=autoland&lineNumber=7825) 
```
[task 2024-08-08T02:22:00.053Z] 02:22:00     INFO - TEST-START | dom/events/test/clipboard/browser_navigator_clipboard_contextmenu_suppression.js
[task 2024-08-08T02:22:17.932Z] 02:22:17     INFO - GECKO(1897) | 2024-08-08 02:22:17.931 firefox[1897:46346] Persistent UI failed to open file file:///Users/cltbld/Library/Saved%20Application%20State/org.mozilla.nightly.savedState/window_1.data: No such file or directory (2)
[task 2024-08-08T02:23:35.181Z] 02:23:35     INFO - TEST-INFO | started process screencapture
[task 2024-08-08T02:23:35.298Z] 02:23:35     INFO - TEST-INFO | screencapture: exit 0
[task 2024-08-08T02:23:35.298Z] 02:23:35     INFO - Buffered messages logged at 02:22:00
[task 2024-08-08T02:23:35.298Z] 02:23:35     INFO - Entering setup bound 
[task 2024-08-08T02:23:35.299Z] 02:23:35     INFO - Leaving setup bound 
[task 2024-08-08T02:23:35.299Z] 02:23:35     INFO - Entering test bound test_context_menu_suppression_sameorigin
[task 2024-08-08T02:23:35.300Z] 02:23:35     INFO - Console message: [JavaScript Warning: "The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it." {file: "https://example.com/browser/dom/events/test/clipboard/file_iframe.html" line: 0}]
[task 2024-08-08T02:23:35.300Z] 02:23:35     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.org/browser/dom/events/test/clipboard/file_iframe.html” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2024-08-08T02:23:35.300Z] 02:23:35     INFO - Write data by clipboard.writeText()
[task 2024-08-08T02:23:35.301Z] 02:23:35     INFO - Test read from same-origin frame
[task 2024-08-08T02:23:35.301Z] 02:23:35     INFO - TEST-PASS | dom/events/test/clipboard/browser_navigator_clipboard_contextmenu_suppression.js | read should just be resolved without paste contextmenu shown - 
[task 2024-08-08T02:23:35.301Z] 02:23:35     INFO - Leaving test bound test_context_menu_suppression_sameorigin
[task 2024-08-08T02:23:35.302Z] 02:23:35     INFO - Entering test bound test_context_menu_suppression_crossorigin
[task 2024-08-08T02:23:35.302Z] 02:23:35     INFO - Console message: [JavaScript Warning: "The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it." {file: "https://example.com/browser/dom/events/test/clipboard/file_iframe.html" line: 0}]
[task 2024-08-08T02:23:35.303Z] 02:23:35     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “https://example.org/browser/dom/events/test/clipboard/file_iframe.html” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2024-08-08T02:23:35.303Z] 02:23:35     INFO - Write data by clipboard.writeText()
[task 2024-08-08T02:23:35.303Z] 02:23:35     INFO - Test read from cross-origin frame
[task 2024-08-08T02:23:35.304Z] 02:23:35     INFO - Wait for paste button enabled
[task 2024-08-08T02:23:35.304Z] 02:23:35     INFO - Click paste button, request should be resolved
[task 2024-08-08T02:23:35.305Z] 02:23:35     INFO - Buffered messages logged at 02:22:50
[task 2024-08-08T02:23:35.305Z] 02:23:35     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2024-08-08T02:23:35.305Z] 02:23:35     INFO - Buffered messages finished
[task 2024-08-08T02:23:35.306Z] 02:23:35     INFO - TEST-UNEXPECTED-FAIL | dom/events/test/clipboard/browser_navigator_clipboard_contextmenu_suppression.js | Test timed out - 
[task 2024-08-08T02:23:35.306Z] 02:23:35     INFO - GECKO(1897) | Completed ShutdownLeaks collections in process 1897
[task 2024-08-08T02:23:35.307Z] 02:23:35     INFO - TEST-START | Shutdown
```

Back to Bug 1901769 Comment 35