I’ve recently landed a string of patches which enable new WK2 testing 
functionality, particularly for iOS. These consist of a new function on 
TestRunner, testrunner.runUIScript(), and the creation of a JS context in the 
UI process which runs script that can call into UIScriptController. There is 
documentation here: 
https://trac.webkit.org/wiki/Writing%20Layout%20Tests%20to%20test%20iOS%20UI%20features
 
<https://trac.webkit.org/wiki/Writing%20Layout%20Tests%20to%20test%20iOS%20UI%20features>

The basics are now implemented that allow for testing of things like viewport 
sizing and single- and double-tap behaviors. If you are landing a feature or 
bug fix for iOS that is not currently testable, please add functionality to 
this test harness so that you can land a layout test with your patch.

Reviewers, please be on the look-out for such patches, and be willing to r- 
them if a test is lacking.

Simon

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to