[Webkit-unassigned] [Bug 168649] Relax Request constructor around referrers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 19 17:06:31 PDT 2018


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
                 CC|                            |darin at apple.com
 Attachment #347456|review?                     |review+
              Flags|                            |

--- Comment #4 from Darin Adler <darin at apple.com> ---
Comment on attachment 347456
  --> https://bugs.webkit.org/attachment.cgi?id=347456

View in context: https://bugs.webkit.org/attachment.cgi?id=347456&action=review

> Source/WebCore/Modules/fetch/FetchRequest.cpp:62
> -        return Exception { TypeError, "Referrer is not same-origin."_s };
> +        return String { "client" };

This, and the code above, should be using String { "client"_s } so we get the ASCIILiteral optimization. Same for "no-referrer"_s.

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/20180820/cbb0fdcc/attachment-0001.html>

More information about the webkit-unassigned mailing list