Fix the using of EnsurePtrConvertibleArg in a WebPrivateOwnPtr constructor

Before the change EnsurePtrConvertibleArg was used wrongly in WebPrivateOwnPtr(const PassOwnPtr<U>&) as it did not help to obviate ambiguous call problem.
Fixed now. A compile assertion is also added to the constructor in order to make sure that pointers to arrays are not converted (same as we have in OwnPtr constructor).

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159706 bbb929c8-8fbe-4397-9dbb-9b2b20218538
webkit prefix shoudn't be used for text-align-last

When I removed the webkit prefix from the property,
I missed some of those.

BUG=259332

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159707 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Missing ScriptWrappable::init() in MediaKeyNeededEvent.

This path is previously uncovered by tests, since the test that ought to
cover it fails to trigger the event for some reason. So create one explicitly
in the test and add the initialization.

BUG=307069
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159708 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify URL setPathname

The leading slash is already handled by GURL

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159709 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify URL setSearch

No change in behavior. Handling of leading '?' is handled by KURL and the escaping of '#' is handled by GURL.

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159710 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix crash when casting display:table-cell to a HTMLTableCellElement

BUG=280352

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

git-svn-id: svn://svn.chromium.org/blink/trunk@159711 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Raise exception on invalid argument to speechSynthesis.speak.

BUG=251537

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

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