-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
Version
4.1.3
Browser and OS info
Firefox 59.0b8
Steps to reproduce
- Read README
- Attempt to use Vue dev tools on site with strict CSP headers
- Check console for errors:
Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source: ;(function(e){let t={};if(e.hasOwnProper....
Page:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source: ;(function(e){setTimeout(()=>{const n=do....
Page:1
Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source: ;(function(e){let n=null,t=0;const o={no....
Page:1
- Re-read README.md hoping that requirement to inject scripts in this way is documented somewhere
- Relax CSP headers to allow
unsafe-inline - Vue devtools start working
What is expected?
- Dev tools should operate without having to compromise on site security by allowing inline scripts
- If this isn't technically possible, this incompatibility should be documented clearly in the README
What is actually happening?
- Dev tools cannot detect running Vue instance
zbjornson, TixieSalander, michgeek, kaushalmodi, raimund-schluessler and 18 more
Metadata
Metadata
Assignees
Labels
No labels