Attempt to fix Android build after r156514.

TBR=jianli@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156515 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add error message to catch content_shell sending CRLF-terminated EOFs in DRT mode.

This was discovered while testing the Win Aura content-shell, which
was sending CRLF-terminated strings instead of LF-terminated strings.
As with other "recoverable protocol errors", it's probably best to
issue an error or a warning and carry on.

R=jochen@chromium.org, ojan@chromium.org
BUG=276728

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156516 bbb929c8-8fbe-4397-9dbb-9b2b20218538
unicode-bidi: plaintext is treating embedded unicode-bidi: isolate incorrectly.

In the CSS Writing Modes specification:
for the purpose of bidi resolution in its containing bidi paragraph,
the sequence is treated as if it were a single Object Replacement Character (U+FFFC).

However Blink does not treat the isolated sequence as if it were a U+UFFFC.
This patch adds a new method called bidiFirstSkippingIsolated that is used to get the
first nested bidi not isolated.

BUG=276642

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156517 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Do IDBKey to V8 value conversions lazily.

** DO NOT LAND YET - this is stacked on top of crrev.com/23172007 **

This tackles IDBCursor::value(), and defers deserializing to a V8
value until requested by script. This also addresses a leak
that scripts can induce by writing: cursor.value.ref = cursor

A microbenchmark (iterate a cursor over 500k items in a 
store) shows a 27% performance increase compared to Part 1.

BUG=273211
R=haraken@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156518 bbb929c8-8fbe-4397-9dbb-9b2b20218538
reformat run-webkit-tests --driver-logging output to show ctrl chars.

Turns out that if you don't make the nonprintable characters visible,
you'll miss valuable information like whether there are LFs or CRLFs
in your output. This should also make dumping PNG data less likely
to completely mess up your terminal.

Also this patch adds a test for --driver-logging, but disables it
as the mock-ports seem to be somewhat broken at the moment. I'll fix
that issue in a separate bug.

R=ojan@chromium.org
BUG=276728

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156519 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make ASSERT_NO_EXCEPTION and AttachLazily the default arguments for insertBefore, appendChild and replaceChid.

Eventually, we'll get rid of DeprecatedAttachNow entirely and remove AttachBehavior
as an argument.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156520 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move Web Animations specific excpectation and update bug reference

No functional change.

BUG=258896,277005
TBR=jianli

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156521 bbb929c8-8fbe-4397-9dbb-9b2b20218538
externalRepresentation should call updateLayout before getting the renderer

These functions are used in tests to dump render trees into text and do an
update layout before doing that, but get the renderer() of the thing being
dumped before calling updateLayout() which means the renderer can be stale
meaning a use-after-free in a test. It also means that once the parser
starts lazy attaching some tests will fail since the element wouldn't
have a renderer yet and then the function would return an empty string.

This fixes printing/single-line-must-not-be-split-into-two-pages.html once
the parser starts lazy attaching.

BUG=276687

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

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