Re: [whatwg] Origin of a data: URL for an img

2012-01-30 Thread Ian Hickson
On Wed, 16 Nov 2011, Ian Hickson wrote: On Wed, 16 Nov 2011, Gavin Kistner wrote: Can you provide an example in script of when the found specs would apply, and when the other specs would apply? Hmm, good point. Now that we're using CORS explicitly, all of the stuff about image

[whatwg] Origin of a data: URL for an img

2011-11-16 Thread Gavin Kistner
Section 6.3 Origin of the HTML Living Standard has this text (excerpted): For images: If an image was generated from a data: URL found in another Document or in a script The origin is the origin of the Document or script that loaded that image. If an image was obtained in some other

Re: [whatwg] Origin of a data: URL for an img

2011-11-16 Thread Ian Hickson
On Wed, 16 Nov 2011, Gavin Kistner wrote: Section 6.3 Origin of the HTML Living Standard has this text (excerpted): For images: If an image was generated from a data: URL found in another Document or in a script The origin is the origin of the Document or script that loaded that

Re: [whatwg] Origin of a data: URL for an img

2011-11-16 Thread Gavin Kistner
From: Ian Hickson [mailto:i...@hixie.ch] On Wed, 16 Nov 2011, Gavin Kistner wrote: Section 6.3 Origin of the HTML Living Standard has this text (excerpted): For images: If an image was generated from a data: URL found in another Document or in a script The origin is the origin

Re: [whatwg] Origin of a data: URL for an img

2011-11-16 Thread Ian Hickson
On Wed, 16 Nov 2011, Gavin Kistner wrote: Can you provide an example in script of when the found specs would apply, and when the other specs would apply? Hmm, good point. Now that we're using CORS explicitly, all of the stuff about image origins for non-CORS cases doesn't really apply any