/[blink]
Chromium logo

Revision 199364


Jump to revision: Previous Next
Author: ksakamoto@chromium.org
Date: Thu Jul 23 09:20:26 2015 UTC (7 years, 10 months ago)
Changed paths: 5
Log Message:
Webfont 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

Review URL: https://codereview.chromium.org/1250793008

Changed paths

Path Details
Directorytrunk/LayoutTests/http/tests/serviceworker/fetch-request-resources.html modified , text changed
Directorytrunk/LayoutTests/http/tests/webfont/webfont-cors-expected.html modified , text changed
Directorytrunk/LayoutTests/http/tests/webfont/webfont-cors.html modified , text changed
Directorytrunk/Source/core/css/CSSFontFaceSrcValue.cpp modified , text changed
Directorytrunk/Source/core/css/CSSFontFaceSrcValue.h modified , text changed

Properties

Name Value
commit-bot commit-bot@chromium.org

Powered by ViewVC 1.1.26 ViewVC Help