Title: [229811] trunk/Tools
Revision
229811
Author
[email protected]
Date
2018-03-21 10:48:57 -0700 (Wed, 21 Mar 2018)

Log Message

Fix DataInteractionTests.InjectedBundleAllowPerformTwoStepDrop to use synchronouslyLoadTestPageNamed
https://bugs.webkit.org/show_bug.cgi?id=183858

Reviewed by Wenson Hsieh.

Fix DataInteractionTests.InjectedBundleAllowPerformTwoStepDrop to use synchronouslyLoadTestPageNamed
instead of loadTestPageNamed because injecting script.

* TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (229810 => 229811)


--- trunk/Tools/ChangeLog	2018-03-21 17:38:32 UTC (rev 229810)
+++ trunk/Tools/ChangeLog	2018-03-21 17:48:57 UTC (rev 229811)
@@ -1,3 +1,16 @@
+2018-03-21  Chris Dumez  <[email protected]>
+
+        Fix DataInteractionTests.InjectedBundleAllowPerformTwoStepDrop to use synchronouslyLoadTestPageNamed
+        https://bugs.webkit.org/show_bug.cgi?id=183858
+
+        Reviewed by Wenson Hsieh.
+
+        Fix DataInteractionTests.InjectedBundleAllowPerformTwoStepDrop to use synchronouslyLoadTestPageNamed
+        instead of loadTestPageNamed because injecting script.
+
+        * TestWebKitAPI/Tests/ios/DataInteractionTests.mm:
+        (TestWebKitAPI::TEST):
+
 2018-03-21  Zalan Bujtas  <[email protected]>
 
         [LayoutReloaded] Enable formatting state for InlineFormattingContext

Modified: trunk/Tools/TestWebKitAPI/Tests/ios/DataInteractionTests.mm (229810 => 229811)


--- trunk/Tools/TestWebKitAPI/Tests/ios/DataInteractionTests.mm	2018-03-21 17:38:32 UTC (rev 229810)
+++ trunk/Tools/TestWebKitAPI/Tests/ios/DataInteractionTests.mm	2018-03-21 17:48:57 UTC (rev 229811)
@@ -1169,7 +1169,7 @@
     [configuration.processPool _setObject:@NO forBundleParameter:@"BundleOverridePerformTwoStepDrop"];
 
     auto webView = adoptNS([[TestWKWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 500) configuration:configuration]);
-    [webView loadTestPageNamed:@"autofocus-contenteditable"];
+    [webView synchronouslyLoadTestPageNamed:@"autofocus-contenteditable"];
     [webView stringByEvaluatingJavaScript:@"getSelection().removeAllRanges()"];
 
     auto simulatedItemProvider = adoptNS([[UIItemProvider alloc] init]);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to