DescriptionWebfont fetch should be CORS-enabled even for same-origin URL
Before this patch, webfont request was made with no-cors mode when the
URL of font face was same-origin. However, that same-origin request may
be redirected to another origin.
This patch makes webfont requests use cors mode for (initially)
same-origin requests too, in order to let ResourceFetcher handle
same/cross origin stuff. (This matches how <img crossorigin> works.)
BUG=512678
TEST=http/tests/webfont/webfont-cors.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199364
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 11 (2 generated)
|