Limit the number of archived results in Layout Tests.

There has to be a limit on the number of results that can be archived because they take up considerable amount of disk space.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179792 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Removal of the no longer flaky test from the list

webgl-remote-read-remote-image-allowed-with-credentials.html test is no 
longer flaky for DEBUG Linux as per the flakiness dashboard.

http://test-results.appspot.com/dashboards/flakiness_dashboard.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179793 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make it possible to have <object>'s scriptableObject as a v8 object instead of NPObject.

It is well-known that Chromium is gradually deprecating NPAPI
with the goal of removing it completely by the end of 2014.
This is said to include NPObject class as well.

However, currently, for blink::WebPlugin implementators
(for <object> tag), it is only possible to return the corresponding
scriptable object (to back properties of the <object> tag
as visible from JavaScript) as an NPObject*.

This CL introduces the possibility to provide the plain v8 object,
instead. This lets the embedder to provide scripting facilities
for plugins (or whatever else provides <object> tags)
using v8 api or modern means like gin.

On top of it, the compatibility with current NPObject-based
features like nsplugins is kept
which simply can be removed once NPAPI is fully deprecated.


BUG=351636

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
InvalidStateError should be thrown firstly in Range.surroundContents

SPEC: http://dom.spec.whatwg.org/#dom-range-surroundcontents

According to spec, 'If a non-Text node is partially contained in the context object, throw an "InvalidStateError" exception.' is first step.
So this CL moved existed implementation to the first code block in function.

72 test cases will be passed with this CL in
http://w3c-test.org/dom/ranges/Range-surroundContents.html

Behavior in other browsers.
*)FF: PASS
*)IE: FAIL

TEST=LayoutTests/fast/dom/Range/surroundContents-for-invalid-state-error.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179795 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r179782

http://src.chromium.org/viewvc/blink?view=revision&revision=179782

BUG=398417
TBR=keishi@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179796 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Rename InternalsPrototype to PrivateScriptTestPrototype

I forgot to rename this when I factored PrivateScriptTest's code out of Internals.

BUG=341031

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

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