Update text expectations for failing http/tests/security/contentSecurityPolicy/1.1/plugintypes-invalid.html

BUG=278497
TBR=jianli@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156652 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove WebMediaSourceClient interface and old WebMediaPlayer::load() methods.

Relanding https://codereview.chromium.org/23242019/ now that Android build
busters are fixed on the Chromium-side.

BUG=272993
TEST=All existing media tests still pass.
TBR=adamk,jamesr

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156653 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add support for BeforeUnloadEvent

Add support for BeforeUnloadEvent as per the specification:
http://www.whatwg.org/specs/web-apps/current-work/#beforeunloadevent

BeforeUnloadEvent has a returnValue attribute. Setting returnValue to a non-empty
string in an event handler causes the user agent should ask the user to confirm
that they wish to unload the document. This is equivalent to returning a non-empty
string in the EventHandler:
http://www.whatwg.org/specs/web-apps/current-work/#onbeforeunloadeventhandler

BeforeUnloadEvent and returnValue are already supported by IE and Firefox. Previously,
Blink was passing a base Event type to the beforeunload event handlers instead of
a BeforeUnloadEvent.

Note that this patch also removes support for Event.returnValue. This used to be
an IE extension but this is no longer supported by IE (nor Firefox) so the
compatibility risk should be low. Applications use preventDefault() nowadays to
do this and only fallback to Event.returnValue to support older versions of IE
(IE < 9).

BUG=277851

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156654 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Test Expectations updated for failing fast/loader/onunload-form-submit-crash.html

BUG=278518
TBR=jianli@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156655 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix race in fast/loader/onunload-form-submit-crash.html.

The setTimeout was sometimes firing before the form was parsed,
so document.myForm would be null.

BUG=278518
R=rjkroege@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156656 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix typo in TestExpectations

BUG=none
TBR=rjkroege@chromium.org

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

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