Make event.path return every nodes in the event path, instead of erasing nodes on descendant trees.

The spec side issue is: https://www.w3.org/Bugs/Public/show_bug.cgi?id=25423

BUG=378143

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175034 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a ScriptForbiddenScope to ContainerNode::appendChild

We should never execute script inside the inner part of the loop, lets
add a ScriptForbiddenScope in addition to the NoEventDispatchAssertion.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175035 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove canvas.drawCustomFocusRing()

The method was removed from the HTML Canvas2D Context Level 1 Specification:
  http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas_CR#removals

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175036 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Allow accessing data URL resource using CORS. This is required
to allow XMLHttpRequest to access data URL based on CORS so that
the resource is still handled as cross-origin.

See also Chromium side change
https://codereview.chromium.org/54233002/ which adds a CORS header
to responses to data URL loading request.

Also add layout tests to check that XMLHttpRequest can load data URLs

BUG=308768

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175037 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable DirectWrite for LayoutTests

Enable the experimental DirectWrite font rendering backend for layout
tests on windows in preparation for enabling it by default later this
week.

This will require a very large number of rebaselines and I intent to
land it after hours and deal with the aftermath.

BUG=25541
R=cpu@chromium.org, dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175038 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unreviewed linux rebaselines for r175038

Linux specific rebaselines for r175038 as the linix->win fallback is no
longer valid for many tests as the windows port now uses DirectWrite and
has subpixel text scaling enabled.

TBR=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175039 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Further unreviewed linux rebaselines for r175038

Linux specific rebaselines for r175038 as the linix->win fallback is no
longer valid for many tests as the windows port now uses DirectWrite and
has subpixel text scaling enabled.

TBR=dglazkov@chromium.org

git-svn-id: svn://svn.chromium.org/blink/trunk@175040 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unreviewed win7 rebaselines for r175038

Windows 7 (with DirectWrite) specific rebaselines for r175038 omitted
from original commit.

TBR=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175041 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Skip redundant DirectWrite virtual test suite

BUG=25541
TBR=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175043 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark remaining win7 failures as needing rebaseline followin r175038

Mark the remaning windows 7 test failures from the switch to DW in
r175038 as needing rebaselines.

TBR=ojan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175044 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: remove fail test expectation for two DevTools tests. They are fine after v8 roll.

-crbug.com/376534 http/tests/inspector/network/network-xhr-redirect-body.html [ Pass Failure ]
-crbug.com/376534 http/tests/inspector/network/network-xhr-redirect-method.html [ Pass Failure ]

BUG=376534
TBR=esprehn
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175045 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Check null position start of paragraph to move parameter in CompositeEditCommand::moveParagraph

This patch changes CompositeEditCommand::moveParagraph to check whether
|startOfParagraphToMove| is null position or not. If |startOfParagraphToMove|
is null position, |moveParagraph| does nothing as |startOfParagraphToMove|
equals to |destination|.

BUG=377709
TEST=LayoutTests/editing/execCommand/unlistify-body-crash.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175046 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid to insert TAB before HTML element

This patch changes InsertTextCommand::insertTab before HTML element because
we can't set Text node as document element.

BUG=348209
TEST=LayoutTests/editing/execCommand/insert-tab-to-html-element-crash.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175047 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix toV8 with empty context in InspectorOverlay::overlayPage()

BUG=369451

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175048 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unreviewed Win XP rebaselines for r175038, part 1

Windows XP specific rebaselines for r175038 as the XP > Win7 fallback is
no longer valid for text tests.

TBR=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175049 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unreviewed Win XP rebaselines for r175038, part 2

Windows XP specific rebaselines for r175038 as the XP > Win7 fallback is
no longer valid for text tests.

TBR=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175050 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: add device selector and touch checkbox into the responsive toolbar.

NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175051 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Unreviewed Win XP rebaselines for r175038, part 3

Windows XP specific rebaselines for r175038 as the XP > Win7 fallback is
no longer valid for text tests.

TBR=dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175052 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: display reload warning in the responsive design toolbar.

R=dgozman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@175053 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Unflake inspector/profiler/cpu-profiler-profile-removal.html

The test callback was called from within the ProfilesPanel.showProfile()
and put the panel in a non-expected state.

BUG=378389
R=yurys@chromium.org

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

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