Add ImageBitmap unit tests for DecodeCachePriority and image src changes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156421 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Allow SVG images to not taint the canvas with drawImage/drawPattern

This is a merge of http://trac.webkit.org/changeset/153876 by Timothy
Hatcher with a large modification to prevent leaks through embedded
images. In SVGImage::hasSingleSecurityOrigin, this patch checks
that the SVG image does not contain other images. I've reported
this to the WebKit team in wkbug.com/119639

The main idea in this patch is to allow single origin images to be
drawn into a canvas by checking SVGImage::hasSingleSecurityOrigin().
At the moment we are blacklisting <foreignObject>, <image>, and
<feImage>.

A leak of data is possible through SVG's <a> element, and this patch
disables <a> in both HTML and SVG if the content is embedded through
an SVG image (one day, we may white-list <foreignObject>).

BUG=249037

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156422 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make HAVE_MADV_FREE, HAVE_MADV_FREE_REUSE and HAVE_VIRTUALALLOC local macros as it only used in wtf/TCSystemAlloc.h .

HAVE_VIRTUALALLOC is compeletely removed per abarth comment: https://codereview.chromium.org/22661006/#msg5

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156423 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change viewport error messages in preparation for use with @viewport rule

The error messages will soon be used for both @viewport and viewport related
meta tags, so make the text less meta tag specific.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156424 bbb929c8-8fbe-4397-9dbb-9b2b20218538
only push an APK to the android device in run-webkit-tests if it is new.

Right now we will always uninstall and install the content shell APK.
Doing so takes ~30 seconds per device. This is really expensive, and
we should only do this if the APK has actually changed.

R=peter@chromium.org, abarth@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156425 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: emulate gesture events on screencast.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156426 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove FrameLoader::referrer, make Document::referrer do the work.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156427 bbb929c8-8fbe-4397-9dbb-9b2b20218538
fix the bug that inputMode of focused element is enabled
hide inputMode of focused element under inputModeAttributeEnabled flag


BUG=276182

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156428 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix locale-specific test inspector-protocol/runtime-getProperties.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156429 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unnecessary call to makeRenderingResultsAvailable for 2d canvas.

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

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