Changeset 143552 in webkit


Ignore:
Timestamp:
Feb 20, 2013 6:41:56 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Disable window occlusion notifications for App Store on Mac.
https://bugs.webkit.org/show_bug.cgi?id=110417

Patch by Kiran Muppala <cmuppala@apple.com> on 2013-02-20
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.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r143544 r143552  
     12013-02-20  Kiran Muppala  <cmuppala@apple.com>
     2
     3        Disable window occlusion notifications for App Store on Mac.
     4        https://bugs.webkit.org/show_bug.cgi?id=110417
     5
     6        Reviewed by Simon Fraser.
     7
     8        Temporary fix to workaround issues with window occlusion notifications
     9        in App Store.
     10
     11        * UIProcess/API/mac/WKView.mm:
     12        (+[WKView _registerWindowOcclusionNotificationHandlers]): Return early
     13        if the main bundle identifier matches that of App Store.
     14
    1152013-02-20  Mark Rowe  <mrowe@apple.com>
    216
  • trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm

    r143537 r143552  
    23142314+ (BOOL)_registerWindowOcclusionNotificationHandlers
    23152315{
     2316    // Disable window occlusion notifications for App Store until <rdar://problem/13255270> is resolved.
     2317    static bool isAppStore = [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.appstore"];
     2318    if (isAppStore)
     2319        return NO;
     2320
    23162321    if (windowOcclusionNotificationsAreRegistered)
    23172322        return YES;
Note: See TracChangeset for help on using the changeset viewer.