Use testRunner instead of layoutTestController in fast/notifications, overflow, parser, performance,
preloader, profiler, reflections, regex, regions, repaint, ruby and runin tests
https://bugs.webkit.org/show_bug.cgi?id=92944

Reviewed by Kent Tamura.

* fast/notifications/notification-after-close.html:
* fast/notifications/notifications-cancel-request-permission.html:
* fast/notifications/notifications-check-permission.html:
* fast/notifications/notifications-click-event-focus.html:
* fast/notifications/notifications-click-event.html:
* fast/notifications/notifications-display-close-events.html:
* fast/notifications/notifications-document-close-crash.html:
* fast/notifications/notifications-double-show.html:
* fast/notifications/notifications-event-stop-propagation.html-disabled:
* fast/notifications/notifications-multi-events.html-disabled:
* fast/notifications/notifications-no-icon.html:
* fast/notifications/notifications-replace.html:
* fast/notifications/notifications-request-permission.html:
* fast/notifications/notifications-rtl.html:
* fast/notifications/notifications-window-close-crash.html:
* fast/notifications/notifications-with-permission.html:
* fast/notifications/notifications-without-permission.html:
* fast/notifications/resources/notifications-cancel-request-permission.html:
* fast/overflow/generated-content-crash.html:
* fast/overflow/hidden-scrollbar-resize.html:
* fast/overflow/horizontal-scroll-after-back.html:
* fast/overflow/lots-of-sibling-inline-boxes.html:
* fast/overflow/onscroll-layer-self-destruct.html:
* fast/overflow/overflow-height-float-not-removed-crash.html:
* fast/overflow/overflow-height-float-not-removed-crash2.html:
* fast/overflow/overflow-height-float-not-removed-crash3.html:
* fast/overflow/overflow-rtl-vertical-origin.html:
* fast/overflow/overflow-text-hit-testing.html:
* fast/overflow/overflow-y-scroll.html:
* fast/overflow/scroll-vertical-not-horizontal.html:
* fast/overflow/scrollRevealButton.html:
* fast/overflow/scrollbar-restored-and-then-locked.html:
* fast/overflow/scrollbar-restored.html:
* fast/overflow/setting-scrollTop-after-hide-show.html:
* fast/parser/:
* fast/preloader/document-write-2.html:
* fast/preloader/document-write-noscript.html:
* fast/preloader/document-write.html:
* fast/preloader/first-base-tag-scanned-wins.html:
* fast/preloader/first-base-tag-wins.html:
* fast/preloader/image.html:
* fast/preloader/input.html:
* fast/preloader/link.html:
* fast/preloader/noscript.html:
* fast/preloader/scan-body-from-head-import.html:
* fast/preloader/scan-body-from-head-script.html:
* fast/preloader/script.html:
* fast/preloader/style.html:
* fast/preloader/understands-base-tag.html:
* fast/profiler/:
* fast/reflections/inline-crash.html:
* fast/reflections/pending-reflection-mask-crash.html:
* fast/reflections/reflected-img-crash.html:
* fast/reflections/reflection-computed-style.html:
* fast/reflections/remove-reflection-crash.html:
* fast/reflections/resources/reflection-overflow-scroll.js:
* fast/reflections/teardown-crash.html:
* fast/reflections/toggle-reflection-crash.html:
* fast/regex/syntax-errors.html:
* fast/regions/content-flowed-into-regions-no-scroll.html:
* fast/regions/element-region-overflow-state-vertical-rl.html:
* fast/regions/element-region-overflow-state.html:
* fast/regions/flexbox-in-region-crash.html:
* fast/regions/flow-anonymous-children.html:
* fast/regions/flowed-content-bounding-client-rect-horizontal-bt.html:
* fast/regions/flowed-content-bounding-client-rect-vertical-rl.html:
* fast/regions/flowed-content-bounding-client-rect-vertical.html:
* fast/regions/flowed-content-bounding-client-rect.html:
* fast/regions/flowed-content-transform-bounding-client-rect.html:
* fast/regions/get-regions-by-content-horiz-bt.html:
* fast/regions/get-regions-by-content-horiz-tb.html:
* fast/regions/get-regions-by-content-vert-lr.html:
* fast/regions/get-regions-by-content-vert-rl.html:
* fast/regions/get-regions-by-content.html:
* fast/regions/get-regions-by-content2.html:
* fast/regions/hit-test-float.html:
* fast/regions/hit-test-region.html:
* fast/regions/imbricated-flow-threads-crash.html:
* fast/regions/no-split-line-box.html:
* fast/regions/parse-incomplete-region-rule.html:
* fast/regions/parsing-region-style-rule.html:
* fast/regions/region-element-dynamic-attach-flow.html:
* fast/regions/region-element-dynamic-detach-flow.html:
* fast/regions/region-range-for-box-crash.html:
* fast/regions/region-style-block-background-color2.html:
* fast/regions/script-tests/css-regions-disabled.js:
* fast/regions/select-in-region-crash.html:
* fast/regions/set-box-style-in-region-crash.html:
* fast/regions/svg-root-element-collected.html:
* fast/regions/symbol-in-named-flow-crash.svg:
* fast/regions/text-region-breaks.html:
* fast/regions/text-region-split-after-resize.html:
* fast/regions/text-region-split-horizontal-bt.html:
* fast/regions/text-region-split-vertical-rl.html:
* fast/regions/text-region-split-vertical.html:
* fast/regions/text-region-split.html:
* fast/regions/webkit-named-flow-event-add-to-flow.html:
* fast/regions/webkit-named-flow-event-no-regions.html:
* fast/regions/webkit-named-flow-event-remove-from-dom.html:
* fast/regions/webkit-named-flow-event-remove-from-flow.html:
* fast/regions/webkit-named-flow-event-target.html:
* fast/regions/webkit-named-flow-event-to-null.html:
* fast/regions/webkit-named-flow-event.html:
* fast/regions/webkit-named-flow-existing-flow.html:
* fast/regions/webkit-named-flow-first-empty-region-index.html:
* fast/regions/webkit-named-flow-flow-added.html:
* fast/regions/webkit-named-flow-get-content.html:
* fast/regions/webkit-named-flow-invalid-name.html:
* fast/regions/webkit-named-flow-modified-flow.html:
* fast/regions/webkit-named-flow-name.html:
* fast/regions/webkit-named-flow-non-existing-flow.html:
* fast/regions/webkit-named-flow-overset.html:
* fast/regions/webkit-named-flow-removed-flow.html:
* fast/regions/webkit-named-flow-same-object.html:
* fast/repaint/:
* fast/replaced/css-content-and-webkit-mask-box-image-crash.html:
* fast/replaced/frame-removed-during-resize-smaller.html:
* fast/replaced/frame-removed-during-resize.html:
* fast/replaced/image-map-2.html:
* fast/replaced/image-map-bug16782.html:
* fast/replaced/image-map.html:
* fast/replaced/image-resize-width.html:
* fast/replaced/invalid-object-with-fallback.html:
* fast/replaced/object-param-no-name.html:
* fast/replaced/object-param-spaces.html:
* fast/replaced/object-with-embed-url-param.html:
* fast/replaced/object-with-non-empty-classid-triggers-fallback.html:
* fast/replaced/outline-replaced-elements.html:
* fast/replaced/resources/focus-test.js:
(checkNoFocusRing):
* fast/replaced/table-percent-height-text-controls.html:
* fast/replaced/table-percent-height.html:
* fast/replaced/table-percent-width.html:
* fast/replaced/table-replaced-element.html:
* fast/replaced/vertical-resize-100percent-element.html:
* fast/replaced/width100percent-textarea.html:
* platform/chromium/fast/repaint/fixed-layout-360x240.html:
* platform/mac/fast/overflow/overflow-scrollbar-hit-test.html:
* platform/qt/fast/repaint/flexible-box-overflow-expected.txt:
* platform/qt/fast/repaint/flexible-box-overflow-horizontal-expected.txt:
* platform/qt/fast/repaint/focus-ring-expected.txt:
* platform/qt/fast/repaint/inline-block-overflow-expected.txt:
* platform/qt/fast/repaint/layer-child-outline-expected.txt:
* platform/qt/fast/repaint/layer-outline-expected.txt:
* platform/qt/fast/repaint/layer-outline-horizontal-expected.txt:
* platform/qt/fast/repaint/list-marker-expected.txt:
* platform/qt/fast/repaint/text-shadow-expected.txt:
* platform/qt/fast/repaint/text-shadow-horizontal-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Chromium Android build fix after r124402.
Initialize the out variables as suggested by the compiler.

* Modules/indexeddb/IDBLevelDBCoding.cpp:
(WebCore::IDBLevelDBCoding::DatabaseFreeListKey::decode):
(WebCore::IDBLevelDBCoding::DatabaseNameKey::decode):
(WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::decode):
(WebCore::IDBLevelDBCoding::IndexMetaDataKey::decode):
(WebCore::IDBLevelDBCoding::ObjectStoreFreeListKey::decode):
(WebCore::IDBLevelDBCoding::IndexFreeListKey::decode):
(WebCore::IDBLevelDBCoding::ObjectStoreNamesKey::decode):
(WebCore::IDBLevelDBCoding::IndexNamesKey::decode):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: test native memory instrumentation code with help of unittests
https://bugs.webkit.org/show_bug.cgi?id=92743

Reviewed by Yury Semikhatsky.

Test a part of existing Native Memory Instrumentation code with help of unit tests.
6 tests were added and two bugs were fixed.
a drive-by improvement: the method MemoryInstrumentation::addInstrumentedObject
was marked as private and addRootObject was introduced instead of it.
The new function also calls processDeferedPointers.

Source/WebCore:

* bindings/v8/ScriptProfiler.cpp:
(WebCore::ScriptProfiler::collectBindingMemoryInfo):
* dom/MemoryInstrumentation.h:
(WebCore::MemoryInstrumentation::addRootObject):
(MemoryInstrumentation):
(WebCore::MemoryInstrumentation::addInstrumentedObject):
(WebCore::MemoryInstrumentation::addInstrumentedObjectImpl):
(WebCore):
(WebCore::MemoryInstrumentation::addObjectImpl):
* inspector/InspectorMemoryAgent.cpp:
(WebCore):
* inspector/MemoryInstrumentationImpl.h:
(MemoryInstrumentationImpl):
(WebCore::MemoryInstrumentationImpl::totalSize):
(WebCore::MemoryInstrumentationImpl::reportedSizeForAllTypes):

Source/WebKit/chromium:

* WebKit.gypi:
* tests/MemoryInstrumentationTest.cpp: Added.
(WebCore):
(NotInstrumented):
(Instrumented):
(WebCore::Instrumented::Instrumented):
(WebCore::Instrumented::~Instrumented):
(WebCore::Instrumented::reportMemoryUsage):
(WebCore::TEST):
(InstrumentedWithOwnPtr):
(WebCore::InstrumentedWithOwnPtr::InstrumentedWithOwnPtr):
(WebCore::InstrumentedWithOwnPtr::reportMemoryUsage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124412 268f45cc-cd09-0410-ab3c-d52691b4dbfc