Unreviewed, fix bad check in API test added in r239080.
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Dec 2018 02:54:17 +0000 (02:54 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Dec 2018 02:54:17 +0000 (02:54 +0000)
* TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239095 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm

index f92a8bb..e31df38 100644 (file)
@@ -1,3 +1,9 @@
+2018-12-11  Chris Dumez  <cdumez@apple.com>
+
+        Unreviewed, fix bad check in API test added in r239080.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:
+
 2018-12-11  Fujii Hironori  <Hironori.Fujii@sony.com>
 
         [Win][Clang] Fix warning -Wmissing-field-initializers
index 2b2e7c8..149ec1a 100644 (file)
@@ -2534,7 +2534,7 @@ TEST(ProcessSwap, ConcurrentHistoryNavigations)
     TestWebKitAPI::Util::run(&done);
     done = false;
 
-    EXPECT_EQ(webkitPID, [webView _webProcessIdentifier]);
+    EXPECT_NE(applePID, [webView _webProcessIdentifier]);
     EXPECT_WK_STREQ(@"pson://www.webkit.org/main.html", [[webView URL] absoluteString]);
 
     EXPECT_WK_STREQ(@"pson://www.webkit.org/main.html", [backForwardList.currentItem.URL absoluteString]);