Create DOMExceptions from User ScriptContext when re-throwing from PrivateScript

Ensure that from a user script, `exception instanceof TypeError` can
evaluate to true when the TypeError was thrown from a private
script.

A side-effect of this change is the requirement that a user (main) script
context is alive at the same time as a private script context. Because of this,
features implemented in private scripts with unit tests in webkit_unit_tests
need to ensure both script contexts remain alive. This means adding a
V8TestingScope to PageSerializerTest.XMLDeclaration, because
DocumentXMLTreeViewer contains attributes/methods implemented in private
scripts, and private these need to keep a user script alive.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182369 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: remove unused support for removing FrameDestructionObservers.

Remove ability to explicitly remove a FrameDestructionObserver from a
LocalFrame; this is taken care of by weak references instead.

Also make FrameDestructionObserver::observeFrame() private; this will ease
later removal once we can assume Oilpan is enabled-by-default for all
observer implementations.

R=haraken
BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182370 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move paint code from RenderInline into InlinePainter.

BUG=412088

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182371 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Call the correct superclass from RenderFullScreenPlaceholder::willBeDestroyed

[1] implemented RenderFullScreenPlaceholder which inherits from
RenderFlexibleBox but calls RenderBlock::willBeDestroyed() from its
willBeDestroyed function. This is a bug waiting to happen if
RenderFlexibleBox::willBeDestroyed is ever implemented to do something
interesting.

This was discovered while working on crbug.com/415607.


[1] https://src.chromium.org/viewvc/blink?view=rev&revision=166394

TEST=no new tests as there is no change in behavior.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182372 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update hover state after entering and leaving fullscreen.

The update is scheduled after the render tree is updated and the element
entering / leaving fullscreen has completed what it needs to do.

R=philipj@opera.com
BUG=374716, 376728
Tests= fullscreen/ LayoutTests on Linux

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182373 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move painting code from RenderLineBoxList to LineBoxListPainter.

BUG=412088

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

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