Make DummyPageHolder to have all empty clients

This patch changes DummyPageHolder to use fillWithEmptyClients() instead of making specific empty clients for writing tests depending on client objects not created in current DumpPageHolder class, e.g. spell checker client for editing test.
 
BUG=n/a
TEST=n/a

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175563 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Skip traversing wholeSubtree subtrees with clean invalidation bits.

During style invalidation we need to continue to traverse a subtree that is
marked with SubtreeStyleChange to clear any remaining invalidation bits.
But, when the childNeedsInvalidation bit is not set, there should be no
bits left to clear in the subtree. Hence, we can skip traversing that
subtree.

R=esprehn@chromium.org,chrishtr@chromium.org
BUG=381062

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175564 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Set value of m_textAsOfLastFormControlChangeEvent before triggering change event

Value updated inside change event, get overwritten by setTextAsOfLastFormControlChangeEvent.

New value if similar to previous value was not triggering change event.

R=tkent, keishi
BUG=378871
TEST=OnChange event should be fired, when value is changed inside change
handler and same text is re-entered.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175565 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Suspend setTimeout callbacks while dedicated worker execution is paused

WorkerRunLoop::run shouldn't call SharedTimer::fire when processing debugger tasks.

BUG=377926

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175566 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Show DragImage when the dragged element or its parent has transform

The DragEvent was ignoring the trasnform for the drag point, causing
the dragimage to be drawn at an incorrect location on the canvas. The
patch corrects this.

BUG=322201

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175567 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Missing return after class invalidation short-cut.

scheduleStyleInvalidationForClassChange skipped comparison when oldClasses
was empty, but forgot to return afterwards, causing invalidation sets to be
scheduled twice.

This fix increases runs/s by 10%+ on the added performance test.

R=esprehn@chromium.org,chrishtr@chromium.org
BUG=380874

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175568 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Switch Blink to using new Skia SkCanvas::drawPicture method

As of Skia 9b14f26d (Alter SkCanvas::drawPicture (devirtualize, take const SkPicture, take pointer) - https://codereview.chromium.org/313613004) SkCanvas::drawPicture has an alternate signature. The old entry point is deprecated.

Note: this patch cannot be landed until the corresponding Skia change is rolled into Chromium & Blink.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175569 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix the insecure-css-resources.html layout test.

CSS content is considered as active content, and therefore "runs" instead
of "displays". Change this in the test expectations.

TBR=dcheng@chromium.org, bashi@chromium.org
NOTRY=true
BUG=377864

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175570 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Add Toolbox page to undocked DevTools frontend.

Toolbox page is the same frontend launched with "toolbox=true" parameter.
It has its own app, which creates a view hierarchy and reports to the main app.

Currently, toolbox is only created for responsive design.

BUG=327641

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175571 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [JSDoc] Fix invalid @param and @return annotations

TBR=vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175572 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG2] Allow leading and trailing whitespace in svg attributes using
<integer>, <angle>, <number>, <length> and <percentage>.

BUG=377503,339899

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175574 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move Source/web/scripts/make-file-arrays.py and add namespace option.

I'm about to use this useful script in Source/modules, so a common
denominator location seemed like a good idea. As well, I added a
namespace option as the upcoming use in modules/serviceworkers will be
in WebCore not blink.

R=jochen@chromium.org
BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175575 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Extract implementation based on timeline events into TimelineModelImpl

We will have two descendants of TimelineModel - one based on trace events and another one based on the timeline agent events. This change extracts the latter one.

I left WebInspector.TimelineModel.RecordType to keep the patch short. Will move it to WebInspector.TimelineModelImpl.RecordType later.

BUG=361045
R=caseq@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175577 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do not set touch region on PageOverlay layer.

With new touch hit testing in compositor, which looks through all
the layers hitting the point, we don't need touch regions on overlay
layer anymore.

Note, that we still need main-thread scrolling to stay in sync with
page contents.

BUG=304271

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175578 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [JsDocValidator] Check validity of @param and @return annotations

R=vsevik,sergeyv
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175579 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Turn on the new WebSocket implementation by default.

BUG=381035

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

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

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

BUG=374119
TBR=davve@opera.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175581 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark attach-during-destroy.html as being flaky on Mac.

This test was already marked as flaky on release retina bots, but is flake
on other Mac bots as well.

TBR=dcheng@chromium.org
BUG=380167

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175582 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add iterator object to iterate efficiently over an Element's attributes

Add iterator object to iterate efficiently over an Element's attributes instead
of using ElementData::length() / ElementData::attributeItem(index).

This is a bit more efficient as it avoids implicitly calling
ElementData::isUnique() for each loop iteration.

This is based on the following WebKit revision by benjamin@webkit.org:
http://trac.webkit.org/changeset/162394

R=esprehn@chromium.org, adamk@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175583 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make 'will-change: contents' suppress compositing in subtree

The contents of 'will-change: contents' elements are expected
to change frequently (e.g. every frame). Consequently, the
creation of composited layers within a 'will-change: contents'
subtree should be avoided where possible. This CL suppresses
compositing for animations and for will-change in descendants
of elements with 'will-change: contents'.

BUG=365885

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

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