Use testRunner instead of layoutTestController in fast/js, layers, leaks, line-grid, lists, loader, loading, media, mediastream, multicol, and mutation tests
https://bugs.webkit.org/show_bug.cgi?id=91315

Reviewed by Adam Barth.

* fast/js/:
* fast/layers/add-layer-with-nested-stacking.html:
* fast/layers/assert-RenderLayer-update-positions.html:
* fast/layers/clip-rects-assertion.html:
* fast/layers/clip-rects-transformed-2.html:
* fast/layers/clip-rects-transformed.html:
* fast/layers/generated-layer-scrollbar-crash.html:
* fast/layers/inline-dirty-z-order-lists.html:
* fast/layers/layer-content-visibility-change.html:
* fast/layers/layer-visibility.html:
* fast/layers/nested-layers-1.html:
* fast/layers/nested-layers-2.html:
* fast/layers/nested-layers-3.html:
* fast/layers/nested-layers-4.html:
* fast/layers/remove-layer-with-nested-stacking.html:
* fast/layers/remove-only-this-layer-update.html:
* fast/layers/removed-by-scroll-handler.html:
* fast/layers/resize-layer-deletion-crash.html:
* fast/layers/scroll-with-transform-composited-layer.html:
* fast/layers/scroll-with-transform-layer.html:
* fast/layers/scrollByLines-overflow-no-layer.html:
* fast/layers/visible-layer-with-hidden-parent.html:
* fast/layers/zindex-hit-test.html:
* fast/leaks/001.html:
* fast/leaks/002.html:
* fast/leaks/003.html-disabled:
* fast/line-grid/line-grid-nested.html:
* fast/lists/alpha-boundary-values.html:
* fast/lists/alpha-list-wrap.html:
* fast/lists/calc-width-with-space.html:
* fast/lists/decimal-leading-zero.html:
* fast/lists/drag-into-marker.html:
* fast/lists/item-not-in-list-line-wrapping.html:
* fast/lists/li-values.html:
* fast/lists/list-style-type-dynamic-change.html:
* fast/lists/ol-nested-items-dynamic-insert.html:
* fast/lists/ol-nested-items-dynamic-remove.html:
* fast/lists/ol-nested-items.html:
* fast/lists/ol-nested-list-dynamic-insert.html:
* fast/lists/ol-nested-list-dynamic-remove.html:
* fast/lists/ol-nested-list.html:
* fast/lists/ol-reversed-dynamic-simple.html:
* fast/lists/ol-reversed-dynamic.html:
* fast/lists/ol-reversed-nested-items.html:
* fast/lists/ol-reversed-nested-list.html:
* fast/lists/ol-reversed-simple.html:
* fast/lists/ol-reversed-simple.xhtml:
* fast/lists/ol-start-roman.html:
* fast/lists/parent-box-not-box-crash.html:
* fast/lists/positioned-count-crash.html:
* fast/lists/remove-listmarker-from-anonblock-with-continuation-crash.html:
* fast/lists/resources/dump-list.js:
(dumpListItemAsHTML):
(testListItemMarkerEqualsListItemText):
* fast/lists/w3-css3-list-styles-alphabetic.html:
* fast/lists/w3-css3-list-styles-fallback-style.html:
* fast/lists/w3-css3-list-styles-numeric.html:
* fast/lists/w3-css3-list-styles-symbolic.html:
* fast/lists/w3-css3-lower-armenian.html:
* fast/lists/w3-css3-upper-armenian.html:
* fast/lists/w3-list-styles.html:
* fast/loader/:
* fast/media/color-does-not-include-alpha.html:
* fast/media/invalid-lengths.html:
* fast/media/lifetime.html:
* fast/media/matchmedium-query-api.html:
* fast/media/media-query-list-01.html:
* fast/media/media-query-list-02.html:
* fast/media/media-query-list-03.html:
* fast/media/media-query-list-04.html:
* fast/media/media-query-list-05.html:
* fast/media/media-query-list-06.html:
* fast/media/media-query-list-07.html:
* fast/media/media-query-list-callback.html:
* fast/media/media-svg-crash.html:
* fast/media/mq-pointer.html:
* fast/media/print-restores-previous-mediatype.html:
* fast/media/update-media-query-css-parser.html:
* fast/media/view-mode-media-feature.html:
* fast/multicol/:
* fast/mutation/end-of-task-delivery.html:
* fast/mutation/inline-event-listener.html:
* fast/mutation/mutation-callback-non-element-crash.html:
* platform/chromium/fast/loader/create-view-target-blank.html:
* platform/chromium/fast/loader/resources/done.html:
* platform/gtk/fast/loader/crash-display-local-directory.html:
* platform/mac/fast/loader/file-url-mimetypes-2.html:
* platform/mac/fast/loader/file-url-mimetypes-3.html:
* platform/mac/fast/loader/file-url-mimetypes.html:
* platform/mac/fast/loader/non-html-load-event.html:
* platform/mac/fast/loader/webarchive-encoding-respected.html:
* platform/qt/fast/loader/user-stylesheet-qrc-path.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Move files guarded by #ifdef to existing file list.
https://bugs.webkit.org/show_bug.cgi?id=91336

Reviewed by Ryosuke Niwa.

Some EFL files are already guared by #ifdef. So, cmake files doesn't need to guard
them again. In addition, some files are missing #ifdef guard its header files.

Source/WebKit:

* PlatformEfl.cmake:

Source/WebKit/efl:

* WebCoreSupport/DeviceMotionClientEfl.h:
* WebCoreSupport/InspectorClientEfl.h:
* WebCoreSupport/NetworkInfoClientEfl.h:
* WebCoreSupport/VibrationClientEfl.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r122660): Cannot iterate over HTMLCollection that contains non-child descendent nodes in some conditions
https://bugs.webkit.org/show_bug.cgi?id=91334

Reviewed by Ojan Vafai.

Source/WebCore: 

The bug was caused by using lastChild() as the starting node for traversePreviousNode. Since it's the inverse of
Node::traverseNextNode(), which visits nodes in pre order, we must start our search from the last descendent node,
which is visited traverseNextNode immediately before reaching the root node.

Test: fast/dom/htmlcollection-backwards-subtree-iteration.html

* html/HTMLCollection.cpp:
(WebCore::lastDescendent):
(WebCore):
(WebCore::itemBeforeOrAfter):

LayoutTests: 

Add a regression test. Without this patch, it results in an console error in release builds and an assertion failure
in debug builds.

* fast/dom/htmlcollection-backwards-subtree-iteration-expected.txt: Added.
* fast/dom/htmlcollection-backwards-subtree-iteration.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Several media tests are flaky in DEBUG mode
https://bugs.webkit.org/show_bug.cgi?id=91347

Unreviewed EFL gardening. Add to TestExpectations a
few media tests which are flaky in DEBUG mode only.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-15

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Move icon database to application data directory.
https://bugs.webkit.org/show_bug.cgi?id=91195

Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-07-15
Reviewed by Rob Buis.

RIM PR: 156852
Create icon database in application data directory instead of
database or local storage directory, by doing this we can make
things easier when clearing database or local storage data files.

Internally reviewed by Charles Wei <charles.wei@torchmobile.com.cn>

* WebCoreSupport/IconDatabaseClientBlackBerry.cpp:
(WebCore::IconDatabaseClientBlackBerry::initIconDatabase):

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