Closed Bug 909342 Opened 11 years ago Closed 3 years ago

browser_CTP_contextmenu.js fails intermittently on Linux

Categories

(Core Graveyard :: Plug-ins, defect, P3)

All
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gfritzsche, Unassigned)

References

Details

Attachments

(1 file)

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
Attached patch PatchSplinter Review
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?
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
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Whoops. This is still a problem, we're just papering it over by marking the Linux version as random.
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: REOPENED → RESOLVED
Closed: 8 years ago3 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: