Bug: Intermittent toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2022-07-14 23:28:44+00:00
Resolved: 2022-09-01 12:46:51+00:00

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

---
```
[task 2022-07-14T22:45:59.998Z] 22:45:59     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js | No visible pdf menuitem - true == true - 
[task 2022-07-14T22:45:59.998Z] 22:45:59     INFO - Buffered messages finished
[task 2022-07-14T22:45:59.999Z] 22:45:59     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js | 0 == 1 - JS frame :: chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js :: test/< :: line 298
[task 2022-07-14T22:45:59.999Z] 22:45:59     INFO - Stack trace:
[task 2022-07-14T22:45:59.999Z] 22:45:59     INFO - chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js:test/<:298
[task 2022-07-14T22:46:00.000Z] 22:45:59     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-07-14T22:46:00.001Z] 22:46:00     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js | [] deepEqual ["context-pdfjs-undo","context-pdfjs-selectall"] - JS frame :: chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js :: assertMenuitems :: line 238
[task 2022-07-14T22:46:00.001Z] 22:46:00     INFO - Stack trace:
[task 2022-07-14T22:46:00.001Z] 22:46:00     INFO - chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js:assertMenuitems:238
[task 2022-07-14T22:46:00.001Z] 22:46:00     INFO - chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js:test/<:301
[task 2022-07-14T22:46:00.002Z] 22:46:00     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js | The FreeText editor must have been removed - 0 == 0 - 
[task 2022-07-14T22:46:00.002Z] 22:46:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-07-14T22:46:00.003Z] 22:46:00     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js | [] deepEqual ["context-pdfjs-redo"] - JS frame :: chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js :: assertMenuitems :: line 238
[task 2022-07-14T22:46:00.003Z] 22:46:00     INFO - Stack trace:
[task 2022-07-14T22:46:00.003Z] 22:46:00     INFO - chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js:assertMenuitems:238
[task 2022-07-14T22:46:00.003Z] 22:46:00     INFO - chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js:test/<:319
[task 2022-07-14T22:46:00.004Z] 22:46:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-07-14T22:46:00.005Z] 22:46:00     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js | The FreeText editor must have been added back - 0 == 1 - JS frame :: chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js :: test/< :: line 324
[task 2022-07-14T22:46:00.005Z] 22:46:00     INFO - Stack trace:
[task 2022-07-14T22:46:00.005Z] 22:46:00     INFO - chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js:test/<:324
[task 2022-07-14T22:46:00.005Z] 22:46:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-07-14T22:46:00.006Z] 22:46:00     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js | Uncaught exception in test - at chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js:183 - TypeError: can't access property "getBoundingClientRect", element is null
[task 2022-07-14T22:46:00.006Z] 22:46:00     INFO - Stack trace:
[task 2022-07-14T22:46:00.006Z] 22:46:00     INFO - @chrome://mochitests/content/browser/toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js:183:37
[task 2022-07-14T22:46:00.006Z] 22:46:00     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:142:12
[task 2022-07-14T22:46:00.006Z] 22:46:00     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1638:15
[task 2022-07-14T22:46:00.006Z] 22:46:00     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:296:21
[task 2022-07-14T22:46:00.007Z] 22:46:00     INFO - Leaving test bound test
[task 2022-07-14T22:46:00.007Z] 22:46:00     INFO - GECKO(7156) | MEMORY STAT | vsize 2112443MB | vsizeMaxContiguous 65437274MB | residentFast 307MB | heapAllocated 132MB
[task 2022-07-14T22:46:00.008Z] 22:46:00     INFO - TEST-OK | toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js | took 2195ms
[task 2022-07-14T22:46:00.008Z] 22:46:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-07-14T22:46:00.009Z] 22:46:00     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_editing_contextmenu.js | Found an unexpected tab at the end of test run: http://example.com/browser/toolkit/components/pdfjs/test/file_pdfjs_test.pdf - 
[task 2022-07-14T22:46:00.009Z] 22:46:00     INFO - GECKO(7156) | [Child 3160, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-07-14T22:46:00.021Z] 22:46:00     INFO - GECKO(7156) | [Child 3460: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 22a2786c000 == 2 [pid = 3460] [id = 1]
[task 2022-07-14T22:46:00.021Z] 22:46:00     INFO - GECKO(7156) | [Child 3460: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (22a2276b7d0) [pid = 3460] [serial = 3] [outer = 0]
[task 2022-07-14T22:46:00.022Z] 22:46:00     INFO - GECKO(7156) | [Child 3460: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (22a2786c800) [pid = 3460] [serial = 4] [outer = 22a2276b7d0]
[task 2022-07-14T22:46:00.027Z] 22:46:00     INFO - GECKO(7156) | [Child 3864, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-07-14T22:46:00.039Z] 22:46:00     INFO - checking window state
[task 2022-07-14T22:46:00.053Z] 22:46:00     INFO - GECKO(7156) | [Child 3160, Main Thread] WARNING: NS_ENSURE_TRUE(mDoneSetup) failed: file /builds/worker/checkouts/gecko/editor/composer/nsEditingSession.cpp:1168
[task 2022-07-14T22:46:00.069Z] 22:46:00     INFO - TEST-START | toolkit/components/pdfjs/test/browser_pdfjs_fill_login.js
```