Prevent app nap for the active tab to minimize the risks of breakage. From the AppNap documentation [1], the app is only a candidate for app nap if it not the foreground app. However, in the Safari case, the foreground app is Safari (UIProcess) and the same policy does not apply to our foreground WebContent process unless we explicitly make it so. [1] https://developer.apple.com/library/content/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/AppNap.html
<rdar://problem/30876965>
Created attachment 303926 [details] Patch
<rdar://problem/30318924>
Comment on attachment 303926 [details] Patch Clearing flags on attachment: 303926 Committed r213649: <http://trac.webkit.org/changeset/213649>
All reviewed patches have been landed. Closing bug.