DevTools: replace Toolbar with TabbedPane.

R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160826 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: Variadic wrapper type arguments

Bulky special case; this is used one place:
Document.idl:
[RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches);

BUG=239771
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160827 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: beforeload-set-text-crash.xhtml crashes on Linux ASAN

fast/dom/HTMLObjectElement/beforeload-set-text-crash.xhtml crashes

BUG=312639
TBR=dglazkov

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160829 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix memory leak in Source/testing/plugin/main.cpp.

This CL adds a missing free() for 'obj->evaluateScriptOnMouseDownOrKeyDown'.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160830 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools Timeline: simulate sync Time record for Time/TimeEnd pair issued synchronously

This drops old logic that artificially glued Time/TimeEnd and re-parented them to root
and replaces it with insertion of synthetic sync Time records when Time/TimeEnd pair is encountered
on the same stack level (i.e. as siblings).
Drive-by: dump more record details in tests.

BUG=310430
R=pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160831 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: do not dupe emulation checkboxes on the Device page.

R=vsevik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160832 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move Lifecycle* to platform/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160833 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move more arrays of strings to shareable memory

Move more arrays of strings to shareable memory (either .rodata or .data.rel.ro) to
potentially reduce RAM usage on Android. This is done by using char arrays instead
of pointers when possible or by marking the pointer as const when this is not
possible.

This also reduces the number of relocations (by getting rid of the pointers), which
makes loading the library faster.

BUG=249746

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160835 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move ParsingUtilities to platform/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160836 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move Color.*, DashArray and DrawLooper to Source/platform/

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160838 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update outdated XHR layout test.

The explanation in the HTML file says the expected Content-Type is
application/xml, but it actually is text/plain. This is correct
according to the XHR spec, and application/xml was legacy WebKit behavior.

The HTML file also references a WebKit bug that specifies the old
behavior, and will be updated to reference a Chromium bug for the
correct behavior.

The test passed before and will still pass after this test. However,
running it manually in the browser will be less confusing.

BUG=172802

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160839 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Remove canShowAnchorLocation from Panel and let panel decide whether to show itself or not.

R=pfeldman@chromium.org, pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160840 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove an inspector-related test that makes use of devtools' localStorage

This test is implemented incorrectly and has started failing after Chromium r231565.

TBR=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160841 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Support the DPR header for client hints.

As specified in
https://github.com/igrigorik/http-client-hints/blob/master/draft-grigorik-http-client-hints-01.txt#L255

Similar to a DPR specification in srcset, the DPR header should cause us
to divide the intrinsic height by the dpr.

BUG=303863
R=pdr@chromium.org
CC=yoav@yoav.ws

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160843 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix fonts inspection renderer crash

This patch fixes fonts inspection renderer crash. It happened due to
attempt to put "empty" key in the hashmap.

BUG=312398

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160844 bbb929c8-8fbe-4397-9dbb-9b2b20218538
start/stop method for AudioBufferSourceNodes and OscillatorNodes can take no args.

For AudioBufferSourceNodes, see
http://webaudio.github.io/web-audio-api/#methodsandparams-AudioBufferSourceNode

For OscillatorNodes, see https://github.com/WebAudio/web-audio-api/issues/249

BUG=305829,306141

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160845 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 160798 "Avoid leaking MessagePortChannels when ports are ..."

I think it may have broken content_browsertests
http://build.chromium.org/p/chromium.linux/builders/Linux%20Aura/builds/10913/steps/content_browsertests/logs/stdio

> Avoid leaking MessagePortChannels when ports are cloned
> 
> MessagePortChannel used to hold a RefPtr to its entangled pair for the
> sole purpose of answering MessagePortChannel::isConnectedTo(MessagePort*).
> But answering that question only requires a pointer to the MessagePort, not
> the channel.
> 
> This patch switches MessagePortChannel back to being non-refcounted, as it
> was back when PlatformMessagePortChannel still existed. Neutered MessagePorts
> thus delete their MessagePortChannel rather than simply deref()-ing them.
> 
> In the long run, getting rid of MessagePortChannel altogether and having
> MessagePort directly interact with WebMessagePortChannel is probably the
> right thing, but an incremental approach is likely the right route.
> 
> R=abarth
> BUG=311229
> 
> Review URL: https://codereview.chromium.org/48793004

TBR=adamk@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160846 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark http/tests/security/redirect-BLOCKED-to-localURL.html as flaky on XP.

TBR=yurys@chromium.org
BUG=311812

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160847 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Let TextTrackResource be a RawResource

This allows deprecatedDidReceiveResource to be removed completely, by
using the exising appendData callback instead.

The removed FIXME was a little bit confused, in that it didn't seem to
realize that incremental parsing is needed for WebVTT.

Also add OVERRIDE where possible.

BUG=312756

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160848 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Ship DOM/Promises

Remove "Promise" runtime enabled flag.
Intent-to-Ship thread:
 https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/0Fs5P6Xgg9g

BUG=243345
R=abarth

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

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