Throttle DOM timers on hidden pages.
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
index f70d137..f2d1e54 100644 (file)
@@ -1,3 +1,19 @@
+2012-10-08  Kiran Muppala  <cmuppala@apple.com>
+
+        Throttle DOM timers on hidden pages.
+        https://bugs.webkit.org/show_bug.cgi?id=98474
+
+        Reviewed by Maciej Stachowiak.
+
+        Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
+        DumpRenderTree to modify the visibility state of a page.  The latter
+        is needed to test throttling of timers on hidden pages through DumpRenderTree.
+
+        * Configurations/FeatureDefines.xcconfig:
+        * WebView/WebView.mm:
+        (-[WebView _setVisibilityState:isInitialState:]):
+        * WebView/WebViewPrivate.h:
+
 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
         Rename first/second to key/value in HashMap iterators