Bug: Intermittent browser/components/newtab/test/browser/browser_asrouter_targeting.js | should restore pinned sites to its original state - Got [{"url":"https://amazon.com","label":"@amazon","searchTopSite":true,"baseDomain":"amazon.com"}], expected [{"url":"
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-01-31 16:55:09+00:00
Resolved: 2023-10-11 12:02:39+00:00

**Filed by:** rmaries [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=287094461&repo=try
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/D4c9ws2iSeGmzjYs_Xi9cQ/runs/0/artifacts/public/logs/live_backing.log

---

[task 2020-01-31T15:51:11.665Z] 15:51:11     INFO - TEST-START | browser/components/newtab/test/browser/browser_asrouter_targeting.js
[task 2020-01-31T15:51:12.303Z] 15:51:12     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_targeting.js | should select correct item by host and searchTopSite in pinnedSites - 
[task 2020-01-31T15:51:12.303Z] 15:51:12     INFO - Buffered messages finished
[task 2020-01-31T15:51:12.303Z] 15:51:12     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_targeting.js | should restore pinned sites to its original state - Got [{"url":"https://amazon.com","label":"@amazon","searchTopSite":true,"baseDomain":"amazon.com"}], expected [{"url":"https://amazon.com","label":"@amazon","searchTopSite":true}]
[task 2020-01-31T15:51:12.303Z] 15:51:12     INFO - Stack trace:
[task 2020-01-31T15:51:12.303Z] 15:51:12     INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-01-31T15:51:12.303Z] 15:51:12     INFO - chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_targeting.js:check_pinned_sites:713
[task 2020-01-31T15:51:12.303Z] 15:51:12     INFO - Leaving test bound check_pinned_sites
[task 2020-01-31T15:51:12.304Z] 15:51:12     INFO - Entering test bound check_firefox_version
[task 2020-01-31T15:51:12.304Z] 15:51:12     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_targeting.js | should select correct item when filtering by firefox version - 
[task 2020-01-31T15:51:12.304Z] 15:51:12     INFO - Leaving test bound check_firefox_version
[task 2020-01-31T15:51:12.304Z] 15:51:12     INFO - Entering test bound check_region
[task 2020-01-31T15:51:12.304Z] 15:51:12     INFO - GECKO(736) | [Child 7892: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (0000028E338D7800) [pid = 7892] [serial = 21] [outer = 0000000000000000] [url = http://example.com/]
[task 2020-01-31T15:51:12.304Z] 15:51:12     INFO - GECKO(736) | [Child 7892: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (0000028E31BBC800) [pid = 7892] [serial = 14] [outer = 0000000000000000] [url = about:blank]
[task 2020-01-31T15:51:12.304Z] 15:51:12     INFO - GECKO(736) | [Child 7892: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (0000028E36B73400) [pid = 7892] [serial = 25] [outer = 0000000000000000] [url = http://example.com/]
[task 2020-01-31T15:51:12.304Z] 15:51:12     INFO - GECKO(736) | [Child 7892: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0000028E358B1000) [pid = 7892] [serial = 23] [outer = 0000000000000000] [url = http://example.com/]
[task 2020-01-31T15:51:12.305Z] 15:51:12     INFO - GECKO(736) | [Child 7892: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0000028E36F81000) [pid = 7892] [serial = 26] [outer = 0000000000000000] [url = about:blank]
[task 2020-01-31T15:51:12.305Z] 15:51:12     INFO - GECKO(736) | [Child 7892: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0000028E38DD2800) [pid = 7892] [serial = 19] [outer = 0000000000000000] [url = http://example.com/]
[task 2020-01-31T15:51:12.305Z] 15:51:12     INFO - GECKO(736) | [Child 7892: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0000028E324A2000) [pid = 7892] [serial = 20] [outer = 0000000000000000] [url = http://example.com/]
[task 2020-01-31T15:51:12.305Z] 15:51:12     INFO - GECKO(736) | [Child 7892: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0000028E2B748000 == 1 [pid = 7892] [id = {7d81242f-5ae8-4cdd-8c99-04bb5f0b1fd3}] [url = http://example.com/]
[task 2020-01-31T15:51:12.305Z] 15:51:12     INFO - GECKO(736) | [Child 7892: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0000028E2B74A000 == 0 [pid = 7892] [id = {c06dd7b9-caaf-4f68-b749-227460639cc3}] [url = about:blank]
[task 2020-01-31T15:51:12.305Z] 15:51:12     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_targeting.js | should select correct item when filtering by firefox geo - 
[task 2020-01-31T15:51:12.305Z] 15:51:12     INFO - Leaving test bound check_region
[task 2020-01-31T15:51:12.305Z] 15:51:12     INFO - Entering test bound check_browserSettings