<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[202116] trunk</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/202116">202116</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2016-06-15 16:44:57 -0700 (Wed, 15 Jun 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>[iOS WK2] Make it possible to test the Next/Previous buttons in the keyboard accessory bar
https://bugs.webkit.org/show_bug.cgi?id=158714
Reviewed by Enrica Casucci.
Add UIScriptController.keyboardAccessoryBar{Next,Previous} and hook it up to the WKContentView
method that gets called from UIKit.
Add a test that exercises it.
Source/WebKit2:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView keyboardAssistantBarNext]):
(-[WKWebView keyboardAssistantBarPrevious]):
* UIProcess/API/Cocoa/WKWebViewPrivate.h:
Tools:
* WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
* WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
(WTR::UIScriptController::keyboardAccessoryBarNext):
(WTR::UIScriptController::keyboardAccessoryBarPrevious):
* WebKitTestRunner/UIScriptContext/UIScriptController.h:
* WebKitTestRunner/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptController::keyboardAccessoryBarNext):
(WTR::UIScriptController::keyboardAccessoryBarPrevious):
LayoutTests:
* TestExpectations:
* fast/forms/ios/accessory-bar-navigation-expected.txt: Added.
* fast/forms/ios/accessory-bar-navigation.html: Added.
* fast/forms/ios/resources/zooming-test-utils.js: Added.
(testZoomAfterTap):
(tableFromJSON):
* platform/ios-simulator-wk2/TestExpectations:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsfastformsiosresourceszoomingtestutilsjs">trunk/LayoutTests/fast/forms/ios/resources/zooming-test-utils.js</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewmm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewPrivateh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsWebKitTestRunnerUIScriptContextBindingsUIScriptControlleridl">trunk/Tools/WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl</a></li>
<li><a href="#trunkToolsWebKitTestRunnerUIScriptContextUIScriptControllercpp">trunk/Tools/WebKitTestRunner/UIScriptContext/UIScriptController.cpp</a></li>
<li><a href="#trunkToolsWebKitTestRunnerUIScriptContextUIScriptControllerh">trunk/Tools/WebKitTestRunner/UIScriptContext/UIScriptController.h</a></li>
<li><a href="#trunkToolsWebKitTestRunneriosUIScriptControllerIOSmm">trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastformsiosaccessorybarnavigationexpectedtxt">trunk/LayoutTests/fast/forms/ios/accessory-bar-navigation-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastformsiosaccessorybarnavigationhtml">trunk/LayoutTests/fast/forms/ios/accessory-bar-navigation.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (202115 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-06-15 23:34:07 UTC (rev 202115)
+++ trunk/LayoutTests/ChangeLog        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2016-06-13 Simon Fraser <simon.fraser@apple.com>
+
+ [iOS WK2] Make it possible to test the Next/Previous buttons in the keyboard accessory bar
+ https://bugs.webkit.org/show_bug.cgi?id=158714
+
+ Reviewed by Enrica Casucci.
+
+ Add UIScriptController.keyboardAccessoryBar{Next,Previous} and hook it up to the WKContentView
+ method that gets called from UIKit.
+
+ Add a test that exercises it.
+
+ * TestExpectations:
+ * fast/forms/ios/accessory-bar-navigation-expected.txt: Added.
+ * fast/forms/ios/accessory-bar-navigation.html: Added.
+ * fast/forms/ios/resources/zooming-test-utils.js: Added.
+ (testZoomAfterTap):
+ (tableFromJSON):
+ * platform/ios-simulator-wk2/TestExpectations:
+
</ins><span class="cx"> 2016-06-15 Dean Jackson <dino@apple.com>
</span><span class="cx">
</span><span class="cx"> [mac] LayoutTest transforms/undecomposable.html is a flaky timeout
</span></span></pre></div>
<a id="trunkLayoutTestsfastformsiosaccessorybarnavigationexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/forms/ios/accessory-bar-navigation-expected.txt (0 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/ios/accessory-bar-navigation-expected.txt         (rev 0)
+++ trunk/LayoutTests/fast/forms/ios/accessory-bar-navigation-expected.txt        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+Tests zooming into a text input on tap.
+
+
+After focus first field
+
+tap location        { x: 38.000, y: 446.000 }
+scale        0.749
+visibleRect        { left: 0.000, top: 266.208, width: 427.000, height: 640.500 }
+After move to second field
+
+scale        0.749
+visibleRect        { left: 0.000, top: 687.203, width: 427.000, height: 640.500 }
+After move to first field
+
+scale        0.749
+visibleRect        { left: 0.000, top: 266.208, width: 427.000, height: 640.500 }
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsiosaccessorybarnavigationhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/forms/ios/accessory-bar-navigation.html (0 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/ios/accessory-bar-navigation.html         (rev 0)
+++ trunk/LayoutTests/fast/forms/ios/accessory-bar-navigation.html        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -0,0 +1,110 @@
</span><ins>+<!DOCTYPE html> <!-- webkit-test-runner [ useFlexibleViewport=true ] -->
+
+<html>
+<head>
+ <meta name="viewport" content="initial-scale=0.75, user-scalable=no">
+ <style>
+ input[type="text"] {
+ display: block;
+ margin: 400px 20px;
+ }
+ button {
+ display: block;
+ }
+ </style>
+
+ <script src="resources/zooming-test-utils.js"></script>
+ <script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ }
+
+ function getMoveUIScript(nextOrPrevious)
+ {
+ return `
+ (function() {
+ uiController.didEndZoomingCallback = function() {
+ var result = {
+ 'scale' : uiController.zoomScale,
+ 'visibleRect' : uiController.contentVisibleRect
+ };
+
+ var result = JSON.stringify(result, function(key, value) {
+ if (typeof value === "number")
+ return value.toFixed(3);
+ return value;
+ });
+
+ uiController.uiScriptComplete(result);
+ };
+ uiController.keyboardAccessoryBar${nextOrPrevious}();
+ })();`
+ }
+
+ function moveToNextField()
+ {
+ var uiScript = getMoveUIScript('Next');
+ testRunner.runUIScript(uiScript, function(result) {
+ var header = document.createElement('h1');
+ header.textContent = 'After move to second field';
+ document.body.appendChild(header);
+
+ var results = tableFromJSON(result);
+ document.body.appendChild(results);
+
+ moveToPreviousField();
+ });
+ }
+
+ function moveToPreviousField()
+ {
+ var uiScript = getMoveUIScript('Previous');
+ testRunner.runUIScript(uiScript, function(result) {
+ var header = document.createElement('h1');
+ header.textContent = 'After move to first field';
+ document.body.appendChild(header);
+
+ var results = tableFromJSON(result);
+ document.body.appendChild(results);
+ testRunner.notifyDone();
+ });
+ }
+
+ function tapOnElement(targetElement, xOffset, yOffset)
+ {
+ var point = getPointInsideElement(targetElement, xOffset, yOffset);
+
+ var uiScript = zoomAfterSingleTapUIScript(point.x, point.y);
+ testRunner.runUIScript(uiScript, function(result) {
+ var header = document.createElement('h1');
+ header.textContent = 'After focus first field';
+ document.body.appendChild(header);
+
+ var results = tableFromJSON(result);
+ document.body.appendChild(results);
+
+ moveToNextField();
+ });
+ }
+
+ function doTest()
+ {
+ if (!window.testRunner || !testRunner.runUIScript)
+ return;
+
+ tapOnElement(document.getElementById('input'), 10, 10);
+ }
+
+ window.addEventListener('load', doTest, false);
+ </script>
+</head>
+<body>
+
+<p>Tests zooming into a text input on tap.</p>
+
+<input id="input" type="text">
+<input id="input2" type="text">
+
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsfastformsiosresourceszoomingtestutilsjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/forms/ios/resources/zooming-test-utils.js (202115 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/forms/ios/resources/zooming-test-utils.js        2016-06-15 23:34:07 UTC (rev 202115)
+++ trunk/LayoutTests/fast/forms/ios/resources/zooming-test-utils.js        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -4,9 +4,8 @@
</span><span class="cx"> if (!window.testRunner || !testRunner.runUIScript)
</span><span class="cx"> return;
</span><span class="cx">
</span><del>- // Tap near the right end of the text.
</del><span class="cx"> var point = getPointInsideElement(targetElement, xOffset, yOffset);
</span><del>-
</del><ins>+
</ins><span class="cx"> var uiScript = zoomAfterSingleTapUIScript(point.x, point.y);
</span><span class="cx"> testRunner.runUIScript(uiScript, function(result) {
</span><span class="cx"> var results = tableFromJSON(result);
</span><span class="lines">@@ -25,7 +24,7 @@
</span><span class="cx"> 'scale' : uiController.zoomScale,
</span><span class="cx"> 'visibleRect' : uiController.contentVisibleRect
</span><span class="cx"> };
</span><del>-
</del><ins>+
</ins><span class="cx"> var result = JSON.stringify(result, function(key, value) {
</span><span class="cx"> if (typeof value === "number")
</span><span class="cx"> return value.toFixed(3);
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (202115 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2016-06-15 23:34:07 UTC (rev 202115)
+++ trunk/Source/WebKit2/ChangeLog        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2016-06-13 Simon Fraser <simon.fraser@apple.com>
+
+ [iOS WK2] Make it possible to test the Next/Previous buttons in the keyboard accessory bar
+ https://bugs.webkit.org/show_bug.cgi?id=158714
+
+ Reviewed by Enrica Casucci.
+
+ Add UIScriptController.keyboardAccessoryBar{Next,Previous} and hook it up to the WKContentView
+ method that gets called from UIKit.
+
+ Add a test that exercises it.
+
+ * UIProcess/API/Cocoa/WKWebView.mm:
+ (-[WKWebView keyboardAssistantBarNext]):
+ (-[WKWebView keyboardAssistantBarPrevious]):
+ * UIProcess/API/Cocoa/WKWebViewPrivate.h:
+
</ins><span class="cx"> 2016-06-15 Dean Jackson <dino@apple.com>
</span><span class="cx">
</span><span class="cx"> RTL <select> forms are misplaced
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm (202115 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm        2016-06-15 23:34:07 UTC (rev 202115)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -4438,6 +4438,16 @@
</span><span class="cx"> return [self convertPoint:point toView:self._currentContentView];
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+- (void)keyboardAccessoryBarNext
+{
+ [_contentView accessoryTab:YES];
+}
+
+- (void)keyboardAccessoryBarPrevious
+{
+ [_contentView accessoryTab:NO];
+}
+
</ins><span class="cx"> #endif // PLATFORM(IOS)
</span><span class="cx">
</span><span class="cx"> #if PLATFORM(MAC)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h (202115 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h        2016-06-15 23:34:07 UTC (rev 202115)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -250,6 +250,9 @@
</span><span class="cx"> @property (nonatomic, readonly) CGRect _contentVisibleRect WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</span><span class="cx"> - (CGPoint)_convertPointFromContentsToView:(CGPoint)point WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</span><span class="cx"> - (CGPoint)_convertPointFromViewToContents:(CGPoint)point WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</span><ins>+
+- (void)keyboardAccessoryBarNext;
+- (void)keyboardAccessoryBarPrevious;
</ins><span class="cx"> #endif
</span><span class="cx">
</span><span class="cx"> #if !TARGET_OS_IPHONE
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (202115 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2016-06-15 23:34:07 UTC (rev 202115)
+++ trunk/Tools/ChangeLog        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -1,3 +1,24 @@
</span><ins>+2016-06-13 Simon Fraser <simon.fraser@apple.com>
+
+ [iOS WK2] Make it possible to test the Next/Previous buttons in the keyboard accessory bar
+ https://bugs.webkit.org/show_bug.cgi?id=158714
+
+ Reviewed by Enrica Casucci.
+
+ Add UIScriptController.keyboardAccessoryBar{Next,Previous} and hook it up to the WKContentView
+ method that gets called from UIKit.
+
+ Add a test that exercises it.
+
+ * WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl:
+ * WebKitTestRunner/UIScriptContext/UIScriptController.cpp:
+ (WTR::UIScriptController::keyboardAccessoryBarNext):
+ (WTR::UIScriptController::keyboardAccessoryBarPrevious):
+ * WebKitTestRunner/UIScriptContext/UIScriptController.h:
+ * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
+ (WTR::UIScriptController::keyboardAccessoryBarNext):
+ (WTR::UIScriptController::keyboardAccessoryBarPrevious):
+
</ins><span class="cx"> 2016-06-15 Sam Weinig <sam@webkit.org>
</span><span class="cx">
</span><span class="cx"> Improve HashMap and HashSet support for Ref
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerUIScriptContextBindingsUIScriptControlleridl"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl (202115 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl        2016-06-15 23:34:07 UTC (rev 202115)
+++ trunk/Tools/WebKitTestRunner/UIScriptContext/Bindings/UIScriptController.idl        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -42,6 +42,9 @@
</span><span class="cx"> void keyDownUsingHardwareKeyboard(DOMString character, object callback);
</span><span class="cx"> void keyUpUsingHardwareKeyboard(DOMString character, object callback);
</span><span class="cx">
</span><ins>+ void keyboardAccessoryBarNext();
+ void keyboardAccessoryBarPrevious();
+
</ins><span class="cx"> attribute object didShowKeyboardCallback;
</span><span class="cx"> attribute object didHideKeyboardCallback;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerUIScriptContextUIScriptControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/UIScriptContext/UIScriptController.cpp (202115 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/UIScriptContext/UIScriptController.cpp        2016-06-15 23:34:07 UTC (rev 202115)
+++ trunk/Tools/WebKitTestRunner/UIScriptContext/UIScriptController.cpp        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -150,6 +150,14 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void UIScriptController::keyboardAccessoryBarNext()
+{
+}
+
+void UIScriptController::keyboardAccessoryBarPrevious()
+{
+}
+
</ins><span class="cx"> double UIScriptController::zoomScale() const
</span><span class="cx"> {
</span><span class="cx"> return 1;
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerUIScriptContextUIScriptControllerh"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/UIScriptContext/UIScriptController.h (202115 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/UIScriptContext/UIScriptController.h        2016-06-15 23:34:07 UTC (rev 202115)
+++ trunk/Tools/WebKitTestRunner/UIScriptContext/UIScriptController.h        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -57,6 +57,9 @@
</span><span class="cx"> void keyDownUsingHardwareKeyboard(JSStringRef character, JSValueRef callback);
</span><span class="cx"> void keyUpUsingHardwareKeyboard(JSStringRef character, JSValueRef callback);
</span><span class="cx">
</span><ins>+ void keyboardAccessoryBarNext();
+ void keyboardAccessoryBarPrevious();
+
</ins><span class="cx"> void setWillBeginZoomingCallback(JSValueRef);
</span><span class="cx"> JSValueRef willBeginZoomingCallback() const;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunneriosUIScriptControllerIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm (202115 => 202116)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm        2016-06-15 23:34:07 UTC (rev 202115)
+++ trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm        2016-06-15 23:44:57 UTC (rev 202116)
</span><span class="lines">@@ -175,6 +175,18 @@
</span><span class="cx"> }];
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void UIScriptController::keyboardAccessoryBarNext()
+{
+ TestRunnerWKWebView *webView = TestController::singleton().mainWebView()->platformView();
+ [webView keyboardAccessoryBarNext];
+}
+
+void UIScriptController::keyboardAccessoryBarPrevious()
+{
+ TestRunnerWKWebView *webView = TestController::singleton().mainWebView()->platformView();
+ [webView keyboardAccessoryBarPrevious];
+}
+
</ins><span class="cx"> double UIScriptController::minimumZoomScale() const
</span><span class="cx"> {
</span><span class="cx"> TestRunnerWKWebView *webView = TestController::singleton().mainWebView()->platformView();
</span></span></pre>
</div>
</div>
</body>
</html>