Remove unnecessary 'const's

Noticed here https://codereview.chromium.org/538333002/ .
Something's wrong between gn/gyp because this doesn't happen
in gyp, but remove these consts anyway as they're unnecessary.

R=thakis@chromium.org
BUG=335824

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181584 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a manual test of the speed of parsing a giant alerts file.

R=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181585 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix global exceptions in karma.conf.js for chartnewjs

Three globals were missing and causing tests to fail.

TBR=ojan@chromium.org
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181586 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Attempted fix for refcount in sideloaded font path

Followup to buggy code added in http://src.chromium.org/viewvc/blink?view=rev&rev=181407 .

This code path is only used in layout tests.

TBR=eae@chromium.org
R=bungeman@chromium.org
BUG=394902

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181587 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Adjust autofilled property for <search> input and <select> elements

Set value of autofilled property to false in the following cases:
  - Cancel search via cancel button in <search> element.
  - Delete autofilled selected <select> option.

This patch also
  - Merged test case for editing text in autofilled textarea.

R=tkent@chromium.org
BUG=395627

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181589 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Test: Don't add scrollbar width to intrinsic width of fixed-width grid items

The scroll bar width should only be added if the width of the grid item is
not fixed.

This test coverage has been inspired from the webkit patch for flexboxes at
https://bugs.webkit.org/attachment.cgi?id=182187&action=diff 

BUG=395788

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181590 bbb929c8-8fbe-4397-9dbb-9b2b20218538
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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181591 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations: Remove paused and finished from AnimationPlayer

Replaced by AnimationPlayer.playState

BUG=396366

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181592 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor CTFailures._processFailuresForRangeGroup.

Avoid duplicate array traversals, and clarify what the code is trying to do.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181593 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move builderList creation to ct-failure-card

Another change needed for https://codereview.chromium.org/502293003/

I believe this also fixes a bug I introduced where builderList
was not updated when failures change :(

R=ojan@chromium.org
NOTRY=true

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

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

http://src.chromium.org/viewvc/blink?view=revision&revision=181591

BUG=408075
TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181595 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: blink_heap_unittests: asan check failed. HeapObjectHeader::finalize zap a wrong memory for object without VTable

1. In the HeapObjectHeader::finalize, we zap the primary vTable entry, but we have not checked if the object has vTable.

R=ager@chromium.org, oilpan-reviews@chromium.org
BUG=411204

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181596 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[Sheriff-o-matic] Use before content hax to hide category labels instead of ever-present spans

This isn't an ideal solution, but it hides the failure category labels when there are
no failure cards. Also adding a bit of styling in the meantime.

NOTRY=true
TBR=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@181597 bbb929c8-8fbe-4397-9dbb-9b2b20218538
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