Generate toSVGAnimateElement to support more plenty helper functions

We can use more various toFoo() functions when generating toFoo(). This cl add
isSVGAnimateElement() to use DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION.

BUG=309516

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163208 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: sync Python to r163191

Python side to:
Manage WebSQL callbacks with OwnPtr instead of refcounting
https://codereview.chromium.org/103473002/

BUG=323681
NOTRY=true
TBR=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163209 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Have preloader handle crossorigin resources better.

Make the preloading of resources understand CORS better:

 - correctly interpret a 'crossorigin' attribute without a value
   as "anonymous".
 - enable a CORS fetch if the attribute was present. For <script>
   and <img>, currently.

R=
BUG=324974

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163210 bbb929c8-8fbe-4397-9dbb-9b2b20218538
UseCounter for File.lastModifiedDate.

The latest ED for the File API prescribes a lastModified attribute that
returns a number and removes the lastModifiedDate that returned a date.
This will help us decide if we can deprecate and remove the old
attribute.

TEST=Chromium compiles.
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163211 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Font Load Events] Implement load() and ready() methods of FontFace

The load() method kicks off the font download. The ready() method
returns a Promise that resolved when the font face is successfully
loaded or fails to load.

Spec: http://dev.w3.org/csswg/css-font-load-events/#fontface-interface

BUG=53213
TEST=fast/css/fontface-methods.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163213 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Generate toSVGSVG|Stop|TextContentElement()

This cl generate toSVGFoo() for SVGSVGElement, SVGStopElement, and SVGTextContentElement().
We can use more plenty toSVGFoo() functions, and help to detect bad type casts.

BUG=309516

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163214 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Generate toSVGGradient|Graphics|PolyElement()

This cl generate toSVGFoo() for SVGGradientElement, SVGGraphicsElement, and SVGPolyElement().
We can use more plenty toSVGFoo() functions, and help to detect bad type casts.

BUG=309516

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163215 bbb929c8-8fbe-4397-9dbb-9b2b20218538