[webkit-reviews] review granted: [Bug 97233] CSP reports should send an empty 'referrer' rather than nothing. : [Attachment 164942] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 20 11:13:50 PDT 2012


Adam Barth <abarth at webkit.org> has granted Mike West <mkwst at chromium.org>'s
request for review:
Bug 97233: CSP reports should send an empty 'referrer' rather than nothing.
https://bugs.webkit.org/show_bug.cgi?id=97233

Attachment 164942: Patch
https://bugs.webkit.org/attachment.cgi?id=164942&action=review

------- Additional Comments from Adam Barth <abarth at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=164942&action=review


> Source/WebCore/ChangeLog:11
> +	   Currently, if a protected resource doesn't have a referrer, then any

> +	   Content Security Policy violations send a report that doesn't
contain
> +	   a referrer attribute. It's arguably friendlier to developers to
include
> +	   an explicitly empty attribute.

Yeah, it's also what the spec says to do.  :)


More information about the webkit-reviews mailing list