Bug: Intermittent browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #0 (context-copy) name - Got "context-navigation", expected "context-copy"
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-11-11 17:41:57+00:00
Resolved: 2021-04-06 17:02:33+00:00

**Filed by:** apavel [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=321469179&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/eRPv1ei6TlClpVO46NMTmw/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2020-11-11T15:56:33.585Z] 15:56:33     INFO - TEST-START | browser/base/content/test/contextMenu/browser_contextmenu.js
[task 2020-11-11T15:56:33.585Z] 15:56:33     INFO - GECKO(1948) | Waiting for browser load
[task 2020-11-11T15:56:33.586Z] 15:56:33     INFO - GECKO(1948) | Waiting for browser state change
[task 2020-11-11T15:56:33.586Z] 15:56:33     INFO - GECKO(1948) | Saw state 110001 and status 0
[task 2020-11-11T15:56:33.652Z] 15:56:33     INFO - GECKO(1948) | Saw state c0010 and status 0
[task 2020-11-11T15:56:33.653Z] 15:56:33     INFO - GECKO(1948) | Browser got expected state change chrome://mochitests/content/browser/browser/base/content/test/contextMenu/subtst_contextmenu_xul.xhtml
[task 2020-11-11T15:56:34.597Z] 15:56:34     INFO - GECKO(1948) | _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
[task 2020-11-11T15:56:40.840Z] 15:56:40     INFO - TEST-INFO | started process screencapture
[task 2020-11-11T15:56:40.963Z] 15:56:40     INFO - TEST-INFO | screencapture: exit 0
[task 2020-11-11T15:56:40.964Z] 15:56:40     INFO - <snipped 2568 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2020-11-11T15:56:40.964Z] 15:56:40     INFO - Buffered messages logged at 15:56:40
[task 2020-11-11T15:56:40.964Z] 15:56:40     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #13 (context-viewinfo) enabled state - 
[task 2020-11-11T15:56:40.964Z] 15:56:40     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #14 (---) name - 
[task 2020-11-11T15:56:40.965Z] 15:56:40     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #15 (context-inspect-a11y) name - 
[task 2020-11-11T15:56:40.965Z] 15:56:40     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #15 (context-inspect-a11y) enabled state - 
[task 2020-11-11T15:56:40.965Z] 15:56:40     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #16 (context-inspect) name - 
[task 2020-11-11T15:56:40.965Z] 15:56:40     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #16 (context-inspect) enabled state - 
[task 2020-11-11T15:56:40.966Z] 15:56:40     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking expected number of menu entries - 
[task 2020-11-11T15:56:40.966Z] 15:56:40     INFO - Leaving test bound test_pagemenu2
[task 2020-11-11T15:56:40.966Z] 15:56:40     INFO - Entering test bound test_select_text
[task 2020-11-11T15:56:40.966Z] 15:56:40     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking if popup is closed - 
[task 2020-11-11T15:56:40.966Z] 15:56:40     INFO - Moved focus to #test-select-text
[task 2020-11-11T15:56:40.966Z] 15:56:40     INFO - Selecting text of #test-select-text
[task 2020-11-11T15:56:40.966Z] 15:56:40     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | Found element to select text from - {} == true - 
[task 2020-11-11T15:56:40.967Z] 15:56:40     INFO - Completed preCheckContextMenuFn
[task 2020-11-11T15:56:40.967Z] 15:56:40     INFO - Popup Shown

[task 2020-11-11T15:56:41.003Z] 15:56:41     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | menuitem context-inspect-a11y has a label - 
[task 2020-11-11T15:56:41.003Z] 15:56:41     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | child menuitem #92 has an ID - 
[task 2020-11-11T15:56:41.003Z] 15:56:41     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | menuitem context-inspect has a label - 
[task 2020-11-11T15:56:41.004Z] 15:56:41     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | menuitem context-inspect has an access key - 
[task 2020-11-11T15:56:41.004Z] 15:56:41     INFO - Buffered messages finished
[task 2020-11-11T15:56:41.004Z] 15:56:41     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #0 (context-copy) name - Got "context-navigation", expected "context-copy"
[task 2020-11-11T15:56:41.004Z] 15:56:41     INFO - Stack trace:
[task 2020-11-11T15:56:41.004Z] 15:56:41     INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-11-11T15:56:41.004Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkMenuItem:189
[task 2020-11-11T15:56:41.005Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkMenu:309
[task 2020-11-11T15:56:41.005Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkContextMenu:179
[task 2020-11-11T15:56:41.005Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:test_contextmenu:457
[task 2020-11-11T15:56:41.005Z] 15:56:41     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #0 (context-copy) enabled state - 
[task 2020-11-11T15:56:41.005Z] 15:56:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-11T15:56:41.005Z] 15:56:41     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #1 (context-selectall) name - Got "context-back,false,context-forward,false,context-reload,true,context-bookmarkpage,true", expected "context-selectall"
[task 2020-11-11T15:56:41.005Z] 15:56:41     INFO - Stack trace:
[task 2020-11-11T15:56:41.006Z] 15:56:41     INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-11-11T15:56:41.006Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkMenuItem:189
[task 2020-11-11T15:56:41.006Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkMenu:309
[task 2020-11-11T15:56:41.006Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkContextMenu:179
[task 2020-11-11T15:56:41.006Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:test_contextmenu:457
[task 2020-11-11T15:56:41.006Z] 15:56:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-11T15:56:41.006Z] 15:56:41     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #1 (context-selectall) enabled state - Got null, expected true
[task 2020-11-11T15:56:41.007Z] 15:56:41     INFO - Stack trace:
[task 2020-11-11T15:56:41.007Z] 15:56:41     INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-11-11T15:56:41.007Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkMenuItem:245
[task 2020-11-11T15:56:41.007Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkMenu:309
[task 2020-11-11T15:56:41.007Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkContextMenu:179
[task 2020-11-11T15:56:41.007Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:test_contextmenu:457
[task 2020-11-11T15:56:41.007Z] 15:56:41     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #2 (---) name - 
[task 2020-11-11T15:56:41.007Z] 15:56:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-11T15:56:41.008Z] 15:56:41     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #3 (context-print-selection) name - Got "context-savepage", expected "context-print-selection"
[task 2020-11-11T15:56:41.008Z] 15:56:41     INFO - Stack trace:
[task 2020-11-11T15:56:41.008Z] 15:56:41     INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-11-11T15:56:41.008Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkMenuItem:189
[task 2020-11-11T15:56:41.008Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkMenu:309
[task 2020-11-11T15:56:41.008Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkContextMenu:179
[task 2020-11-11T15:56:41.008Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:test_contextmenu:457
[task 2020-11-11T15:56:41.009Z] 15:56:41     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #3 (context-print-selection) enabled state - 
[task 2020-11-11T15:56:41.009Z] 15:56:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-11T15:56:41.009Z] 15:56:41     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #4 (context-viewpartialsource-selection) name - Got "context-pocket", expected "context-viewpartialsource-selection"
[task 2020-11-11T15:56:41.009Z] 15:56:41     INFO - Stack trace:
[task 2020-11-11T15:56:41.009Z] 15:56:41     INFO - chrome://mochikit/content/browser-test.js:test_is:1332
[task 2020-11-11T15:56:41.009Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkMenuItem:189
[task 2020-11-11T15:56:41.009Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkMenu:309
[task 2020-11-11T15:56:41.009Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:checkContextMenu:179
[task 2020-11-11T15:56:41.010Z] 15:56:41     INFO - chrome://mochitests/content/browser/browser/base/content/test/contextMenu/contextmenu_common.js:test_contextmenu:457
[task 2020-11-11T15:56:41.010Z] 15:56:41     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #4 (context-viewpartialsource-selection) enabled state - 
[task 2020-11-11T15:56:41.010Z] 15:56:41     INFO - TEST-PASS | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #5 (---) name - 
[task 2020-11-11T15:56:41.010Z] 15:56:41     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-11-11T15:56:41.014Z] 15:56:41     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/contextMenu/browser_contextmenu.js | checking item #6 (context-inspect-a11y) name - Got "context-sendpagetodevice", expected "context-inspect-a11y"```