Web Animations: Remove unneeded -expected.txt for testharness tests

BUG=351606

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168995 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add typedef support for union types

This allows:
typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
in Document.idl.

Content of change is just
"re-assign idl_type, instead of just mutating, since type(idl_type) may change"

Encapsulation provided by IdlType makes this *very* easy.

Also:
* adds a test case
* adds real use
* fixes formatting in TestTypedefs.idl

R=haraken
BUG=348161

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168996 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix return type of readDirectory() to int

The return type was wrongly changed to bool in https://src.chromium.org/viewvc/blink?view=rev&revision=168897
This results in all callbacksId converted to 1 and malfunctioning DirectoryReaderSync.

BUG=347900

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168997 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Verify spellcheck attribute asynchronously

Refactoring spelling tests that verify spellcheck attribute to use
asynchronous text checking.

Additionally, add the elements that are being tested to to the tree.
It gives a possibility for non-DumpRenderTree users to see misspellings.

Fix the description message according to the test behavior.

This change is based on WebKit changeset: http://trac.webkit.org/changeset/163432

BUG=295722

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168998 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused (empty) functions in Tests.js.

R=pfeldman@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@168999 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix possible use of garbage value in acquirePaintingResource

If ASSERT_NOT_REACHED is compiled out (like in release builds), then
hasFallback can be used uninitialized below.

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

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