DescriptionAdd additional hosts to hard-coded service URL presubmit check
This adds additional domains to the root PRESUBMIT check,
"_CheckHardcodedGoogleHostsInLowerLayers", based on hostnames
currently used in Chromium.
Previously, this check only validated that "google.com" was not
hard-coded, but did not catch other common hostnames:
- gstatic.com
- googleapis.com
- googlezip.net
- googledrive.com
- appspot.com
Note that this check is non-blocking, only prompting the user
with a warning before continuing the submit operation.
BUG=164568
TEST=PRESUBMIT_test.py
Committed: https://crrev.com/3896573612b050f3e065b1188098f68bdae0b696
Cr-Commit-Position: refs/heads/master@{#359869}
Patch Set 1 #
Messages
Total messages: 10 (2 generated)
|