Bug: Perma [tier2] browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | No contentBlockingEvent events should be received - Got 1, expected undefined
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-04-09 14:55:13+00:00
Resolved: 2020-07-17 14:07:26+00:00

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

---

[task 2020-04-09T13:50:29.187Z] 13:50:29     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | Main view was shown - 
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “https://test1.example.org/browser/browser/base/content/test/protectionsUI/cookieServer.sjs” was blocked because we are blocking all third-party storage access requests and content blocking is enabled."]
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “https://test1.example.org/browser/browser/base/content/test/protectionsUI/cookieServer.sjs” was blocked because we are blocking all third-party storage access requests and content blocking is enabled."]
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - Buffered messages logged at 13:50:29
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - Console message: [JavaScript Warning: "Request to access cookie or storage on “https://test1.example.org/browser/browser/base/content/test/protectionsUI/cookieServer.sjs” was blocked because we are blocking all third-party storage access requests and content blocking is enabled."]
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - Console message: [JavaScript Error: "The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature." {file: "https://test1.example.org/browser/browser/base/content/test/protectionsUI/cookieServer.sjs" line: 0}]
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - Received onContentBlockingEvent event: 2147786880 (1 of 1)
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - Buffered messages finished
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | No contentBlockingEvent events should be received - Got 1, expected undefined
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - Stack trace:
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js:assertSitesListed:160
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - chrome://mochitests/content/browser/browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js:testCookiesSubView:268
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-04-09T13:50:29.188Z] 13:50:29     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-04-09T13:50:29.189Z] 13:50:29     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2020-04-09T13:50:29.189Z] 13:50:29     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-04-09T13:50:29.355Z] 13:50:29     INFO - TEST-PASS | browser/base/content/test/protectionsUI/browser_protectionsUI_cookies_subview.js | Cookies view was shown -