Gardening: Mark selection-button-text.html for timeout on mac debug

BUG=24182
TBR=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153178 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Track NPObject ownership by the originating plugins' NPP identifier. [5/6] (Blink)

This CL changes Blink to associate each NPObject with the owning plugin's NPP identifier, rather than based on a notional "root object" for the plugin. Objects are now registered as "live" at time of creation, rather than when they are first passed across the plugin/script boundary.

The V8 ScriptController now forces internal window script object resources to be released by Dispose()ing of the window script NPObject's underlying V8 object, rather than force-deallocating the NPObject.

As a result, the NPObjectWrapper, used to work-around problems with plugins touching the window script object during teardown, after it has been deallocated, is no longer required.

Additional changes in this CL:
1. NPObjects passed from script to plugin, or vice versa, via Invoke() are now correctly associated with their originator.
2. A new layout test is added, to verify that a plugin leaking the window script object does not cause the corresponding document to leak.
3. Modifies TestNetscapePlugIn to catch attempts to call NPObject methods after the corresponding plugin has been destroyed.

This CL requires the Chrome-side crrev.com/17208003 be applied, to add the necessary glue for NPP-based tracking.

BUG=152006

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153179 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid bloating characters when parsing IndexedDB key paths

The parser was doing UChar pointer arithmetic, forcing
upconversion of 8-bit strings. Do index arithmetic instead
to avoid this.

BUG=254708
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@153180 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Privatize GraphicsContext::fillRectWithRoundedHole().

Its only user is  GraphicsContext::drawInnerShadow(), no reason to keep it public.

R=senorblanco@chromium.org,schenney@chromium.org

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

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