Correctly reflect the 'crossOrigin' attribute.

The CORS settings attribute

 http://www.whatwg.org/specs/web-apps/current-work/#cors-settings-attribute

when reflected as an IDL attribute, should map a bare/empty
'crossorigin' attribute to "anonymous". And if set to an invalid
value, to "anonymous" also.

So, for the reflected "crossOrigin" IDL attribute on <script>, <img>
and <video> (HTMLMediaElement, really), these attribute states should
be observable via its getter.

R=
BUG=332346

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

git-svn-id: svn://svn.chromium.org/blink/trunk@164980 bbb929c8-8fbe-4397-9dbb-9b2b20218538
10 files changed
tree: e757eb55b149c787fa92fd1d9b8d6549b193792f
  1. third_party/