Chromium Code Reviews
DescriptionCORS errors print error twice on preload.
Error messages on CORS checks in the ResourceFetcher did not
discriminate between preload scans and normal resource requests. Thus,
if there was a CORS failure and a preload for the resource was done, two
error messages would be printed to the console for the same failure.
This fix adds a check to canAccessResource in ResourceFetcher to make
sure that Blink is not in a preload scan when an error message is
printed.
BUG=464876
Patch Set 1 #Patch Set 2 : Add test #Patch Set 3 : Added delay to cors-script.php #
Messages
Total messages: 12 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||