[Webkit-unassigned] [Bug 173314] New: CSP reports are not sent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 13 07:56:14 PDT 2017


            Bug ID: 173314
           Summary: CSP reports are not sent
           Product: WebKit
           Version: Safari 10
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: scotthelme at hotmail.com

Created attachment 312771

  --> https://bugs.webkit.org/attachment.cgi?id=312771&action=review

CSP reports hanging in developer tools.

The latest version of Safari does not send CSP reports when it should. 

I have setup a CSP test page that intentionally violates my policy to cause reports to be sent.

Steps To Reproduce

1) Open safari and navigate to https://scotthelme.co.uk
2) Open the dev tools and look at the network tab.
3) Navigate to https://scotthelme.co.uk/csp-test/
4) Look at requests made to https://report-uri.io which is the CSP reporting endpoint, they hang forever.

What Happens

The CSP reports appear in the network tab but they never complete. The requests hang forever and never time out.

What Should Happen

The CSP reports should be sent.

I have attached a screenshot of the problem. It might be worth pointing out the Origin is set to null on the reports too, this is also shown in the screenshot.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170613/f16fcdd7/attachment-0001.html>

More information about the webkit-unassigned mailing list