Remove a part of type checking predicates of HTMLInputElement.

Use |type() == InputTypeNames:foo| instead.
These predicates are inconsistent and confusing.

BUG=
TEST=none; No behavior changes.

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

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

My last change to it made it not work if there were no failures
for a tree because failures[tree] would be undefined. Make it
less brittle, add tests for this code and while here add an
explanatory message that this page means there are no failures.

BUG=407496
NOTRY=true
R=jyasskin@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181599 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Include "this" pointer in HTMLMediaElement logging.

Needed in order to pair up constructor and destructor calls. Should be
generally useful for debugging.

BUG=393331,407976

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181600 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: Mark textStyles.svg as failing on Win7 (dbg)

TBR=arv@chromium.org
NOTRY=true
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181601 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Added UseCounter for XML external DTD.

BUG=367689

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181602 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Blink-in-JS: Allow a stackoverflow error thrown by private scripts

Currently standard JS errors thrown by private scripts are treated
as real errors of the private scripts and crash the renderer.
However, we need to special-case a stackoverflow error because
user's script can create code that causes a stackoverflow error
in private scripts.

BUG=412143
TEST=fast/dom/private_script_unittest.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181603 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL: Add more test cases to idl-dictionary-unittest.html

Add DictionaryHelper::getWithUndefinedOrNullCheck() to fix a bug that
newly added tests found. When IDL dictionary member is undefined or null,
the member should be treated as 'not present' and default values should
be used when specified. Since DictionaryHelper::get() converts
null/undefined into a valid value, we can't use DictionaryHelper::get()
in IDL dictionary implementation directly.

BUG=321462

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181604 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 181595 "Auto-rebaseline for r181591"

This reverts commit f98363c805c098bf6f5b69c90ea7e5ae120a32a3.

NOTRY=true
TBR=arv@chromium.org
BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181605 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Get rid of method setProperty(): never used in the whole code

The method setProperty(CSSPropertyID, CSSPropertyID identifier, bool important = false) is not used anywhere in the code, so removing it.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181606 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Go back to old underline position and thickness logic (patchset #2 id:20001 of https://codereview.chromium.org/550163003/)

Reason for revert:
Many tests failed on WinXP because of different underline position.

Original issue's description:
> Go back to old underline position and thickness logic
> 
> In r174431 from May this year we changed the underline position and
> thickness logic to respect the underline data specified in the font.
> While this improved rendering for certain fonts and scripts it did cause
> a regression for others. This change reverts to the old behavior while
> we figure out how to handle fonts with inaccurate or undesirable
> metrics.
> 
> BUG=408075
> R=scottmg@chromium.org, cpu@chromium.org
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181591

TBR=scottmg@chromium.org,cpu@chromium.org,eae@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=408075

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181607 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations: Zero time of the document timeline should correspond with navigationStart

See: http://dev.w3.org/fxtf/web-animations/#dfn-zero-time

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181608 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Create timing functions directly instead of using parser in KeyframeEffectModelTest

As the tests in KeyframeEffectModelTest are unit tests, it doesn't make
sense for them to use the parser to construct timing functions when
they can be constructed directly.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181609 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add FontFaceDescriptors IDL dictionary

To follow the spec[1]. This is the first place to use IDL dictionary
execept for testing, so this CL also includes build related changes.
Existing tests(e.g. fast/css/fontface-constructor-error.html) should
cover this change.

[1] http://dev.w3.org/csswg/css-font-loading/#fontface-interface

BUG=403150

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181610 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: fix build after r181604.

TBR=oilpan-reviews
BUG=321462
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181611 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Add FontFaceDescriptors IDL dictionary (patchset #4 id:60001 of https://codereview.chromium.org/481453003/)

Reason for revert:
Broke build

http://build.chromium.org/p/chromium.webkit/builders/GPU%20Mac%20Builder/builds/19956

Original issue's description:
> Add FontFaceDescriptors IDL dictionary
> 
> To follow the spec[1]. This is the first place to use IDL dictionary
> execept for testing, so this CL also includes build related changes.
> Existing tests(e.g. fast/css/fontface-constructor-error.html) should
> cover this change.
> 
> [1] http://dev.w3.org/csswg/css-font-loading/#fontface-interface
> 
> BUG=403150
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181610

TBR=haraken@chromium.org,ksakamoto@chromium.org,bashi@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=403150

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181612 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused TransformOperation::isIdentity

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181613 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove HTMLInputElement::isText and isTextType.

They are same and very confusing.
isText is used outside of HTMLInputElement.  It can be replaced with
|isTextField() && type() != InputTypeNames::number|.
isTextType is used only in HTMLInputElement. Its callsites should be
replaced with virtual function dispatches.

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181614 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Expose Heap::collectGarbage to the web layer

Heap::collectGarbage is needed in media_stream_impl_unittest.

BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181615 bbb929c8-8fbe-4397-9dbb-9b2b20218538
MIDI{Input, Output}Map[Symbol.iterator]() should return entries.

ES6 Map returns `entries' method when [@@iterator] property is required[1].
MIDIInputMap and MIDIOutputMap should do the same.

1: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-map.prototype-@@iterator

BUG=341423
R=toyoshim@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181616 bbb929c8-8fbe-4397-9dbb-9b2b20218538
AX: Calendar Picker: Add AX labels to MonthPopupButton and CalendarNavigationButtons.

This CL adds no new tests. Will add tests after a Chromium change for
string resource.

BUG=123896

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

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