browser_CTP_contextmenu.js fails intermittently on Linux

REOPENED
Unassigned

Status

()

Core
Plug-ins
P3
normal
REOPENED
5 years ago
2 years ago

People

(Reporter: gfritzsche, Unassigned)

Tracking

Trunk
All
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

browser_CTP_contextmenu.js fails intermittently - often - on Linux only, with two different failure scenarios i have spotted.


(1) https://tbpl.mozilla.org/php/getParsedLog.php?id=26794601&tree=Mozilla-Inbound

TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_CTP_context_menu.js | uncaught exception - TypeError: gContextMenu is null at chrome://browser/content/browser.xul:1
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_CTP_context_menu.js | Test 2, The click-to-play notification should not be dismissed
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_CTP_context_menu.js | uncaught exception - TypeError: PopupNotifications.panel.firstChild is null at chrome://mochitests/content/browser/browser/base/content/test/browser_CTP_context_menu.js:94
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_CTP_context_menu.js | Test timed out
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_CTP_context_menu.js | Found a tab after previous test timed out: http://127.0.0.1:8888/browser/browser/base/content/test/plugin_test.html

(2) https://tbpl.mozilla.org/php/getParsedLog.php?id=26792799&tree=Mozilla-Inbound

TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_CTP_context_menu.js | uncaught exception - TypeError: PopupNotifications.panel.firstChild is null at chrome://mochitests/content/browser/browser/base/content/test/browser_CTP_context_menu.js:94
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_CTP_context_menu.js | Test timed out
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_CTP_context_menu.js | Found a tab after previous test timed out: http://127.0.0.1:8888/browser/browser/base/content/test/plugin_test.html
Depends on: 926605
Created attachment 822533 [details] [diff] [review]
Patch

Needs the patches from bug 926605 to be applied. Pushed to try server,
https://tbpl.mozilla.org/?tree=Try&rev=bc23e67673b7
Assignee: georg.fritzsche → jaws
Status: NEW → ASSIGNED
Attachment #822533 - Flags: review?(georg.fritzsche)
I can't see the try results anymore - did bug 926605 change things here so that this orange is gone?

Comment 3

5 years ago
No it did not.

I believe the problem on Linux is related to async delivery of popup/focus events: when gecko things a popup (either the context menu or the notification panel) has opened, there are still pending focus events from X: this means that the various panels are cancelling eachother at random times during the test leading to the various failures with either the context menu or the notification not being open at the time the test expects.
Attachment #822533 - Flags: review?(georg.fritzsche)
Assignee: jaws → nobody
Status: ASSIGNED → NEW

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE

Comment 4

2 years ago
Whoops. This is still a problem, we're just papering it over by marking the Linux version as random.
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
You need to log in before you can comment on or make changes to this bug.