Regression(r233865): Causes synchronous IPC in the middle of layout
[WebKit-https.git] / Tools / TestWebKitAPI / Tests / mac / FullscreenZoomInitialFrame.mm
index d8e3579..e79eb51 100644 (file)
@@ -156,6 +156,7 @@ void FullscreenZoomInitialFrame::runTest(View view)
 {
     RetainPtr<NSWindow> window = adoptNS([[NSWindow alloc] initWithContentRect:view.frame styleMask:NSWindowStyleMaskBorderless backing:NSBackingStoreBuffered defer:NO]);
     [window.get().contentView addSubview:view];
+    [window makeKeyAndOrderFront:view];
 
     setPageScale(view, 2);