Bug: TB - JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2020-04-30 19:23:49+00:00
Resolved: 2022-07-07 02:22:13+00:00

While executing mochitest of FULL DEBUG version of TB, I get the following error.

INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]

I got them 16 times, and they are in the following tests.:
```
egrep  "(TEST_START|TEST_END|Leaving test|Entering test|Content Security Policy)" log1203-mochitest-fixedstack.txt
... 
44:55.95 TEST_START: comm/mail/components/extensions/test/browser/browser_ext_mailTabs.js
44:55.96 INFO Entering test bound setup
44:56.52 INFO Leaving test bound setup
44:56.52 INFO Entering test bound test_update
45:02.90 INFO Leaving test bound test_update
45:02.90 INFO Entering test bound test_displayedFolderChanged
45:06.37 INFO Leaving test bound test_displayedFolderChanged
45:06.37 INFO Entering test bound test_selectedMessagesChanged
45:09.68 INFO Leaving test bound test_selectedMessagesChanged
45:09.68 INFO Entering test bound test_background_tab
45:11.44 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:11.44 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:11.44 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:11.44 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:11.44 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:11.44 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:11.44 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:11.44 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:13.80 INFO Leaving test bound test_background_tab
45:13.80 INFO Entering test bound test_glodaList_tab
45:14.61 INFO Leaving test bound test_glodaList_tab
45:15.75 TEST_END: Test OK. Subtests passed 308/308. Unexpected 0
45:15.78 TEST_START: comm/mail/components/extensions/test/browser/browser_ext_menus.js
45:15.79 INFO Entering test bound set_up
45:15.83 INFO Leaving test bound set_up
45:15.83 INFO Entering test bound test_folder_pane
45:21.83 INFO Leaving test bound test_folder_pane
45:21.83 INFO Entering test bound test_thread_pane
45:23.03 INFO Leaving test bound test_thread_pane
45:23.04 INFO Entering test bound test_tab
45:24.99 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:24.99 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:24.99 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:24.99 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:24.99 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:24.99 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:24.99 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:24.99 INFO Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/editMenuOverlay.js" line: 90}]
45:25.61 INFO Leaving test bound test_tab
...
```
I wonder if the tests proceeded as intended, or the presumed funcationality is available in TB due to the error mentioned above.

I am attaching excerpted portion of the log for the test, comm/mail/components/extensions/test/browser/browser_ext_mailTabs.js.

It is with a FULL DEBUG version of TB with additional local patches. So it is more verbose than the one in tryserver.