[FIXED] CSP output to stdout on startup and page refresh


#1

Since I upgraded, I get the following error when I start ember s even with a fresh app created with ember new:

Content Security Policy violation: {"csp-report":{"document-uri":"http://localhost:4200/","referrer":"","violated-directive":"style-src 'self'","effective-directive":"style-src","original-policy":"default-src 'none'; script-src 'self' 'unsafe-eval' localhost:35729 0.0.0.0:35729; font-src 'self'; connect-src 'self' ws://localhost:35729 ws://0.0.0.0:35729 http://0.0.0.0:4200/csp-report; img-src 'self'; style-src 'self'; media-src 'self'; report-uri http://0.0.0.0:4200/csp-report;","blocked-uri":"","source-file":"chrome-extension://ngmmpodmhlhciagihcjpdggoihakcahf","line-number":16,"column-number":8048,"status-code":200}}
Content Security Policy violation: {"csp-report":{"document-uri":"http://localhost:4200/","referrer":"","violated-directive":"script-src 'self' 'unsafe-eval' localhost:35729 0.0.0.0:35729","effective-directive":"script-src","original-policy":"default-src 'none'; script-src 'self' 'unsafe-eval' localhost:35729 0.0.0.0:35729; font-src 'self'; connect-src 'self' ws://localhost:35729 ws://0.0.0.0:35729 http://0.0.0.0:4200/csp-report; img-src 'self'; style-src 'self'; media-src 'self'; report-uri http://0.0.0.0:4200/csp-report;","blocked-uri":"","source-file":"chrome-extension://ngmmpodmhlhciagihcjpdggoihakcahf","line-number":16,"column-number":8994,"status-code":200}}


#2

Perhaps disable Fiabee HTML5 Viewer?


#3

Sorry, but what does a chrome extension have to do with this? This is generated to stdout from the terminal from which I ran 'ember s'.


#4

Sorry to doubt your infinite wisdom, but … you are right! I disabled the chrome extension and it now works fine.

So how did you know?


#5

Because of the URL in your output. It says chrome-extension://ngmmpodmhlhciagihcjpdggoihakcahf

Search for: ngmmpodmhlhciagihcjpdggoihakcahf

It links to the Fiabee HTML5 viewer addon.


#6

:coffee: :cake: :+1: