Open Bug 1441220 Opened 8 years ago Updated 3 years ago

Cannot find source for "Content Security Policy" error

Categories

(DevTools :: Console, defect, P2)

60 Branch
defect

Tracking

(firefox60 affected)

Tracking Status
firefox60 --- affected

People

(Reporter: gregtatum, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce: * Run perf.html locally. * Open console. * There is a CSP error. * The console shows me the message > Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src”). Source: ;!function(){var t=0,e=function(t,e){ret.... * Attempt to click, right click, or copy out a full message. Actual behavior: The source is truncated, there is no way to expand or copy out the rest of the source. Expected behavior: Full access to the source. Continued steps to reproduce: * View the source location. * It is localhost:4242:1 * Click on it Expected: Take me to the violating source. Actual: It takes you to the top of index.html with no source shown. (I believe this is webpack loading in its hot reload code, although I think our CSP is blocking it. I can't verify this from console.)
Priority: -- → P2
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.