Title: [143634] tags/Safari-537.31.6/Source/WebKit2
Revision
143634
Author
[email protected]
Date
2013-02-21 11:35:53 -0800 (Thu, 21 Feb 2013)

Log Message

Merged r143552.  <rdar://problem/13157837>

Modified Paths

Diff

Modified: tags/Safari-537.31.6/Source/WebKit2/ChangeLog (143633 => 143634)


--- tags/Safari-537.31.6/Source/WebKit2/ChangeLog	2013-02-21 19:30:02 UTC (rev 143633)
+++ tags/Safari-537.31.6/Source/WebKit2/ChangeLog	2013-02-21 19:35:53 UTC (rev 143634)
@@ -1,3 +1,21 @@
+2013-02-21  Lucas Forschler  <[email protected]>
+
+        Merge r143552
+
+    2013-02-20  Kiran Muppala  <[email protected]>
+
+            Disable window occlusion notifications for App Store on Mac.
+            https://bugs.webkit.org/show_bug.cgi?id=110417
+
+            Reviewed by Simon Fraser.
+
+            Temporary fix to workaround issues with window occlusion notifications
+            in App Store.
+
+            * UIProcess/API/mac/WKView.mm:
+            (+[WKView _registerWindowOcclusionNotificationHandlers]): Return early
+            if the main bundle identifier matches that of App Store.
+
 2013-02-20  Lucas Forschler  <[email protected]>
 
         Merge r143418

Modified: tags/Safari-537.31.6/Source/WebKit2/UIProcess/API/mac/WKView.mm (143633 => 143634)


--- tags/Safari-537.31.6/Source/WebKit2/UIProcess/API/mac/WKView.mm	2013-02-21 19:30:02 UTC (rev 143633)
+++ tags/Safari-537.31.6/Source/WebKit2/UIProcess/API/mac/WKView.mm	2013-02-21 19:35:53 UTC (rev 143634)
@@ -2313,6 +2313,11 @@
 
 + (BOOL)_registerWindowOcclusionNotificationHandlers
 {
+    // Disable window occlusion notifications for App Store until <rdar://problem/13255270> is resolved.
+    static bool isAppStore = [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.appstore"];
+    if (isAppStore)
+        return NO;
+
     if (windowOcclusionNotificationsAreRegistered)
         return YES;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to