Oilpan: Replace all of RefPtrs of CharacterData, Comment, DocumentType, and ProcessingInstruction with Oilpan transition types.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update testharness.js to latest

Update all copies of testharness.js, testharness.css and idlharness.js,
update expectations where needed, and address a couple of FIXMEs.

Default timeouts are extended per r170136.

R=dpranke@chromium.org
BUG=303251

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Prepare SVGFontFaceElement for oilpan

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173953 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement "replacement" text encoding.

The WHATWG Encoding Standard redefines certain legacy encodings
as that are only used as XSS attack vectors as aliases for an
abstract "replacement" encoding.

* Decode (of resources) terminates with a single U+FFFD.
* Encode (e.g. for form submissions) is treated as UTF-8.

This is dependent on http://crrev.com/269593009

BUG=277037
R=jshin@chromium.org,eseidel@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173954 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Replace return values and arguments of cloneNode, adoptNode, and their related functions with Oilpan transition types.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173955 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify http/tests/resources/origin.php

Vaguely hoping that this will fix bug 341435

R=abarth@chromium.org,yoav@yoav.ws
BUG=341435

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173956 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix a srcset test.

The test was not written correctly. See the comments I added for
the explanation. With this change (and after https://codereview.chromium.org/200923002)
it now passes.

R=abarth@chromium.org,yoav@yoav.ws
BUG=341172

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173957 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rework inspector-protocol/input/dispatchMouseEvent test.

- Added utility function InspectorTest.executeInPage.
- Postpone event listening to skip noise events.
- Rebaseline for Windows, as we handle contextmenu on mouseup there (see WebViewImpl::handleMouseUp).
- Rebaseline for Linux, or it will pick up Windows expectation.

BUG=243596

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173958 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Memoize the result of Entry.toURL()

This patch makes Entry.toURL() remember the result in the first call and return the cached result in subsequent calls, and makes the properties const in order to make it sure that toURL() returns the same result.

As I ran in my environment, toURL() took ~10us. With this patch, it takes <1us now. See crbug.com/370908 for detail. 

BUG=370908
TEST=trybot passes
TBR=kinuko@chromium.org tzik@chromium.org
# TBRing since LGTM has gotten in crrev.com/280463004.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173959 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [CodeMirror] roll codemirror to @687fb51

This patch rolls CodeMirror to @687fb51. The reason for that is
different handling of global events such as window.onResize.

BUG=371218
TBR=pfeldman, vsevik

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173960 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ServiceWorker: Ensure getServiced() resolved with JS array

Just an additional test assertion.

BUG=372749
R=kinuko@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173962 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Foreground layer position must depend on child transform layer position.

The foreground layer is currently ignorant of the child transform layer
which causes difficulties when the child transform layer is positioned.
In that case the foreground contents are offset by the child transform
layer's position. This CL adds logic to the m_foregroundLayer geometry
computation to ensure that its position is no longer incorrectly
affected by the child transform layer's position.

BUG=372183

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

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