RESOLVED FIXED Bug 153166
CSP: Update violation report 'Content-Type' header
https://bugs.webkit.org/show_bug.cgi?id=153166
Summary CSP: Update violation report 'Content-Type' header
Daniel Bates
Reported 2016-01-15 17:40:24 PST
We should merge <https://src.chromium.org/viewvc/blink?view=rev&revision=154215>. CSP: Update violation report 'Content-Type' header. The spec recently changed the type of violation reports from 'application/json' to 'application/csp-report'[1]. This patch implements that change by adding a type flag to the relevant PingLoader method. [1]: https://dvcs.w3.org/hg/content-security-policy/rev/9c1ebbb88a76
Attachments
Patch (18.06 KB, patch)
2016-02-16 12:15 PST, Daniel Bates
no flags
Patch (18.06 KB, patch)
2016-02-16 13:22 PST, Daniel Bates
bfulgham: review+
buildbot: commit-queue-
Archive of layout-test-results from ews112 for mac-yosemite (933.86 KB, application/zip)
2016-02-16 15:13 PST, Build Bot
no flags
Radar WebKit Bug Importer
Comment 1 2016-01-27 20:55:20 PST
Daniel Bates
Comment 2 2016-02-16 12:15:52 PST
Brent Fulgham
Comment 3 2016-02-16 12:18:25 PST
I don't think we should review this large(ish) patch if it won't apply to trunk. Can you please figure out why this is failing and upload a new patch?
Brent Fulgham
Comment 4 2016-02-16 12:18:46 PST
Comment on attachment 271464 [details] Patch Rejecting because the patch will not apply on EWS, and we can't confirm it builds properly.
Daniel Bates
Comment 5 2016-02-16 13:22:14 PST
Brent Fulgham
Comment 6 2016-02-16 14:16:48 PST
Comment on attachment 271476 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=271476&action=review r=me > Source/WebCore/loader/PingLoader.cpp:135 > + request.setHTTPMethod(ASCIILiteral("POST")); I've always wondered how much benefit we get from using ASCIILiteral. It seems like our String classes should be smart enough to do this automatically (but of course, that's not your issue to worry about!)
Build Bot
Comment 7 2016-02-16 15:13:52 PST
Comment on attachment 271476 [details] Patch Attachment 271476 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/841967 New failing tests: js/regress/Float64Array-to-Int16Array-set.html js/regress/Float32Array-to-Float64Array-set.html
Build Bot
Comment 8 2016-02-16 15:13:56 PST
Created attachment 271492 [details] Archive of layout-test-results from ews112 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews112 Port: mac-yosemite Platform: Mac OS X 10.10.5
Daniel Bates
Comment 9 2016-02-16 15:22:20 PST
Note You need to log in before you can comment on or make changes to this bug.