Open
Bug 1134084
Opened 10 years ago
Updated 2 years ago
Incorrect devtools message when CSP blocks inline scripts
Categories
(Core :: DOM: Security, defect, P3)
Core
DOM: Security
Tracking
()
NEW
People
(Reporter: francois, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [domsecurity-backlog3])
Attachments
(1 file)
(deleted),
text/html
|
Details |
To reproduce, serve the attached file with this header:
Content-Security-Policy: script-src 'self'
Expected devtools error (and actual in Fx 31 ESR):
> Content Security Policy: The page's settings blocked the loading of a
> resource: An attempt to execute inline scripts has been blocked
Actual devtools console error in Fx 35:
> Content Security Policy: The page's settings blocked the loading of a
> resource at self ("script-src http://localhost").
Comment 2•10 years ago
|
||
Kamil offered to take a look and investigate - thanks Kamil!
Comment 3•10 years ago
|
||
Found the regression range and double checked manually:
0:02.11 LOG: MainThread Bisector INFO Last good revision: 464bca437658
0:02.11 LOG: MainThread Bisector INFO First bad revision: be076357691c
0:02.11 LOG: MainThread Bisector INFO Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=464bca437658&tochange=be076357691c
Next step is to scrub through the pushlog and find all the related CSP changes, investigate and see which changed could have caused the regression.
Comment 4•10 years ago
|
||
Francois, we are triaging at the moment, is this bug potentially a dub of Bug 1026520? If so, please mark as duplicate and close. Thanks so much!
Flags: needinfo?(francois)
Reporter | ||
Comment 5•9 years ago
|
||
This bug is possibly related, but it looks like a different one.
Flags: needinfo?(francois)
Comment 6•9 years ago
|
||
Kamil, do you wanna fix that since it's assigned to you? Otherwise let me know please.
Flags: needinfo?(kjozwiak)
Priority: -- → P3
Updated•9 years ago
|
Status: NEW → ASSIGNED
Updated•9 years ago
|
Blocks: csp-console-logging
Updated•9 years ago
|
Whiteboard: [domsecurity-active]
Comment 7•9 years ago
|
||
Putting this in the backlog so it show up in our next triage.
Assignee: kjozwiak → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(kjozwiak)
Whiteboard: [domsecurity-active] → [domsecurity-backlog]
Updated•8 years ago
|
Whiteboard: [domsecurity-backlog] → [domsecurity-backlog3]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•