Bug: Intermittent browser/base/content/test/pageinfo/browser_pageinfo_images.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-04-30 18:26:33+00:00
Resolved: 2025-02-10 12:09:56+00:00

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

---
```
TEST-PASS | browser/base/content/test/pageinfo/browser_pageinfo_images.js | all rows selected - 
[task 2024-04-30T17:01:07.044Z] 17:01:07     INFO - Buffered messages finished
[task 2024-04-30T17:01:07.051Z] 17:01:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/pageinfo/browser_pageinfo_images.js | A promise chain failed to handle a rejection: can't access property "invalidateRow", gImageView.tree is null - stack: addImage/</<@chrome://browser/content/pageinfo/pageInfo.js:599:15
[task 2024-04-30T17:01:07.051Z] 17:01:07     INFO - Rejection date: Tue Apr 30 2024 17:01:06 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":613,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":580,"lineNumber":1167,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":580,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":580,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":580,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":604,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1167:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1167:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-04-30T17:01:07.051Z] 17:01:07     INFO - Stack trace:
[task 2024-04-30T17:01:07.051Z] 17:01:07     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-04-30T17:01:07.051Z] 17:01:07     INFO - chrome://mochikit/content/browser-test.js:handleTask:1167
[task 2024-04-30T17:01:07.051Z] 17:01:07     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-04-30T17:01:07.051Z] 17:01:07     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-04-30T17:01:07.051Z] 17:01:07     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-04-30T17:01:07.051Z] 17:01:07     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-04-30T17:01:07.052Z] 17:01:07     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-30T17:01:07.059Z] 17:01:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/pageinfo/browser_pageinfo_images.js | A promise chain failed to handle a rejection: can't access property "invalidateRow", gImageView.tree is null - stack: addImage/</<@chrome://browser/content/pageinfo/pageInfo.js:599:15
[task 2024-04-30T17:01:07.060Z] 17:01:07     INFO - Rejection date: Tue Apr 30 2024 17:01:06 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":613,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":580,"lineNumber":1167,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":580,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":580,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":580,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":604,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1167:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1167:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-04-30T17:01:07.060Z] 17:01:07     INFO - Stack trace:
[task 2024-04-30T17:01:07.060Z] 17:01:07     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-04-30T17:01:07.060Z] 17:01:07     INFO - chrome://mochikit/content/browser-test.js:handleTask:1167
[task 2024-04-30T17:01:07.061Z] 17:01:07     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-04-30T17:01:07.061Z] 17:01:07     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-04-30T17:01:07.061Z] 17:01:07     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-04-30T17:01:07.061Z] 17:01:07     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-04-30T17:01:07.061Z] 17:01:07     INFO - Leaving test bound test_all_images_mentioned
[task 2024-04-30T17:01:07.061Z] 17:01:07     INFO - Entering test bound test_view_image_info
[task 2024-04-30T17:01:07.062Z] 17:01:07     INFO - Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", gImageView.tree is null" {file: "chrome://browser/content/pageinfo/pageInfo.js" line: 599}]
[task 2024-04-30T17:01:07.062Z] 17:01:07     INFO - addImage/</<@chrome://browser/content/pageinfo/pageInfo.js:599:15
[task 2024-04-30T17:01:07.062Z] 17:01:07     INFO - 
[task 2024-04-30T17:01:07.064Z] 17:01:07     INFO - Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", gImageView.tree is null" {file: "chrome://browser/content/pageinfo/pageInfo.js" line: 599}]
[task 2024-04-30T17:01:07.064Z] 17:01:07     INFO - addImage/</<@chrome://browser/content/pageinfo/pageInfo.js:599:15
[task 2024-04-30T17:01:07.064Z] 17:01:07     INFO - 
[task 2024-04-30T17:01:07.065Z] 17:01:07     INFO - GECKO(8412) | [Child 9480: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1e0da1e4c00 == 1 [pid = 9480] [id = 0]
[task 2024-04-30T17:01:07.067Z] 17:01:07     INFO - GECKO(8412) | [Child 9480: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (1e0df775020) [pid = 9480] [serial = 1] [outer = 0]
[task 2024-04-30T17:01:07.068Z] 17:01:07     INFO - GECKO(8412) | [Child 9480: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (1e0da1e7800) [pid = 9480] [serial = 2] [outer = 1e0df775020]
[task 2024-04-30T17:01:07.068Z] 17:01:07     INFO - GECKO(8412) | [Child 7124, Main Thread] WARNING: 'AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownConfirmed)', file /builds/worker/checkouts/gecko/gfx/ipc/CanvasShutdownManager.cpp:97
[task 2024-04-30T17:01:07.068Z] 17:01:07     INFO - GECKO(8412) | [Child 7124, Main Thread] WARNING: 'AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownConfirmed)', file /builds/worker/checkouts/gecko/gfx/ipc/CanvasShutdownManager.cpp:97
[task 2024-04-30T17:01:07.070Z] 17:01:07     INFO - GECKO(8412) | [Child 7124, Main Thread] WARNING: IPC message 'PNecko::Msg_RemoveRequestContext' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:524
[task 2024-04-30T17:01:07.071Z] 17:01:07     INFO - GECKO(8412) | [Parent 2280, Main Thread] WARNING: NS_ENSURE_TRUE(mBounceTrackingRecord) failed: file /builds/worker/checkouts/gecko/toolkit/components/antitracking/bouncetrackingprotection/BounceTrackingState.cpp:585
[task 2024-04-30T17:01:07.072Z] 17:01:07     INFO - GECKO(8412) | [Parent 2280, Main Thread] WARNING: BounceTrackingState::OnDocumentStartRequest failed.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:2581
[task 2024-04-30T17:01:07.079Z] 17:01:07     INFO - GECKO(8412) | [Child 9480: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (1e0da1ea800) [pid = 9480] [serial = 3] [outer = 1e0df775020]
INFO - GECKO(8412) | [Child 7124: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 19db1d09c00 == 0 [pid = 7124] [id = 0] [url = http://example.com/browser/browser/base/content/test/pageinfo/all_images.html]
[task 2024-04-30T17:01:07.153Z] 17:01:07     INFO - GECKO(8412) | [Child 7124, Main Thread] WARNING: IPC message 'PNecko::Msg_CancelHTMLDNSPrefetch' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:524
[task 2024-04-30T17:01:07.165Z] 17:01:07     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "http://example.com/browser/browser/base/content/test/pageinfo/all_images.html" line: 0}]
[task 2024-04-30T17:01:07.219Z] 17:01:07     INFO - GECKO(8412) | [Child 7124: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (19db1d0c800) [pid = 7124] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-04-30T17:01:07.222Z] 17:01:07     INFO - GECKO(8412) | [Child 7124: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (19db1d0f800) [pid = 7124] [serial = 3] [outer = 0] [url = http://example.com/browser/browser/base/content/test/pageinfo/all_images.html]
[task 2024-04-30T17:01:07.222Z] 17:01:07     INFO - GECKO(8412) | [Parent 2280, Main Thread] WARNING: NS_ENSURE_TRUE(mBounceTrackingRecord) failed: file /builds/worker/checkouts/gecko/toolkit/components/antitracking/bouncetrackingprotection/BounceTrackingState.cpp:657
[task 2024-04-30T17:01:07.224Z] 17:01:07     INFO - GECKO(8412) | [Child 7124: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (19daa196020) [pid = 7124] [serial = 1] [outer = 0] [url = http://example.com/browser/browser/base/content/test/pageinfo/all_images.html]
[task 2024-04-30T17:01:07.230Z] 17:01:07     INFO - GECKO(8412) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171449608078759\AppData\Local\Temp\tmpbm8jn7q5.mozrunner\runtests_leaks_tab_pid9924.log
[task 2024-04-30T17:01:07.304Z] 17:01:07     INFO - GECKO(8412) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171449608078759\AppData\Local\Temp\tmpbm8jn7q5.mozrunner\runtests_leaks_tab_pid6796.log
[task 2024-04-30T17:01:07.528Z] 17:01:07     INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: screenshotsDisabled
[task 2024-04-30T17:01:07.529Z] 17:01:07     INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: SCREENSHOT_BROWSER_COMPONENT
[task 2024-04-30T17:01:07.529Z] 17:01:07     INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: REVEAL_PASSWORD_ENABLED
[task 2024-04-30T17:01:07.530Z] 17:01:07     INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: TEXT_RECOGNITION_ENABLED
[task 2024-04-30T17:01:07.531Z] 17:01:07     INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: STRIP_ON_SHARE_ENABLED
[task 2024-04-30T17:01:07.531Z] 17:01:07     INFO - Global property added while loading chrome://browser/content/nsContextMenu.js: QueryStringStripper
[task 2024-04-30T17:01:07.594Z] 17:01:07     INFO - GECKO(8412) | [WARN  webrender::renderer::init] asking to enable_gpu_markers but no supporting extension was found
[task 2024-04-30T17:01:07.609Z] 17:01:07     INFO - Console message: [JavaScript Warning: "initNSMouseEvent() is deprecated. Use the MouseEvent() constructor instead." {file: "chrome://browser/content/nsContextMenu.js" line: 87}]
[task 2024-04-30T17:01:07.614Z] 17:01:07     INFO - GECKO(8412) | [Parent 2280: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1bf2ca61400 == 8 [pid = 2280] [id = 10]
[task 2024-04-30T17:01:07.615Z] 17:01:07     INFO - GECKO(8412) | [Parent 2280: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 23 (1bf32754a60) [pid = 2280] [serial = 23] [outer = 0]
[task 2024-04-30T17:01:07.616Z] 17:01:07     INFO - GECKO(8412) | [Parent 2280: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 24 (1bf2f3eac00) [pid = 2280] [serial = 24] [outer = 1bf32754a60]
[task 2024-04-30T17:01:07.623Z] 17:01:07     INFO - GECKO(8412) | [Parent 2280, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1494
[task 2024-04-30T17:01:07.696Z] 17:01:07     INFO - GECKO(8412) | [Parent 2280, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file /builds/worker/checkouts/gecko/layout/base/nsDocumentViewer.cpp:2588
[task 2024-04-30T17:01:07.993Z] 17:01:07     INFO - TEST-PASS | browser/base/content/test/pageinfo/browser_pageinfo_images.js | selected image is the correct - "http://example.com/browser/browser/base/content/test/pageinfo/dummy_image.gif" == "http://example.com/browser/browser/base/content/test/pageinfo/dummy_image.gif" - 
[task 2024-04-30T17:01:08.021Z] 17:01:08     INFO - GECKO(8412) | [GPU 5664, Compositor] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:395
```