Throw an exception on invalid HTTP header value

A Chromium CL fixed our HTTP header value parsing to align better with the spec
and other browsers:
  https://src.chromium.org/viewvc/chrome?revision=222127&view=revision

To further align, throw an exception on XMLHttpRequest#setRequestHeader if the
request header contains characters outside Latin-1. This matches Firefox
nightly, Opera 12, and the spec (the argument is a WebIDL ByteString). Also it
avoids silently turning those characters to ?, what WTF::String::latin1 does.

In addition, re-enable a test that was broken by this test. Also add a new test
to verify header encoding, decoding, and the exception.

BUG=276769
TEST=LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-nonascii.html,
     LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-latin1.html

Review URL: https://chromiumcodereview.appspot.com/23983021

git-svn-id: svn://svn.chromium.org/blink/trunk@157854 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Shapes] Turn Shape's logicalwidth/height into a LayoutSize

In order to keep things compact and match with WebKit, I modified shape's implementation to use
LayoutSize rather than 2 LayoutUnits to store the Shapes's dimension.

Merged WebKit revision: http://trac.webkit.org/changeset/155626

Review URL: https://chromiumcodereview.appspot.com/23710058

git-svn-id: svn://svn.chromium.org/blink/trunk@157856 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Notify Javascript about the size of an AudioBuffer

BUG=282683, 249161

A patch from Mark Buer (see
https://code.google.com/p/chromium/issues/detail?id=249161).

Report the actual size of the AudioBuffer to the garbage collector so
that creating these large buffers will trigger garbage collection.

Review URL: https://chromiumcodereview.appspot.com/23619014

git-svn-id: svn://svn.chromium.org/blink/trunk@157857 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mark tests that fail on Retina devices as flaky until they are properly supported.

TBR=ojan@chromium.org, abarth@chromium.org
BUG=292886

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

git-svn-id: svn://svn.chromium.org/blink/trunk@157858 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Optimize RenderBlock::lowestFloatLogicalBottom by caching previously calculated values.

This CL moves RenderBlock::lowestFloatLogicalBottom into FloatingObjects, and introduces a small cache to track the previously calculated lowestFloatLogicalBottom for each FloatingObject::type.

On my z620, this is ~25% faster on blink_perf's float_50_100 benchmark, and ~30% faster on android-gn. On oilevent from tough_layout_cases, this is about ~10% improvement.

Linux: 

Without patch: 
Avg floats_50_100: 255.006988ms 
Sd floats_50_100: 6.590191ms 

With patch: 
Avg floats_50_100: 189.995312ms 
Sd floats_50_100: 4.420704ms 


Android: 

Without patch: 
Avg floats_50_100: 6374.133600ms 
Sd floats_50_100: 852.598792ms 

With patch: 
Avg floats_50_100: 4205.389400ms 
Sd floats_50_100: 659.635617ms 


BUG=260903

Review URL: https://chromiumcodereview.appspot.com/23364008

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