Document Origin::GetURL to discourage use |
||
Issue descriptionThe method converts an origin (scheme + host + port + suborigin) into a GURL with only those components. This loses type information and should be discouraged. If a method wants to operate on an origin it should explicitly take in a Origin.
,
Aug 22 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c5f8c91bbcab3ff7c2ab73ff3ef689d0979ad7b3 commit c5f8c91bbcab3ff7c2ab73ff3ef689d0979ad7b3 Author: Charles Harrison <csharrison@chromium.org> Date: Tue Aug 22 18:08:24 2017 Discourage use of Origin::GetURL with a comment Bug: 757857 Change-Id: Id1780fbb7d126e933f9be26f7c6817c57e1f5a44 Reviewed-on: https://chromium-review.googlesource.com/626536 Reviewed-by: Mike West <mkwst@chromium.org> Commit-Queue: Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#496368} [modify] https://crrev.com/c5f8c91bbcab3ff7c2ab73ff3ef689d0979ad7b3/url/origin.h
,
Aug 22 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by csharrison@chromium.org
, Aug 22 2017