ServiceWorker: Add test for navigator.serviceWorker.installing


BUG=379012
TEST=run_webkit_tests.py http/tests/serviceworker/installing.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177720 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Node.appendChild should throw TypeError when newChild is not an object

SPEC: http://www.w3.org/TR/WebIDL/#es-interface
According to spec,
'If Type(V) is not Object, then throw a TypeError.'

So this CL modified it as per specified.

TEST=LayoutTests/fast/dom/incompatible-operations.html
    ,LayoutTests/fast/dom/move-nodes-across-documents.html
    ,LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml

In addition, with this CL,
4 test cases will be passed at
http://w3c-test.org/dom/nodes/Node-appendChild.html

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

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

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

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

BUG=388823
TBR=eae@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177722 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Do not add non-free headers to free list in ThreadHeap::assertEmpty.

It is possible that a thread is involved to GC after ThreadHeap::
assertEmpty before ThreadState destruction.

BUG=388267
R=ager@chromium.org, haraken@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177723 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Blink does not respect input.selectionStart and input.selectionEnd for some cases

Blink does not respect the input.selectionStart and input.selectionEnd. When
input.selectionStart and input.selectionEnd is set and then value is set the blink
always shows the selection with caret at end of text. This patch removes this
bug by caching the selectionStart and selectionEnd in m_cachedSelectionStart
and m_cachedSelectionEnd and checking the cached selection while setting
input value.

This patch also removes the bug specifying that caret poistion is incompatible after updating value
IDL attribute of unfocused INPUT element. When the value IDL attribute is updated of unfocused 
INPUT element the caret moves at the end but other browser move the caret at the beginning of the value.
The other browsers move the caret to the end of the value only if the INPUT is focused. 
This patch removes this bug too.

BUG=367736, 133242

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177651

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

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