<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>163873</bug_id>
          
          <creation_ts>2016-10-23 12:10:51 -0700</creation_ts>
          <short_desc>REGRESSION (r207424): ERROR: Unhandled web process message &apos;WebPage:SetPageSuppressed&apos;</short_desc>
          <delta_ts>2016-11-30 09:35:37 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>165158</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>barraclough</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>darin</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1243532</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-10-23 12:10:51 -0700</bug_when>
    <thetext>This error prints once when opening every page:

ERROR: Unhandled web process message &apos;WebPage:SetPageSuppressed&apos;
../../Source/WebKit2/WebProcess/WebProcess.cpp(654) : virtual void WebKit::WebProcess::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)

Not sure why the message isn&apos;t being handled by WebPage. Maybe it&apos;s being received before the WebPage object is created.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1243533</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-10-23 12:11:06 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; This error prints once when opening every page:

(when opening a new browser tab)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1243650</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-10-24 01:52:19 -0700</bug_when>
    <thetext>I don&apos;t think this is specific to GTK+, the updateThrottleState() can be called too early. Actually, I think the problem is that is called right after the web process is launched, but before the WebPage has registered its message receiver.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1248270</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2016-11-04 14:18:41 -0700</bug_when>
    <thetext>Yeah, this is a regression from r207424 I believe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1248284</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2016-11-04 14:39:03 -0700</bug_when>
    <thetext>Gavin, we can&apos;t send messages (like updateThrottleState does) before WebPageProxy::initializeWebPage(). Do you think it&apos;s safe to move it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1253114</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-11-19 14:23:43 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Do you think it&apos;s safe to move it?

Well we should either move it or roll it out. Here&apos;s an attempt at the former. It avoids the warning and it *looks* like it&apos;s right, but I&apos;m not sure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1253115</commentid>
    <comment_count>6</comment_count>
      <attachid>295270</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-11-19 14:24:50 -0800</bug_when>
    <thetext>Created attachment 295270
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1253159</commentid>
    <comment_count>7</comment_count>
      <attachid>295270</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-11-20 16:10:25 -0800</bug_when>
    <thetext>Comment on attachment 295270
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=295270&amp;action=review

&gt; Source/WebKit2/UIProcess/WebPageProxy.cpp:-468
&gt; -    updateThrottleState();

What’s the reasoning behind removing this one?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1253160</commentid>
    <comment_count>8</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-11-20 16:11:19 -0800</bug_when>
    <thetext>Gavin should look!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1253165</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-11-20 16:36:38 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; &gt; Source/WebKit2/UIProcess/WebPageProxy.cpp:-468
&gt; &gt; -    updateThrottleState();
&gt; 
&gt; What’s the reasoning behind removing this one?

That&apos;s in the constructor before the first call to WebPageProxy::initializeWebPage, which only ever occurs in reattachToWebProcess. I moved the calls in that function to be right after initializeWebPage to ensure it&apos;s called ASAP. Is it right? I don&apos;t know; we don&apos;t have an implementation of throttling to test. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1253166</commentid>
    <comment_count>10</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-11-20 16:45:55 -0800</bug_when>
    <thetext>Seems likely we’d want to do the same thing with updateActivityState. Ultimately I do want Gavin to look at this. Should we land some kind of change in the mean time?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1253176</commentid>
    <comment_count>11</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-11-20 17:43:48 -0800</bug_when>
    <thetext>If Gavin&apos;s not available to look at it soon, then we should roll out r207699 and r207424.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1253833</commentid>
    <comment_count>12</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-11-28 06:34:46 -0800</bug_when>
    <thetext>(In reply to comment #11)
&gt; If Gavin&apos;s not available to look at it soon, then we should roll out r207699
&gt; and r207424.

I looked into this. There are a few more quite significant commits that would need to be rolled out, including bringing back the PageThrottler class. I&apos;ll roll them out if Gavin doesn&apos;t respond soon (he&apos;s been CCed on this for a month now) but it&apos;d certainly be better to avoid doing that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1254473</commentid>
    <comment_count>13</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2016-11-29 14:29:57 -0800</bug_when>
    <thetext>We should just remove SetPageSuppressed – we&apos;ve got to the point we can do so.

*** This bug has been marked as a duplicate of bug 165158 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1254505</commentid>
    <comment_count>14</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-11-29 15:12:08 -0800</bug_when>
    <thetext>Super, thanks for handling this properly Gavin!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>295270</attachid>
            <date>2016-11-19 14:24:50 -0800</date>
            <delta_ts>2016-11-30 09:35:37 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-163873-20161119162441.patch</filename>
            <type>text/plain</type>
            <size>2323</size>
            <attacher name="Michael Catanzaro">mcatanzaro</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjA4OTI3CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0Mi9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViS2l0Mi9DaGFuZ2VMb2cKaW5kZXggMzBlYTg0NTEwOGI4MjFh
MjVlOWNjZWM3OWM4OTQ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