Modified: trunk/Tools/ChangeLog (238295 => 238296)
--- trunk/Tools/ChangeLog 2018-11-16 20:13:24 UTC (rev 238295)
+++ trunk/Tools/ChangeLog 2018-11-16 20:18:47 UTC (rev 238296)
@@ -1,3 +1,16 @@
+2018-11-16 Takashi Komori <[email protected]>
+
+ [WinCairo][WebKitTestRunner] Test contents window is displayed while testing.
+ https://bugs.webkit.org/show_bug.cgi?id=191593
+
+ Reviewed by Alex Christensen.
+
+ Hide TestRunner window and taskbar button.
+
+ * WebKitTestRunner/win/PlatformWebViewWin.cpp:
+ (WTR::PlatformWebView::PlatformWebView):
+ (WTR::PlatformWebView::windowSnapshotImage):
+
2018-11-16 Alex Christensen <[email protected]>
Add API to disable safe browsing checks
Modified: trunk/Tools/WebKitTestRunner/win/PlatformWebViewWin.cpp (238295 => 238296)
--- trunk/Tools/WebKitTestRunner/win/PlatformWebViewWin.cpp 2018-11-16 20:13:24 UTC (rev 238295)
+++ trunk/Tools/WebKitTestRunner/win/PlatformWebViewWin.cpp 2018-11-16 20:18:47 UTC (rev 238296)
@@ -69,12 +69,12 @@
RECT viewRect = {0, 0, 800, 600};
m_window = ::CreateWindowEx(
- 0,
+ WS_EX_TOOLWINDOW,
hostWindowClassName,
testRunnerWindowName,
WS_OVERLAPPEDWINDOW,
- 0,
- 0,
+ -viewRect.right,
+ -viewRect.bottom,
viewRect.right,
viewRect.bottom,
0,
@@ -218,6 +218,7 @@
if (!bitmap)
return nullptr;
+ ::InvalidateRect(m_window, nullptr, true);
::SelectObject(memoryDC.get(), bitmap.get());
::BitBlt(memoryDC.get(),
0,