Add a test ensuring that scrolling in the middle of a page can't start a swipe gesture
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Sep 2015 19:22:01 +0000 (19:22 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Sep 2015 19:22:01 +0000 (19:22 +0000)
commite43a605d26faf5840f5c39c1aa71c583737a15e3
tree92ed49d4621f12ec3e4d0c7e0cd14377d1dcb091
parent8e478fb13c7c4905b5e797be3bc41cbbc99bf1ab
Add a test ensuring that scrolling in the middle of a page can't start a swipe gesture
https://bugs.webkit.org/show_bug.cgi?id=148904

Reviewed by Myles Maxfield.

* swipe/main-frame-pinning-requirement.html: Added.

* WebKitTestRunner/TestController.cpp:
(WTR::parseBooleanTestHeaderValue):
(WTR::updateViewOptionsFromTestHeader):
Check for the key "useThreadedScrolling".
Add some code to check for "true" and "false" for boolean options.

(WTR::TestController::viewOptionsForTest):
Apply the test's overrides last, even after the platform's.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/swipe/main-frame-pinning-requirement-expected.txt [new file with mode: 0644]
LayoutTests/swipe/main-frame-pinning-requirement.html [new file with mode: 0644]
Tools/ChangeLog
Tools/WebKitTestRunner/TestController.cpp