Hence, adding a private API to disable window occlusion detection will allow a more robust fix for WebKitTestRunner issues with window occlusion.
Created attachment 190803 [details]
Comment on attachment 190803 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=190803&action=review
> +- (void)disableWindowOcclusionDetection;
> +- (void)enableWindowOcclusionDetection;
Normally we'd do this like setWindowOcclustionDetectionEnabled:(BOOL)
Created attachment 190808 [details]
(In reply to comment #3)
> (From update of attachment 190803 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=190803&action=review
> > Source/WebKit2/UIProcess/API/mac/WKViewPrivate.h:63
> > +- (void)disableWindowOcclusionDetection;
> > +- (void)enableWindowOcclusionDetection;
> Normally we'd do this like setWindowOcclustionDetectionEnabled:(BOOL)
Got it. I replaced the two methods with a single setter.
Comment on attachment 190808 [details]
Clearing flags on attachment: 190808
Committed r144389: <http://trac.webkit.org/changeset/144389>
All reviewed patches have been landed. Closing bug.