Remove ImageSource::bytesDecodedToDetermineProperties() and fallout

Since the WebKit split, it always returns zero. Removing it enables us
also to remove the not always up-to-date m_decodedSize and avoid a
quite common assertion failure on GIF animations. No functional
changes expected.

BUG=288879

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159433 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ASSERT that SecurityError exceptions are thrown via ::throwSecurityError.

This will help us ensure that security-relevant exception messages (which
can be exposed to JavaScript) are sufficiently sanitized. Unsanitized
messages with additional detail may be exposed to the console.

BUG=152212

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159434 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove last two functions in LocalizedStrings.

Use Locale::queryString instead.

BUG=298020
TEST=none; no behavior changes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159435 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement <form method=dialog>

As described in the spec:
http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#form-submission-0
http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#submit-dialog

When a dialog is submitted, the dialog is closed and the submit button's
value is passed to dialog.close(). 

Still to do: handle submission through <input type=image> 

BUG=304827

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159436 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make text-transform upper/lowercase support Turkic lang.

This is a port of Webkit change
(http://trac.webkit.org/changeset/156948) to get text-transform
upper/lowercase support Turkic (Turkish, Azerbaijane) language.

In WTF::String,
  - Add an overloading version of lower() and upper() taking a locale param.
  - Get rid of makeLower and makeUpper.
  

In RenerText, use new methods and pass a locale (the value of
lang in a given DOM node).

Elsewhere, replace make{Lower,Upper} with {lower,upper}.

This CL differs from the webkit patch: 
1) move ctor is disabled.
2) ASCIILiteral is not used (we removed it). 
3) lower(locale), upper(locale) returns PassRefPtr instead of RefPtr. 
4) StringImpl has a new mthod upconvertedString() to refactor "if 8bit, upconvert and get chart16 buffer else just get char16 buffer".
5) the way ICU API is called is slightly streamlined in lower()/upper(). 
  
BUG=304911
TEST=Layout test: fast/text/text-transform-turk*.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159437 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix order-dependent timeouts of inspector/styles/css-live-edit.html

R=pfeldman, vsevik
BUG=305047

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

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