<?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>189481</bug_id>
          
          <creation_ts>2018-09-10 13:33:31 -0700</creation_ts>
          <short_desc>Regression(PSON): WebView is blank when navigating back cross-process on iOS</short_desc>
          <delta_ts>2018-09-14 10:11:32 -0700</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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>189587</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>ggaren</cc>
    
    <cc>koivisto</cc>
    
    <cc>realdawei</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1458196</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-09-10 13:33:31 -0700</bug_when>
    <thetext>WebView is blank when navigating back cross-process on iOS (due to process swap on navigation being enabled).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458197</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-09-10 13:34:00 -0700</bug_when>
    <thetext>&lt;rdar://problem/44315010&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458210</commentid>
    <comment_count>2</comment_count>
      <attachid>349325</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-09-10 13:57:45 -0700</bug_when>
    <thetext>Created attachment 349325
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458213</commentid>
    <comment_count>3</comment_count>
      <attachid>349325</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2018-09-10 14:01:24 -0700</bug_when>
    <thetext>Comment on attachment 349325
Patch

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

&gt; Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:526
&gt; +    if (auto* drawingArea = m_page.drawingArea())

I bet these aren&apos;t the only null checks we need.

&gt; Source/WebKit/WebProcess/WebPage/WebPage.cpp:6003
&gt; +    if (m_isSuspended == suspended)
&gt; +        return;

Suspended just means PSON-y suspension, not e.g. normal process suspension?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458228</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-09-10 14:18:13 -0700</bug_when>
    <thetext>(In reply to Tim Horton from comment #3)
&gt; Comment on attachment 349325 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=349325&amp;action=review
&gt; 
&gt; &gt; Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:526
&gt; &gt; +    if (auto* drawingArea = m_page.drawingArea())
&gt; 
&gt; I bet these aren&apos;t the only null checks we need.

Chances are you are right. Those are the only ones I hit on on Mac and iOS so far though.

&gt; 
&gt; &gt; Source/WebKit/WebProcess/WebPage/WebPage.cpp:6003
&gt; &gt; +    if (m_isSuspended == suspended)
&gt; &gt; +        return;
&gt; 
&gt; Suspended just means PSON-y suspension, not e.g. normal process suspension?

PSON-y suspension.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458233</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2018-09-10 14:20:51 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #4)
&gt; (In reply to Tim Horton from comment #3)
&gt; &gt; Comment on attachment 349325 [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; View in context:
&gt; &gt; https://bugs.webkit.org/attachment.cgi?id=349325&amp;action=review
&gt; &gt; 
&gt; &gt; &gt; Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:526
&gt; &gt; &gt; +    if (auto* drawingArea = m_page.drawingArea())
&gt; &gt; 
&gt; &gt; I bet these aren&apos;t the only null checks we need.
&gt; 
&gt; Chances are you are right. Those are the only ones I hit on on Mac and iOS
&gt; so far though.
&gt; 
&gt; &gt; 
&gt; &gt; &gt; Source/WebKit/WebProcess/WebPage/WebPage.cpp:6003
&gt; &gt; &gt; +    if (m_isSuspended == suspended)
&gt; &gt; &gt; +        return;
&gt; &gt; 
&gt; &gt; Suspended just means PSON-y suspension, not e.g. normal process suspension?
&gt; 
&gt; PSON-y suspension.

Very mysterious, we should probably think about naming these things more independently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458235</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-09-10 14:22:14 -0700</bug_when>
    <thetext>(In reply to Tim Horton from comment #5)
&gt; (In reply to Chris Dumez from comment #4)
&gt; &gt; (In reply to Tim Horton from comment #3)
&gt; &gt; &gt; Comment on attachment 349325 [details]
&gt; &gt; &gt; Patch
&gt; &gt; &gt; 
&gt; &gt; &gt; View in context:
&gt; &gt; &gt; https://bugs.webkit.org/attachment.cgi?id=349325&amp;action=review
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:526
&gt; &gt; &gt; &gt; +    if (auto* drawingArea = m_page.drawingArea())
&gt; &gt; &gt; 
&gt; &gt; &gt; I bet these aren&apos;t the only null checks we need.
&gt; &gt; 
&gt; &gt; Chances are you are right. Those are the only ones I hit on on Mac and iOS
&gt; &gt; so far though.
&gt; &gt; 
&gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Source/WebKit/WebProcess/WebPage/WebPage.cpp:6003
&gt; &gt; &gt; &gt; +    if (m_isSuspended == suspended)
&gt; &gt; &gt; &gt; +        return;
&gt; &gt; &gt; 
&gt; &gt; &gt; Suspended just means PSON-y suspension, not e.g. normal process suspension?
&gt; &gt; 
&gt; &gt; PSON-y suspension.
&gt; 
&gt; Very mysterious, we should probably think about naming these things more
&gt; independently.

I agree, Brady added this and I am not quite sure what he had in mind at the time. I&apos;ll clarify the naming in a follow-up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458255</commentid>
    <comment_count>7</comment_count>
      <attachid>349325</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-09-10 15:18:08 -0700</bug_when>
    <thetext>Comment on attachment 349325
Patch

Clearing flags on attachment: 349325

Committed r235867: &lt;https://trac.webkit.org/changeset/235867&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458256</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-09-10 15:18:10 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458316</commentid>
    <comment_count>9</comment_count>
    <who name="Dawei Fenton (:realdawei)">realdawei</who>
    <bug_when>2018-09-10 16:51:27 -0700</bug_when>
    <thetext>(In reply to WebKit Commit Bot from comment #7)
&gt; Comment on attachment 349325 [details]
&gt; Patch
&gt; 
&gt; Clearing flags on attachment: 349325
&gt; 
&gt; Committed r235867: &lt;https://trac.webkit.org/changeset/235867&gt;

Seeing API failures on macOS and iOS after this revision

sample output: 
https://build.webkit.org/builders/Apple%20High%20Sierra%20Release%20WK1%20(Tests)/builds/7888/steps/run-api-tests/logs/stdio

 TestWebKitAPI.ProcessSwap.ProcessReuse
        Received data during response processing, queuing it.
        WARNING: The option to always keep swapped web processes alive is active. This is meant for debugging and testing only.
        Received data during response processing, queuing it.
        Received data during response processing, queuing it.
        
        /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:1375
        Expected equality of these values:
          2u
            Which is: 2
          seenPIDs.size()
            Which is: 3
        
        
        /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:1378
        Expected equality of these values:
          pid1
            Which is: 76466
          pid3
            Which is: 76470
        

    TestWebKitAPI.ProcessSwap.ProcessReuseeTLDPlus2
        Received data during response processing, queuing it.
        WARNING: The option to always keep swapped web processes alive is active. This is meant for debugging and testing only.
        Received data during response processing, queuing it.
        Received data during response processing, queuing it.
        
        /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:1422
        Expected equality of these values:
          2u
            Which is: 2
          seenPIDs.size()
            Which is: 3
        
        
        /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSwapOnNavigation.mm:1425
        Expected equality of these values:
          pid1
            Which is: 76472
          pid3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458327</commentid>
    <comment_count>10</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-09-10 17:19:28 -0700</bug_when>
    <thetext>(In reply to Dawei Fenton (:realdawei) from comment #9)
&gt; (In reply to WebKit Commit Bot from comment #7)
&gt; &gt; Comment on attachment 349325 [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; Clearing flags on attachment: 349325
&gt; &gt; 
&gt; &gt; Committed r235867: &lt;https://trac.webkit.org/changeset/235867&gt;
&gt; 
&gt; Seeing API failures on macOS and iOS after this revision
&gt; 
&gt; sample output: 
&gt; https://build.webkit.org/builders/
&gt; Apple%20High%20Sierra%20Release%20WK1%20(Tests)/builds/7888/steps/run-api-
&gt; tests/logs/stdio
&gt; 
&gt;  TestWebKitAPI.ProcessSwap.ProcessReuse
&gt;         Received data during response processing, queuing it.
&gt;         WARNING: The option to always keep swapped web processes alive is
&gt; active. This is meant for debugging and testing only.
&gt;         Received data during response processing, queuing it.
&gt;         Received data during response processing, queuing it.
&gt;         
&gt;        
&gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1375
&gt;         Expected equality of these values:
&gt;           2u
&gt;             Which is: 2
&gt;           seenPIDs.size()
&gt;             Which is: 3
&gt;         
&gt;         
&gt;        
&gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1378
&gt;         Expected equality of these values:
&gt;           pid1
&gt;             Which is: 76466
&gt;           pid3
&gt;             Which is: 76470
&gt;         
&gt; 
&gt;     TestWebKitAPI.ProcessSwap.ProcessReuseeTLDPlus2
&gt;         Received data during response processing, queuing it.
&gt;         WARNING: The option to always keep swapped web processes alive is
&gt; active. This is meant for debugging and testing only.
&gt;         Received data during response processing, queuing it.
&gt;         Received data during response processing, queuing it.
&gt;         
&gt;        
&gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1422
&gt;         Expected equality of these values:
&gt;           2u
&gt;             Which is: 2
&gt;           seenPIDs.size()
&gt;             Which is: 3
&gt;         
&gt;         
&gt;        
&gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1425
&gt;         Expected equality of these values:
&gt;           pid1
&gt;             Which is: 76472
&gt;           pid3

Odd, I will investigate shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1458359</commentid>
    <comment_count>11</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-09-10 18:36:06 -0700</bug_when>
    <thetext>(In reply to Dawei Fenton (:realdawei) from comment #9)
&gt; (In reply to WebKit Commit Bot from comment #7)
&gt; &gt; Comment on attachment 349325 [details]
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; Clearing flags on attachment: 349325
&gt; &gt; 
&gt; &gt; Committed r235867: &lt;https://trac.webkit.org/changeset/235867&gt;
&gt; 
&gt; Seeing API failures on macOS and iOS after this revision
&gt; 
&gt; sample output: 
&gt; https://build.webkit.org/builders/
&gt; Apple%20High%20Sierra%20Release%20WK1%20(Tests)/builds/7888/steps/run-api-
&gt; tests/logs/stdio
&gt; 
&gt;  TestWebKitAPI.ProcessSwap.ProcessReuse
&gt;         Received data during response processing, queuing it.
&gt;         WARNING: The option to always keep swapped web processes alive is
&gt; active. This is meant for debugging and testing only.
&gt;         Received data during response processing, queuing it.
&gt;         Received data during response processing, queuing it.
&gt;         
&gt;        
&gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1375
&gt;         Expected equality of these values:
&gt;           2u
&gt;             Which is: 2
&gt;           seenPIDs.size()
&gt;             Which is: 3
&gt;         
&gt;         
&gt;        
&gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1378
&gt;         Expected equality of these values:
&gt;           pid1
&gt;             Which is: 76466
&gt;           pid3
&gt;             Which is: 76470
&gt;         
&gt; 
&gt;     TestWebKitAPI.ProcessSwap.ProcessReuseeTLDPlus2
&gt;         Received data during response processing, queuing it.
&gt;         WARNING: The option to always keep swapped web processes alive is
&gt; active. This is meant for debugging and testing only.
&gt;         Received data during response processing, queuing it.
&gt;         Received data during response processing, queuing it.
&gt;         
&gt;        
&gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1422
&gt;         Expected equality of these values:
&gt;           2u
&gt;             Which is: 2
&gt;           seenPIDs.size()
&gt;             Which is: 3
&gt;         
&gt;         
&gt;        
&gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1425
&gt;         Expected equality of these values:
&gt;           pid1
&gt;             Which is: 76472
&gt;           pid3

Follow-up fix in &lt;https://trac.webkit.org/changeset/235880&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1459767</commentid>
    <comment_count>12</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-09-14 09:52:49 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #11)
&gt; (In reply to Dawei Fenton (:realdawei) from comment #9)
&gt; &gt; (In reply to WebKit Commit Bot from comment #7)
&gt; &gt; &gt; Comment on attachment 349325 [details]
&gt; &gt; &gt; Patch
&gt; &gt; &gt; 
&gt; &gt; &gt; Clearing flags on attachment: 349325
&gt; &gt; &gt; 
&gt; &gt; &gt; Committed r235867: &lt;https://trac.webkit.org/changeset/235867&gt;
&gt; &gt; 
&gt; &gt; Seeing API failures on macOS and iOS after this revision
&gt; &gt; 
&gt; &gt; sample output: 
&gt; &gt; https://build.webkit.org/builders/
&gt; &gt; Apple%20High%20Sierra%20Release%20WK1%20(Tests)/builds/7888/steps/run-api-
&gt; &gt; tests/logs/stdio
&gt; &gt; 
&gt; &gt;  TestWebKitAPI.ProcessSwap.ProcessReuse
&gt; &gt;         Received data during response processing, queuing it.
&gt; &gt;         WARNING: The option to always keep swapped web processes alive is
&gt; &gt; active. This is meant for debugging and testing only.
&gt; &gt;         Received data during response processing, queuing it.
&gt; &gt;         Received data during response processing, queuing it.
&gt; &gt;         
&gt; &gt;        
&gt; &gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; &gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1375
&gt; &gt;         Expected equality of these values:
&gt; &gt;           2u
&gt; &gt;             Which is: 2
&gt; &gt;           seenPIDs.size()
&gt; &gt;             Which is: 3
&gt; &gt;         
&gt; &gt;         
&gt; &gt;        
&gt; &gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; &gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1378
&gt; &gt;         Expected equality of these values:
&gt; &gt;           pid1
&gt; &gt;             Which is: 76466
&gt; &gt;           pid3
&gt; &gt;             Which is: 76470
&gt; &gt;         
&gt; &gt; 
&gt; &gt;     TestWebKitAPI.ProcessSwap.ProcessReuseeTLDPlus2
&gt; &gt;         Received data during response processing, queuing it.
&gt; &gt;         WARNING: The option to always keep swapped web processes alive is
&gt; &gt; active. This is meant for debugging and testing only.
&gt; &gt;         Received data during response processing, queuing it.
&gt; &gt;         Received data during response processing, queuing it.
&gt; &gt;         
&gt; &gt;        
&gt; &gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; &gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1422
&gt; &gt;         Expected equality of these values:
&gt; &gt;           2u
&gt; &gt;             Which is: 2
&gt; &gt;           seenPIDs.size()
&gt; &gt;             Which is: 3
&gt; &gt;         
&gt; &gt;         
&gt; &gt;        
&gt; &gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; &gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1425
&gt; &gt;         Expected equality of these values:
&gt; &gt;           pid1
&gt; &gt;             Which is: 76472
&gt; &gt;           pid3
&gt; 
&gt; Follow-up fix in &lt;https://trac.webkit.org/changeset/235880&gt;.

Dawei, do you still see failures after the fix? I see that you just cc&apos;d a few more people.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1459777</commentid>
    <comment_count>13</comment_count>
    <who name="Dawei Fenton (:realdawei)">realdawei</who>
    <bug_when>2018-09-14 10:11:32 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #12)
&gt; (In reply to Chris Dumez from comment #11)
&gt; &gt; (In reply to Dawei Fenton (:realdawei) from comment #9)
&gt; &gt; &gt; (In reply to WebKit Commit Bot from comment #7)
&gt; &gt; &gt; &gt; Comment on attachment 349325 [details]
&gt; &gt; &gt; &gt; Patch
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Clearing flags on attachment: 349325
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Committed r235867: &lt;https://trac.webkit.org/changeset/235867&gt;
&gt; &gt; &gt; 
&gt; &gt; &gt; Seeing API failures on macOS and iOS after this revision
&gt; &gt; &gt; 
&gt; &gt; &gt; sample output: 
&gt; &gt; &gt; https://build.webkit.org/builders/
&gt; &gt; &gt; Apple%20High%20Sierra%20Release%20WK1%20(Tests)/builds/7888/steps/run-api-
&gt; &gt; &gt; tests/logs/stdio
&gt; &gt; &gt; 
&gt; &gt; &gt;  TestWebKitAPI.ProcessSwap.ProcessReuse
&gt; &gt; &gt;         Received data during response processing, queuing it.
&gt; &gt; &gt;         WARNING: The option to always keep swapped web processes alive is
&gt; &gt; &gt; active. This is meant for debugging and testing only.
&gt; &gt; &gt;         Received data during response processing, queuing it.
&gt; &gt; &gt;         Received data during response processing, queuing it.
&gt; &gt; &gt;         
&gt; &gt; &gt;        
&gt; &gt; &gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; &gt; &gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1375
&gt; &gt; &gt;         Expected equality of these values:
&gt; &gt; &gt;           2u
&gt; &gt; &gt;             Which is: 2
&gt; &gt; &gt;           seenPIDs.size()
&gt; &gt; &gt;             Which is: 3
&gt; &gt; &gt;         
&gt; &gt; &gt;         
&gt; &gt; &gt;        
&gt; &gt; &gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; &gt; &gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1378
&gt; &gt; &gt;         Expected equality of these values:
&gt; &gt; &gt;           pid1
&gt; &gt; &gt;             Which is: 76466
&gt; &gt; &gt;           pid3
&gt; &gt; &gt;             Which is: 76470
&gt; &gt; &gt;         
&gt; &gt; &gt; 
&gt; &gt; &gt;     TestWebKitAPI.ProcessSwap.ProcessReuseeTLDPlus2
&gt; &gt; &gt;         Received data during response processing, queuing it.
&gt; &gt; &gt;         WARNING: The option to always keep swapped web processes alive is
&gt; &gt; &gt; active. This is meant for debugging and testing only.
&gt; &gt; &gt;         Received data during response processing, queuing it.
&gt; &gt; &gt;         Received data during response processing, queuing it.
&gt; &gt; &gt;         
&gt; &gt; &gt;        
&gt; &gt; &gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; &gt; &gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1422
&gt; &gt; &gt;         Expected equality of these values:
&gt; &gt; &gt;           2u
&gt; &gt; &gt;             Which is: 2
&gt; &gt; &gt;           seenPIDs.size()
&gt; &gt; &gt;             Which is: 3
&gt; &gt; &gt;         
&gt; &gt; &gt;         
&gt; &gt; &gt;        
&gt; &gt; &gt; /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/
&gt; &gt; &gt; WebKitCocoa/ProcessSwapOnNavigation.mm:1425
&gt; &gt; &gt;         Expected equality of these values:
&gt; &gt; &gt;           pid1
&gt; &gt; &gt;             Which is: 76472
&gt; &gt; &gt;           pid3
&gt; &gt; 
&gt; &gt; Follow-up fix in &lt;https://trac.webkit.org/changeset/235880&gt;.
&gt; 
&gt; Dawei, do you still see failures after the fix? I see that you just cc&apos;d a
&gt; few more people.

Sorry about that, we generally cc each other to facilitate tracking...I had forgotten to cc earlier :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>349325</attachid>
            <date>2018-09-10 13:57:45 -0700</date>
            <delta_ts>2018-09-10 15:18:08 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-189481-20180910135745.patch</filename>
            <type>text/plain</type>
            <size>6127</size>
            <attacher name="Chris Dumez">cdumez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjM1NzgzCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0L0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCmluZGV4IDJlNzk3MDc5OGY1MmZiMjYz
ZGQ1Mjc4MDk2MGVkZTlmNThjODBjNWQuLmQ5MGJiNmRiYzIyZGRjZDg0ODM4ODhlZDhlNmViYThh
MzRkZmYxODMgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCisrKyBiL1NvdXJj
ZS9XZWJLaXQvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsNDMgQEAKKzIwMTgtMDktMTAgIENocmlzIER1
bWV6ICA8Y2R1bWV6QGFwcGxlLmNvbT4KKworICAgICAgICBSZWdyZXNzaW9uKFBTT04pOiBXZWJW
aWV3IGlzIGJsYW5rIHdoZW4gbmF2aWdhdGluZyBiYWNrIGNyb3NzLXByb2Nlc3Mgb24gaU9TCisg
ICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0xODk0ODEKKyAg
ICAgICAgPHJkYXI6Ly9wcm9ibGVtLzQ0MzE1MDEwPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5P
Qk9EWSAoT09QUyEpLgorCisgICAgICAgIFdoZW4gcHJvY2VzcyBzd2FwcGluZyBvbiBuYXZpZ2F0
aW9uLCB0aGUgV2ViUGFnZVByb3h5IHdvdWxkIGRldGFjaCBmcm9tIHRoZSBvbGQgV2ViUHJvY2Vz
cyBhbmQgZGVzdHJveQorICAgICAgICBpdHMgUmVtb3RlTGF5ZXJUcmVlRHJ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