[Webkit-unassigned] [Bug 156322] New: Treat CSP level 2 connect-src violations as network errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 6 17:14:32 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=156322

            Bug ID: 156322
           Summary: Treat CSP level 2 connect-src violations as network
                    errors
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wilander at apple.com
                CC: beidson at apple.com

As Alex Christensen points out in https://bugs.webkit.org/show_bug.cgi?id=153598#c27, we should fire an error event and not throw an exception for asynchronous requests that violate CSP. For synchronous events we should throw a NetworkError.

The details can be found here:
https://www.w3.org/TR/XMLHttpRequest/#network-error

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160407/0c82cbfe/attachment.html>


More information about the webkit-unassigned mailing list