Eliminate internals.setMockScrollbarsEnabled()
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Apr 2014 00:32:14 +0000 (00:32 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Apr 2014 00:32:14 +0000 (00:32 +0000)
commitb80bcdad63467a82547a2579357b518ee0e3f59b
treea8d45ea9c59441f3651b4aa2adbc148cd149d656
parentd05255e59c75f1b66b00b43b020c1c6f06f06446
Eliminate internals.setMockScrollbarsEnabled()
https://bugs.webkit.org/show_bug.cgi?id=132085

Reviewed by Tim Horton.

Source/WebCore:
This was essentially unused, and also didnt work.

* testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::restoreTo):
(WebCore::InternalSettings::setMockScrollbarsEnabled): Deleted.
* testing/InternalSettings.h:
* testing/InternalSettings.idl:

Tools:
* DumpRenderTree/mac/DumpRenderTree.mm: (resetWebPreferencesToConsistentValues):
No need to reset the preference, there is no way it can change.

LayoutTests:
Remove calls, all of which were resetting it to true (which is the default, and
the only value that makes sense).

* compositing/geometry/fixed-position.html:
* compositing/geometry/horizontal-scroll-composited.html:
* compositing/geometry/vertical-scroll-composited.html:
* compositing/iframes/resources/scrollgrandchild-inner.html:
* compositing/overflow/fixed-position-ancestor-clip.html:
* compositing/resources/mock_scrollbars.js: Removed.
* css3/filters/blur-filter-page-scroll-parents.html:
* css3/filters/blur-filter-page-scroll-self.html:
* css3/filters/blur-filter-page-scroll.html:
* fast/dom/window-scroll-scaling.html:
* fast/events/touch/gesture/gesture-scrollbar.html:
* fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html:
* fast/sub-pixel/transformed-iframe-copy-on-scroll.html:
* media/video-controls-rendering.html:
* media/video-zoom.html:
* scrollingcoordinator/resources/non-fast-scrollable-region-testing.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@167732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
23 files changed:
LayoutTests/ChangeLog
LayoutTests/compositing/geometry/fixed-position.html
LayoutTests/compositing/geometry/horizontal-scroll-composited.html
LayoutTests/compositing/geometry/vertical-scroll-composited.html
LayoutTests/compositing/iframes/resources/scrollgrandchild-inner.html
LayoutTests/compositing/overflow/fixed-position-ancestor-clip.html
LayoutTests/compositing/resources/mock_scrollbars.js [deleted file]
LayoutTests/css3/filters/blur-filter-page-scroll-parents.html
LayoutTests/css3/filters/blur-filter-page-scroll-self.html
LayoutTests/css3/filters/blur-filter-page-scroll.html
LayoutTests/fast/dom/window-scroll-scaling.html
LayoutTests/fast/events/touch/gesture/gesture-scrollbar.html
LayoutTests/fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html
LayoutTests/fast/sub-pixel/transformed-iframe-copy-on-scroll.html
LayoutTests/media/video-controls-rendering.html
LayoutTests/media/video-zoom.html
LayoutTests/scrollingcoordinator/resources/non-fast-scrollable-region-testing.js
Source/WebCore/ChangeLog
Source/WebCore/testing/InternalSettings.cpp
Source/WebCore/testing/InternalSettings.h
Source/WebCore/testing/InternalSettings.idl
Tools/ChangeLog
Tools/DumpRenderTree/mac/DumpRenderTree.mm