<!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>[260684] trunk/Source</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/260684">260684</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2020-04-24 17:51:20 -0700 (Fri, 24 Apr 2020)</dd>
</dl>

<h3>Log Message</h3>
<pre>[iOS] Unable to sign up on twitter.com
https://bugs.webkit.org/show_bug.cgi?id=211003
<rdar://problem/58804852>

Reviewed by Darin Adler.

Source/WebCore:

This is similar to the bug we had on nytimes.com and that was fixed in
<a href="http://trac.webkit.org/projects/webkit/changeset/258767">r258767</a>. However, instead of a 'resize' event, it is a 'change' event
on a MediaQueryList that is getting twitter.com in a bad state.

The issue is that when we home out of Safari, SpringBoard takes does
a snapshot sequence at various sizes / orientations and this causes
many JS events to get fired (e.g. 'resize', 'orientationchange',
'change', ...), which can get some sites in a bad state. To address
the issue, we now prevent firing of ALL JS events during the
SpringBoard snapshot, instead of merely preventing the 'resize' ones.

* dom/EventTarget.cpp:
(WebCore::EventTarget::fireEventListeners):
* page/FrameView.cpp:
(WebCore::FrameView::sendResizeEventIfNeeded):
* page/Page.h:
(WebCore::Page::shouldFireEvents const):
(WebCore::Page::setShouldFireEvents):
(WebCore::Page::shouldFireResizeEvents const): Deleted.
(WebCore::Page::setShouldFireResizeEvents): Deleted.

Source/WebKit:

* UIProcess/WebPageProxy.cpp:
* UIProcess/WebPageProxy.h:
* UIProcess/ios/WKApplicationStateTrackingView.mm:
(-[WKApplicationStateTrackingView _willBeginSnapshotSequence]):
(-[WKApplicationStateTrackingView _didCompleteSnapshotSequence]):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setShouldFireEvents):
(WebKit::WebPage::setShouldFireResizeEvents): Deleted.
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoredomEventTargetcpp">trunk/Source/WebCore/dom/EventTarget.cpp</a></li>
<li><a href="#trunkSourceWebCorepageFrameViewcpp">trunk/Source/WebCore/page/FrameView.cpp</a></li>
<li><a href="#trunkSourceWebCorepagePageh">trunk/Source/WebCore/page/Page.h</a></li>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitUIProcessWebPageProxycpp">trunk/Source/WebKit/UIProcess/WebPageProxy.cpp</a></li>
<li><a href="#trunkSourceWebKitUIProcessWebPageProxyh">trunk/Source/WebKit/UIProcess/WebPageProxy.h</a></li>
<li><a href="#trunkSourceWebKitUIProcessiosWKApplicationStateTrackingViewmm">trunk/Source/WebKit/UIProcess/ios/WKApplicationStateTrackingView.mm</a></li>
<li><a href="#trunkSourceWebKitWebProcessWebPageWebPagecpp">trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp</a></li>
<li><a href="#trunkSourceWebKitWebProcessWebPageWebPageh">trunk/Source/WebKit/WebProcess/WebPage/WebPage.h</a></li>
<li><a href="#trunkSourceWebKitWebProcessWebPageWebPagemessagesin">trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog   2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebCore/ChangeLog      2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -1,3 +1,32 @@
</span><ins>+2020-04-24  Chris Dumez  <cdumez@apple.com>
+
+        [iOS] Unable to sign up on twitter.com
+        https://bugs.webkit.org/show_bug.cgi?id=211003
+        <rdar://problem/58804852>
+
+        Reviewed by Darin Adler.
+
+        This is similar to the bug we had on nytimes.com and that was fixed in
+        r258767. However, instead of a 'resize' event, it is a 'change' event
+        on a MediaQueryList that is getting twitter.com in a bad state.
+
+        The issue is that when we home out of Safari, SpringBoard takes does
+        a snapshot sequence at various sizes / orientations and this causes
+        many JS events to get fired (e.g. 'resize', 'orientationchange',
+        'change', ...), which can get some sites in a bad state. To address
+        the issue, we now prevent firing of ALL JS events during the
+        SpringBoard snapshot, instead of merely preventing the 'resize' ones.
+
+        * dom/EventTarget.cpp:
+        (WebCore::EventTarget::fireEventListeners):
+        * page/FrameView.cpp:
+        (WebCore::FrameView::sendResizeEventIfNeeded):
+        * page/Page.h:
+        (WebCore::Page::shouldFireEvents const):
+        (WebCore::Page::setShouldFireEvents):
+        (WebCore::Page::shouldFireResizeEvents const): Deleted.
+        (WebCore::Page::setShouldFireResizeEvents): Deleted.
+
</ins><span class="cx"> 2020-04-24  Saam Barati  <sbarati@apple.com>
</span><span class="cx"> 
</span><span class="cx">         Return BigInt32 whenever we can
</span></span></pre></div>
<a id="trunkSourceWebCoredomEventTargetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/EventTarget.cpp (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/EventTarget.cpp 2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebCore/dom/EventTarget.cpp    2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -40,6 +40,7 @@
</span><span class="cx"> #include "InspectorInstrumentation.h"
</span><span class="cx"> #include "JSEventListener.h"
</span><span class="cx"> #include "JSLazyEventListener.h"
</span><ins>+#include "Logging.h"
</ins><span class="cx"> #include "Quirks.h"
</span><span class="cx"> #include "ScriptController.h"
</span><span class="cx"> #include "ScriptDisallowedScope.h"
</span><span class="lines">@@ -251,6 +252,15 @@
</span><span class="cx">     if (!data)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><ins>+    // FIXME: Remove once <rdar://problem/62344280> is fixed.
+    if (is<Document>(scriptExecutionContext())) {
+        auto* page = downcast<Document>(*scriptExecutionContext()).page();
+        if (page && !page->shouldFireEvents()) {
+            RELEASE_LOG_IF(page->isAlwaysOnLoggingAllowed(), Events, "%p - EventTarget::fireEventListeners: Not firing %{public}s event because events are temporarily disabled for this page", this, event.type().string().utf8().data());
+            return;
+        }
+    }
+
</ins><span class="cx">     SetForScope<bool> firingEventListenersScope(data->isFiringEventListeners, true);
</span><span class="cx"> 
</span><span class="cx">     if (auto* listenersVector = data->eventListenerMap.find(event.type())) {
</span></span></pre></div>
<a id="trunkSourceWebCorepageFrameViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/FrameView.cpp (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/FrameView.cpp  2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebCore/page/FrameView.cpp     2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -3376,11 +3376,6 @@
</span><span class="cx">     }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    if (page && !page->shouldFireResizeEvents()) {
-        FRAMEVIEW_RELEASE_LOG_IF_ALLOWED(Events, "sendResizeEventIfNeeded: Not firing resize events because they are temporarily disabled for this page");
-        return;
-    }
-
</del><span class="cx">     LOG_WITH_STREAM(Events, stream << "FrameView" << this << "sendResizeEventIfNeeded scheduling resize event for document" << frame().document() << ", size " << currentSize);
</span><span class="cx">     frame().document()->setNeedsDOMWindowResizeEvent();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorepagePageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Page.h (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Page.h 2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebCore/page/Page.h    2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -744,8 +744,8 @@
</span><span class="cx">     WEBCORE_EXPORT void injectUserStyleSheet(UserStyleSheet&);
</span><span class="cx">     WEBCORE_EXPORT void removeInjectedUserStyleSheet(UserStyleSheet&);
</span><span class="cx"> 
</span><del>-    bool shouldFireResizeEvents() const { return m_shouldFireResizeEvents; }
-    void setShouldFireResizeEvents(bool shouldFireResizeEvents) { m_shouldFireResizeEvents = shouldFireResizeEvents; }
</del><ins>+    bool shouldFireEvents() const { return m_shouldFireEvents; }
+    void setShouldFireEvents(bool shouldFireEvents) { m_shouldFireEvents = shouldFireEvents; }
</ins><span class="cx"> 
</span><span class="cx">     bool hasBeenNotifiedToInjectUserScripts() const { return m_hasBeenNotifiedToInjectUserScripts; }
</span><span class="cx">     WEBCORE_EXPORT void notifyToInjectUserScripts();
</span><span class="lines">@@ -1033,7 +1033,7 @@
</span><span class="cx"> 
</span><span class="cx">     Vector<UserContentURLPattern> m_corsDisablingPatterns;
</span><span class="cx">     Vector<UserStyleSheet> m_userStyleSheetsPendingInjection;
</span><del>-    bool m_shouldFireResizeEvents { true };
</del><ins>+    bool m_shouldFireEvents { true };
</ins><span class="cx">     bool m_loadsSubresources { true };
</span><span class="cx">     bool m_loadsFromNetwork { true };
</span><span class="cx">     bool m_hasBeenNotifiedToInjectUserScripts { false };
</span></span></pre></div>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog    2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebKit/ChangeLog       2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -1,3 +1,22 @@
</span><ins>+2020-04-24  Chris Dumez  <cdumez@apple.com>
+
+        [iOS] Unable to sign up on twitter.com
+        https://bugs.webkit.org/show_bug.cgi?id=211003
+        <rdar://problem/58804852>
+
+        Reviewed by Darin Adler.
+
+        * UIProcess/WebPageProxy.cpp:
+        * UIProcess/WebPageProxy.h:
+        * UIProcess/ios/WKApplicationStateTrackingView.mm:
+        (-[WKApplicationStateTrackingView _willBeginSnapshotSequence]):
+        (-[WKApplicationStateTrackingView _didCompleteSnapshotSequence]):
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::setShouldFireEvents):
+        (WebKit::WebPage::setShouldFireResizeEvents): Deleted.
+        * WebProcess/WebPage/WebPage.h:
+        * WebProcess/WebPage/WebPage.messages.in:
+
</ins><span class="cx"> 2020-04-24  Christopher Reid  <chris.reid@sony.com>
</span><span class="cx"> 
</span><span class="cx">         [Win] Bundle Inspector Resources in Release builds
</span></span></pre></div>
<a id="trunkSourceWebKitUIProcessWebPageProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp   2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp      2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -10104,9 +10104,9 @@
</span><span class="cx">     send(Messages::WebPage::SetOverriddenMediaType(mediaType));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebPageProxy::setShouldFireResizeEvents(bool shouldFireResizeEvents)
</del><ins>+void WebPageProxy::setShouldFireEvents(bool shouldFireEvents)
</ins><span class="cx"> {
</span><del>-    send(Messages::WebPage::SetShouldFireResizeEvents(shouldFireResizeEvents));
</del><ins>+    send(Messages::WebPage::SetShouldFireEvents(shouldFireEvents));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebPageProxy::setNeedsDOMWindowResizeEvent()
</span></span></pre></div>
<a id="trunkSourceWebKitUIProcessWebPageProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.h (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/UIProcess/WebPageProxy.h     2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.h        2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -1731,7 +1731,7 @@
</span><span class="cx">     void grantAccessToPreferenceService();
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    void setShouldFireResizeEvents(bool);
</del><ins>+    void setShouldFireEvents(bool);
</ins><span class="cx">     void setNeedsDOMWindowResizeEvent();
</span><span class="cx"> 
</span><span class="cx">     void isNavigatingToAppBoundDomainTesting(CompletionHandler<void(bool)>&&);
</span></span></pre></div>
<a id="trunkSourceWebKitUIProcessiosWKApplicationStateTrackingViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/UIProcess/ios/WKApplicationStateTrackingView.mm (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/UIProcess/ios/WKApplicationStateTrackingView.mm      2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebKit/UIProcess/ios/WKApplicationStateTrackingView.mm 2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -109,7 +109,7 @@
</span><span class="cx">     if (!page)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    page->setShouldFireResizeEvents(false);
</del><ins>+    page->setShouldFireEvents(false);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> - (void)_didCompleteSnapshotSequence
</span><span class="lines">@@ -118,7 +118,7 @@
</span><span class="cx">     if (!page)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    page->setShouldFireResizeEvents(true);
</del><ins>+    page->setShouldFireEvents(true);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> - (BOOL)isBackground
</span></span></pre></div>
<a id="trunkSourceWebKitWebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp       2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp  2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -3307,12 +3307,12 @@
</span><span class="cx">     send(Messages::WebPageProxy::ShowPage());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebPage::setShouldFireResizeEvents(bool shouldFireResizeEvents)
</del><ins>+void WebPage::setShouldFireEvents(bool shouldFireEvents)
</ins><span class="cx"> {
</span><del>-    RELEASE_LOG_IF_ALLOWED(Resize, "setShouldFireResizeEvents(%d)", shouldFireResizeEvents);
</del><ins>+    RELEASE_LOG_IF_ALLOWED(Resize, "setShouldFireEvents(%d)", shouldFireEvents);
</ins><span class="cx"> 
</span><span class="cx">     if (m_page)
</span><del>-        m_page->setShouldFireResizeEvents(shouldFireResizeEvents);
</del><ins>+        m_page->setShouldFireEvents(shouldFireEvents);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void WebPage::setNeedsDOMWindowResizeEvent()
</span></span></pre></div>
<a id="trunkSourceWebKitWebProcessWebPageWebPageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.h (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.h 2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.h    2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -1706,7 +1706,7 @@
</span><span class="cx">     void urlSchemeTaskDidReceiveData(uint64_t handlerIdentifier, uint64_t taskIdentifier, const IPC::SharedBufferDataReference&);
</span><span class="cx">     void urlSchemeTaskDidComplete(uint64_t handlerIdentifier, uint64_t taskIdentifier, const WebCore::ResourceError&);
</span><span class="cx"> 
</span><del>-    void setShouldFireResizeEvents(bool);
</del><ins>+    void setShouldFireEvents(bool);
</ins><span class="cx">     void setNeedsDOMWindowResizeEvent();
</span><span class="cx"> 
</span><span class="cx">     void setIsSuspended(bool);
</span></span></pre></div>
<a id="trunkSourceWebKitWebProcessWebPageWebPagemessagesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in (260683 => 260684)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in       2020-04-25 00:34:59 UTC (rev 260683)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.messages.in  2020-04-25 00:51:20 UTC (rev 260684)
</span><span class="lines">@@ -602,7 +602,7 @@
</span><span class="cx">     SetOverriddenMediaType(String mediaType)
</span><span class="cx">     GetProcessDisplayName() -> (String displayName) Async
</span><span class="cx"> 
</span><del>-    SetShouldFireResizeEvents(bool shouldFireResizeEvents)
</del><ins>+    SetShouldFireEvents(bool shouldFireEvents)
</ins><span class="cx">     SetNeedsDOMWindowResizeEvent()
</span><span class="cx"> 
</span><span class="cx">     SetHasResourceLoadClient(bool has)
</span></span></pre>
</div>
</div>

</body>
</html>