Closed Bug 544061 Opened 10 years ago Closed 10 years ago

Error in Content Security Policy parsing of data: URI

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set

Tracking

()

RESOLVED DUPLICATE of bug 548949

People

(Reporter: bsterne, Assigned: geekboy)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch fixSplinter Review
Sending the policy:
X-Content-Security-Policy: allow 'self'; img-src data:

Results in the error:
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'[JavaScript Error: "this._host.clone is not a function" {file: "file:///build/csp/ff-debug/dist/bin/modules/CSPUtils.jsm" line: 993}]' when calling method: [nsIContentSecurityPolicy::refinePolicy]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "<unknown>"  data: yes]
************************************************************
Duplicate of 548949 (more robust fix in the other bug).
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 548949
You need to log in before you can comment on or make changes to this bug.