[mac-wk1] LayoutTest media/modern-media-controls/airplay-button/airplay-button.html...
authorgraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Mar 2017 21:05:58 +0000 (21:05 +0000)
committergraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Mar 2017 21:05:58 +0000 (21:05 +0000)
https://bugs.webkit.org/show_bug.cgi?id=168409
<rdar://problem/30799198>

Unreview. Print the backtrace when we suspend scripted animations.

* page/Page.cpp:
(WebCore::Page::suspendScriptedAnimations):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214621 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/page/Page.cpp

index 4febddd..6bca76f 100644 (file)
         https://bugs.webkit.org/show_bug.cgi?id=168409
         <rdar://problem/30799198>
 
+        Unreview. Print the backtrace when we suspend scripted animations.
+
+        * page/Page.cpp:
+        (WebCore::Page::suspendScriptedAnimations):
+
+2017-03-30  Antoine Quint  <graouts@apple.com>
+
+        [mac-wk1] LayoutTest media/modern-media-controls/airplay-button/airplay-button.html is a flaky timeout
+        https://bugs.webkit.org/show_bug.cgi?id=168409
+        <rdar://problem/30799198>
+
         Unreview. Pring the backtrace when we suspend ScriptedAnimationController.
 
         * dom/ScriptedAnimationController.cpp:
index 4159c6d..30f0812 100644 (file)
@@ -1138,6 +1138,8 @@ void Page::removeActivityStateChangeObserver(ActivityStateChangeObserver& observ
 
 void Page::suspendScriptedAnimations()
 {
+    if (settings().shouldDispatchRequestAnimationFrameEvents())
+        WTFReportBacktrace();
     m_scriptedAnimationsSuspended = true;
     for (Frame* frame = &mainFrame(); frame; frame = frame->tree().traverseNext()) {
         if (frame->document())