We have almost identical logic to suspend and resume a web page for iOS and non-iOS ports. We should unify this machinery.
Created attachment 266933 [details] Patch
Comment on attachment 266933 [details] Patch Attachment 266933 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/534217 New failing tests: storage/indexeddb/mutating-cursor.html
Created attachment 266943 [details] Archive of layout-test-results from ews115 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-yosemite Platform: Mac OS X 10.10.5
The test failing is storage/indexeddb/mutating-cursor.html It's flaky already, nothing to do with this patch.
Comment on attachment 266933 [details] Patch Clearing flags on attachment: 266933 Committed r193884: <http://trac.webkit.org/changeset/193884>
All reviewed patches have been landed. Closing bug.
<rdar://problem/23834063>