W3C home > Mailing lists > Public > public-webfonts-wg@w3.org > February 2011

Re: SOR: CORS or From-Origin?

From: David Singer <singer@apple.com>
Date: Thu, 10 Feb 2011 16:07:27 -0800
Cc: Sylvain Galineau <sylvaing@microsoft.com>, Håkon Wium Lie <howcome@opera.com>, John Daggett <jdaggett@mozilla.com>, "public-webfonts-wg@w3.org" <public-webfonts-wg@w3.org>, Anne van Kesteren <annevk@opera.com>
Message-Id: <CCE6E2F1-A3FD-4F7E-80F7-3DF76C0F0754@apple.com>
To: "Levantovsky, Vladimir" <Vladimir.Levantovsky@MonotypeImaging.com>

On Feb 10, 2011, at 15:56 , Levantovsky, Vladimir wrote:

> I think this could be a very good alternative to CORS. "From Origin" header would work exactly as proposed if present. However, the default behavior can be specified by the WOFF spec that in absence of "From Origin" header must be treated as if "From Origin: same" is set. In my admittedly 'under-educated' opinion, this would resolve all the concerns that Håkon and Anne had presented (i.e. the same "From Origin" header can be used with any other media type "without causing havoc"), and the only difference is that the alternative default behavior is specified by WOFF spec.
> As Håkon said, if "From Origin" can be spec'ed quickly, this might be the way to eliminate the dependency on CORS.
> Comments?

I think there may be some opposition to a type-specific rule (e.g. "for files with the type WOFF"), and some discussion of the alternative link-specific rule ("for files linked from CSS font-face").  My understanding is that at least some of the current implementations of CORS/SOR are in fact, not type-specific but link-specific.

David Singer
Multimedia and Software Standards, Apple Inc.
Received on Friday, 11 February 2011 00:08:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:15 UTC