Title: [217563] trunk/Tools
Revision
217563
Author
[email protected]
Date
2017-05-30 11:29:55 -0700 (Tue, 30 May 2017)

Log Message

[WinCairo] TestWebKitAPI: ASSERTION FAILED: m_eglDisplay == EGL_NO_DISPLAY
https://bugs.webkit.org/show_bug.cgi?id=172702

Patch by Fujii Hironori <[email protected]> on 2017-05-30
Reviewed by Alex Christensen.

EGL PlatformDisplay needs to be shut down before existing a
program on Windows.

* TestWebKitAPI/Tests/WebKit/win/ScaleWebView.cpp:
(TestWebKitAPI::ScaleWebView::TearDown): Call shutDownWebKit().
* TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp:
(TestWebKitAPI::WebViewDestruction::TearDown): Ditto.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (217562 => 217563)


--- trunk/Tools/ChangeLog	2017-05-30 18:29:13 UTC (rev 217562)
+++ trunk/Tools/ChangeLog	2017-05-30 18:29:55 UTC (rev 217563)
@@ -1,3 +1,18 @@
+2017-05-30  Fujii Hironori  <[email protected]>
+
+        [WinCairo] TestWebKitAPI: ASSERTION FAILED: m_eglDisplay == EGL_NO_DISPLAY
+        https://bugs.webkit.org/show_bug.cgi?id=172702
+
+        Reviewed by Alex Christensen.
+
+        EGL PlatformDisplay needs to be shut down before existing a
+        program on Windows.
+
+        * TestWebKitAPI/Tests/WebKit/win/ScaleWebView.cpp:
+        (TestWebKitAPI::ScaleWebView::TearDown): Call shutDownWebKit().
+        * TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp:
+        (TestWebKitAPI::WebViewDestruction::TearDown): Ditto.
+
 2017-05-30  Per Arne Vollan  <[email protected]>
 
         [Win] fast/shadow-dom/fullscreen-in-slot-fullscreenElement.html is flaky.

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit/win/ScaleWebView.cpp (217562 => 217563)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit/win/ScaleWebView.cpp	2017-05-30 18:29:13 UTC (rev 217562)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit/win/ScaleWebView.cpp	2017-05-30 18:29:55 UTC (rev 217563)
@@ -57,6 +57,7 @@
 void ScaleWebView::TearDown()
 {
     m_webView = 0;
+    shutDownWebKit();
 }
 
 // Tests that scaling a WebView before calling IWebView::initWithFrame doesn't crash.

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp (217562 => 217563)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp	2017-05-30 18:29:13 UTC (rev 217562)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit/win/WebViewDestruction.cpp	2017-05-30 18:29:55 UTC (rev 217563)
@@ -127,6 +127,7 @@
     EXPECT_GT(currentWebViewCount, 0);
 
     m_webView = 0;
+    shutDownWebKit();
 
     EXPECT_EQ(webViewCount(), currentWebViewCount - 1);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to