<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[278245] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/278245">278245</a></dd>
<dt>Author</dt> <dd>heycam@apple.com</dd>
<dt>Date</dt> <dd>2021-05-29 16:29:26 -0700 (Sat, 29 May 2021)</dd>
</dl>

<h3>Log Message</h3>
<pre>Rename Internals.mainThreadScrollingReasons to synchronousScrollingReasons
https://bugs.webkit.org/show_bug.cgi?id=226415

Reviewed by Simon Fraser.

Source/WebCore:

Brings the name into accordance with the term the C++ code uses.

* testing/Internals.cpp:
(WebCore::Internals::synchronousScrollingReasons const):
* testing/Internals.h:
* testing/Internals.idl:

LayoutTests:

* compositing/layer-creation/fixed-position-in-view-dynamic.html:
* compositing/layer-creation/fixed-position-no-content-scroll-reason-expected.txt:
* compositing/layer-creation/fixed-position-no-content-scroll-reason.html:
* compositing/layer-creation/fixed-position-out-of-view-dynamic.html:
* compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html:
* compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html:
* tiled-drawing/scrolling/slow-scrolling-background-toggle.html:
* tiled-drawing/scrolling/slow-scrolling-hidden-background-toggle.html:
* tiled-drawing/scrolling/slow-scrolling.html:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositioninviewdynamichtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-in-view-dynamic.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositionnocontentscrollreasonexpectedtxt">trunk/LayoutTests/compositing/layer-creation/fixed-position-no-content-scroll-reason-expected.txt</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositionnocontentscrollreasonhtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-no-content-scroll-reason.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositionoutofviewdynamichtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-dynamic.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositionoutofviewscrollreasonhtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationnocompositingforfixedpositionundertransformhtml">trunk/LayoutTests/compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingslowscrollingbackgroundtogglehtml">trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling-background-toggle.html</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingslowscrollinghiddenbackgroundtogglehtml">trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling-hidden-background-toggle.html</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingslowscrollinghtml">trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling.html</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoretestingInternalscpp">trunk/Source/WebCore/testing/Internals.cpp</a></li>
<li><a href="#trunkSourceWebCoretestingInternalsh">trunk/Source/WebCore/testing/Internals.h</a></li>
<li><a href="#trunkSourceWebCoretestingInternalsidl">trunk/Source/WebCore/testing/Internals.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog      2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/LayoutTests/ChangeLog 2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2021-05-29  Cameron McCormack  <heycam@apple.com>
+
+        Rename Internals.mainThreadScrollingReasons to synchronousScrollingReasons
+        https://bugs.webkit.org/show_bug.cgi?id=226415
+
+        Reviewed by Simon Fraser.
+
+        * compositing/layer-creation/fixed-position-in-view-dynamic.html:
+        * compositing/layer-creation/fixed-position-no-content-scroll-reason-expected.txt:
+        * compositing/layer-creation/fixed-position-no-content-scroll-reason.html:
+        * compositing/layer-creation/fixed-position-out-of-view-dynamic.html:
+        * compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html:
+        * compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html:
+        * tiled-drawing/scrolling/slow-scrolling-background-toggle.html:
+        * tiled-drawing/scrolling/slow-scrolling-hidden-background-toggle.html:
+        * tiled-drawing/scrolling/slow-scrolling.html:
+
</ins><span class="cx"> 2021-05-29  Zalan Bujtas  <zalan@apple.com>
</span><span class="cx"> 
</span><span class="cx">         [LFC][TFC] Do not include vertical spacing when resolving percent height for table content
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositioninviewdynamichtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-in-view-dynamic.html (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-in-view-dynamic.html 2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-in-view-dynamic.html    2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -22,8 +22,8 @@
</span><span class="cx">         document.body.appendChild(fixed);
</span><span class="cx">         document.body.offsetHeight;
</span><span class="cx">         fixed.className = "fixed";
</span><del>-        var mainThreadScrollingReasons = internals.mainThreadScrollingReasons();
-        document.getElementById("result").innerText = !mainThreadScrollingReasons ? "PASS" : "FAIL: " + mainThreadScrollingReasons;
</del><ins>+        var synchronousScrollingReasons = internals.synchronousScrollingReasons();
+        document.getElementById("result").innerText = !synchronousScrollingReasons ? "PASS" : "FAIL: " + synchronousScrollingReasons;
</ins><span class="cx">       }, false);
</span><span class="cx">     }
</span><span class="cx">   </script>
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositionnocontentscrollreasonexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-no-content-scroll-reason-expected.txt (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-no-content-scroll-reason-expected.txt        2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-no-content-scroll-reason-expected.txt   2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -1,2 +1,2 @@
</span><del>-Main thread scrolling reasons should be blank:
</del><ins>+Synchronous scrolling reasons should be blank:
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositionnocontentscrollreasonhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-no-content-scroll-reason.html (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-no-content-scroll-reason.html        2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-no-content-scroll-reason.html   2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -21,7 +21,7 @@
</span><span class="cx">     testRunner.dumpAsText();
</span><span class="cx"> 
</span><span class="cx">     window.addEventListener("load", function() {
</span><del>-      document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons();
</del><ins>+      document.getElementById("synchronousScrollingReasons").innerText = window.internals.synchronousScrollingReasons();
</ins><span class="cx">     }, false);
</span><span class="cx">   }
</span><span class="cx"> </script>
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx"> 
</span><span class="cx"> <body>
</span><span class="cx"> <div style="height: 1000px">
</span><del>-  Main thread scrolling reasons should be blank:
-  <pre id="mainThreadScrollingReasons"></pre>
</del><ins>+  Synchronous scrolling reasons should be blank:
+  <pre id="synchronousScrollingReasons"></pre>
</ins><span class="cx"> </div>
</span><span class="cx"> <div class="fixed"></div>
</span><span class="cx"> </body>
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositionoutofviewdynamichtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-dynamic.html (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-dynamic.html     2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-dynamic.html        2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -22,8 +22,8 @@
</span><span class="cx">         document.body.appendChild(fixed);
</span><span class="cx">         document.body.offsetHeight;
</span><span class="cx">         fixed.className = "fixed";
</span><del>-        var mainThreadScrollingReasons = internals.mainThreadScrollingReasons();
-        document.getElementById("result").innerText = !mainThreadScrollingReasons ? "PASS" : "FAIL: " + mainThreadScrollingReasons;
</del><ins>+        var synchronousScrollingReasons = internals.synchronousScrollingReasons();
+        document.getElementById("result").innerText = !synchronousScrollingReasons ? "PASS" : "FAIL: " + synchronousScrollingReasons;
</ins><span class="cx">         testRunner.notifyDone();
</span><span class="cx">       }, false);
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositionoutofviewscrollreasonhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html       2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html  2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx">     testRunner.dumpAsText();
</span><span class="cx"> 
</span><span class="cx">     window.addEventListener("load", function() {
</span><del>-      document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons();
</del><ins>+      document.getElementById("synchronousScrollingReasons").innerText = window.internals.synchronousScrollingReasons();
</ins><span class="cx">     }, false);
</span><span class="cx">   }
</span><span class="cx"> </script>
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx"> <body>
</span><span class="cx"> <div style="height: 1000px">
</span><span class="cx">   Main thread scrolling reasons should be blank:
</span><del>-  <pre id="mainThreadScrollingReasons"></pre>
</del><ins>+  <pre id="synchronousScrollingReasons"></pre>
</ins><span class="cx"> </div>
</span><span class="cx"> 
</span><span class="cx"> <!-- out of view fixed position elements should not trigger main thread scrolling. -->
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationnocompositingforfixedpositionundertransformhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html      2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/LayoutTests/compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html 2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx"> 
</span><span class="cx">       window.addEventListener("load", function() {
</span><span class="cx">         document.getElementById("layerTree").innerText = window.internals.layerTreeAsText(document);
</span><del>-        document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons();
</del><ins>+        document.getElementById("synchronousScrollingReasons").innerText = window.internals.synchronousScrollingReasons();
</ins><span class="cx">       }, false);
</span><span class="cx">     }
</span><span class="cx">   </script>
</span><span class="lines">@@ -36,6 +36,6 @@
</span><span class="cx">   </div>
</span><span class="cx"> 
</span><span class="cx">   <pre id="layerTree"></pre>
</span><del>-  <pre id="mainThreadScrollingReasons"></pre>
</del><ins>+  <pre id="synchronousScrollingReasons"></pre>
</ins><span class="cx"> </body>
</span><span class="cx"> </html>
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingslowscrollingbackgroundtogglehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling-background-toggle.html (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling-background-toggle.html  2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling-background-toggle.html     2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">             box.classList.add('loaded');
</span><span class="cx">             
</span><span class="cx">             if (window.internals)
</span><del>-                document.getElementById('reasons').textContent = window.internals.mainThreadScrollingReasons();
</del><ins>+                document.getElementById('reasons').textContent = window.internals.synchronousScrollingReasons();
</ins><span class="cx">         }
</span><span class="cx">         window.addEventListener('load', doTest, false);
</span><span class="cx">     </script>
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingslowscrollinghiddenbackgroundtogglehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling-hidden-background-toggle.html (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling-hidden-background-toggle.html   2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling-hidden-background-toggle.html      2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">             box.classList.add('loaded');
</span><span class="cx">             
</span><span class="cx">             if (window.internals)
</span><del>-                document.getElementById('reasons').textContent = window.internals.mainThreadScrollingReasons();
</del><ins>+                document.getElementById('reasons').textContent = window.internals.synchronousScrollingReasons();
</ins><span class="cx">         }
</span><span class="cx">         window.addEventListener('load', doTest, false);
</span><span class="cx">     </script>
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingslowscrollinghtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling.html (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling.html    2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/LayoutTests/tiled-drawing/scrolling/slow-scrolling.html       2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx">         function doTest()
</span><span class="cx">         {
</span><span class="cx">             if (window.internals)
</span><del>-                document.getElementById('reasons').textContent = window.internals.mainThreadScrollingReasons();
</del><ins>+                document.getElementById('reasons').textContent = window.internals.synchronousScrollingReasons();
</ins><span class="cx">         }
</span><span class="cx">         window.addEventListener('load', doTest, false);
</span><span class="cx">     </script>
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog   2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/Source/WebCore/ChangeLog      2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2021-05-29  Cameron McCormack  <heycam@apple.com>
+
+        Rename Internals.mainThreadScrollingReasons to synchronousScrollingReasons
+        https://bugs.webkit.org/show_bug.cgi?id=226415
+
+        Reviewed by Simon Fraser.
+
+        Brings the name into accordance with the term the C++ code uses.
+
+        * testing/Internals.cpp:
+        (WebCore::Internals::synchronousScrollingReasons const):
+        * testing/Internals.h:
+        * testing/Internals.idl:
+
</ins><span class="cx"> 2021-05-28  Darin Adler  <darin@apple.com>
</span><span class="cx"> 
</span><span class="cx">         Clients of optional should use has_value instead of relying on hasValue macro
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.cpp (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.cpp       2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/Source/WebCore/testing/Internals.cpp  2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -3009,7 +3009,7 @@
</span><span class="cx">     return scrollingCoordinator->scrollingTreeAsText();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-ExceptionOr<String> Internals::mainThreadScrollingReasons() const
</del><ins>+ExceptionOr<String> Internals::synchronousScrollingReasons() const
</ins><span class="cx"> {
</span><span class="cx">     Document* document = contextDocument();
</span><span class="cx">     if (!document || !document->frame())
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.h (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.h 2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/Source/WebCore/testing/Internals.h    2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -436,7 +436,7 @@
</span><span class="cx"> 
</span><span class="cx">     ExceptionOr<String> scrollingStateTreeAsText() const;
</span><span class="cx">     ExceptionOr<String> scrollingTreeAsText() const;
</span><del>-    ExceptionOr<String> mainThreadScrollingReasons() const;
</del><ins>+    ExceptionOr<String> synchronousScrollingReasons() const;
</ins><span class="cx">     ExceptionOr<Ref<DOMRectList>> nonFastScrollableRects() const;
</span><span class="cx"> 
</span><span class="cx">     ExceptionOr<void> setElementUsesDisplayListDrawing(Element&, bool usesDisplayListDrawing);
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalsidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.idl (278244 => 278245)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.idl       2021-05-29 22:08:56 UTC (rev 278244)
+++ trunk/Source/WebCore/testing/Internals.idl  2021-05-29 23:29:26 UTC (rev 278245)
</span><span class="lines">@@ -522,7 +522,7 @@
</span><span class="cx"> 
</span><span class="cx">     DOMString scrollingStateTreeAsText();
</span><span class="cx">     DOMString scrollingTreeAsText();
</span><del>-    DOMString mainThreadScrollingReasons(); // FIXME: rename to synchronousScrollingReasons().
</del><ins>+    DOMString synchronousScrollingReasons();
</ins><span class="cx">     DOMRectList nonFastScrollableRects();
</span><span class="cx"> 
</span><span class="cx">     DOMString repaintRectsAsText();
</span></span></pre>
</div>
</div>

</body>
</html>