DevTools: weird behaviour of scroll bar is observed in "Frames" section

TBR=vsevik
BUG=340943

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166518 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: restore panel-level sidebar width constraints.

BUG=340240
R=lushnikov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166519 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fixed crash on Android tcmalloc builds caused by vasprintf being incompatible to tcmalloc

R=esprehn@chromium.org
TEST=Compile Android build with Deep Memory Profiler support. Go to lenta.ru. Open some news pages. Should not crash.

********** Crash dump: **********
Build fingerprint: 'samsung/GT-I9100/GT-I9100:4.0.3/IML74K/XXLPQ:user/release-keys'
pid: 3431, tid: 3444  >>> org.chromium.content_shell_apk:sandboxed_process1 <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000039
Stack frame #00  pc 02263b44  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine Abort in ../../third_party/tcmalloc/chromium/src/base/abort.cc:15
Stack frame #01  pc 0226ccd8  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine Log in ../../third_party/tcmalloc/chromium/src/internal_logging.cc:120
Stack frame #02  pc 0227584c  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine InvalidFree in (null):0
Stack frame #03  pc 02277698  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine do_free_with_callback in ../../third_party/tcmalloc/chromium/src/tcmalloc.cc:1166
Stack frame #04  pc 02277898  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine do_free in ../../third_party/tcmalloc/chromium/src/tcmalloc.cc:1209
Stack frame #05  pc 0229f914  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine tc_free in ../../third_party/tcmalloc/chromium/src/tcmalloc.cc:1569
Stack frame #06  pc 0158af50  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine error in (null):0
Stack frame #07  pc 0158aff8  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine normalErrorHandler in ../../third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp:1305
Stack frame #08  pc 01166dac  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine __xmlRaiseError in ../../third_party/libxml/src/error.c:572
Stack frame #09  pc 0116b7a8  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine xmlFatalErr in (null):0
Stack frame #10  pc 0117e424  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine xmlParseTryOrFinish in ../../third_party/libxml/src/parser.c:11453
Stack frame #11  pc 0117ea88  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine xmlParseChunk in ../../third_party/libxml/src/parser.c:11767
Stack frame #12  pc 0158891c  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine parseChunk in (null):0
Stack frame #13  pc 01589da0  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine doWrite in ../../third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp:876
Stack frame #14  pc 01589f3c  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine append in ../../third_party/WebKit/Source/wtf/RefPtr.h:49
Stack frame #15  pc 00d07e70  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine setContent in ../../third_party/WebKit/Source/wtf/PassRefPtr.h:70
Stack frame #16  pc 015770bc  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine responseXML in ../../third_party/WebKit/Source/wtf/PassRefPtr.h:70
Stack frame #17  pc 017bdd20  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine responseXMLAttributeGetter in ../../third_party/WebKit/Source/wtf/PassRefPtr.h:47
Stack frame #18  pc 017bddc8  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine responseXMLAttributeGetterCallback in gen/blink/bindings/V8XMLHttpRequest.cpp:219
Stack frame #19  pc 00eb86d8  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine Call in ../../v8/src/arguments.cc:110
Stack frame #20  pc 01024b5c  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine GetPropertyWithCallback in ../../v8/src/objects.cc:443
Stack frame #21  pc 010304c8  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine GetProperty in ../../v8/src/objects.cc:971
Stack frame #22  pc 010305dc  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine GetProperty in ../../v8/src/objects.cc:845
Stack frame #23  pc 00fb12f8  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine Load in ../../v8/src/ic.cc:875
Stack frame #24  pc 00fb1b78  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine __RT_impl_LoadIC_Miss in ../../v8/src/ic.cc:2076
Stack frame #25  pc 00fb1bd0  /data/data/org.chromium.content_shell_apk/lib/libcontent_shell_content_view.so: Routine LoadIC_Miss in (null):0

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166520 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: After clicking on 'Device' dropdown box, the page is 'Emulate' according to selected 'Device' name.

BUG=338616
TBR=dgozman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166521 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Coalesce writes in SVGPathByteStreamBuilder

Add a helper class CoalescingBuffer, that collects the data for a segment
into a local (stack) buffer, and then writes the entire stack buffer in
one go to the SVGPathByteStream.

This reduces codesize (on GCC 4.8) by roughly 50% (closePath being the
only method that grows).

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166523 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Upgrade stepUp()/stepDown() implementation to match spec.

The spec for stepUp()/stepDown()

  http://www.whatwg.org/specs/web-apps/current-work/#dom-input-stepdown

requires that out-of-step values snap to step, just like the UI
implementation will do. Hence, bring the required clamping/snapping
handling into scope.

Also, stepUp()/stepDown() shouldn't throw if the current value is not
a number, nor if the resulting stepped-to value is too far out of
range. Snapping to range (modulo step base) is what's supposed to
happen now.

R=yosin@chromium.org,keishi1@chromium.org,tkent@chromium.org
BUG=339194

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166525 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Updated ratified extensions to be advertised without the WEBKIT_ prefix (https://codereview.chromium.org/145093003/)

Reason for revert:
Broke WebGL Conformance test conformance_extensions_get_extension

Original issue's description:
> Updated ratified extensions to be advertised without the WEBKIT_ prefix
> 
> Extensions can still be queried with WEBKIT_, but getSupportedExtensions
> will return the unprefixed version.
> 
> BUG=340531
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166477

TBR=kbr@chromium.org,zmo@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=340531

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166526 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Disable Address Sanitizer on Windows.

This currently break the SyzyASan builds (and prevent us from shipping). The real solution would be to use the SyzyASan API but this'll imply more changes, I'll do this in a further CL.

See https://codereview.chromium.org/130913009/ for the original CL that turned this on.

R=chrisha@chromium.org, ager@chromium.org, tkent@chromium.org, haraken@chromium.org
BUG=

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

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