<?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>190202</bug_id>
          
          <creation_ts>2018-10-02 08:50:50 -0700</creation_ts>
          <short_desc>REGRESSION(r236154) Page loads are not drawn when loaded in shipped Safari11/12</short_desc>
          <delta_ts>2018-10-05 15:27:23 -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>Page Loading</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=189668</see_also>
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="youenn fablet">youennf</reporter>
          <assigned_to name="Alex Christensen">achristensen</assigned_to>
          <cc>achristensen</cc>
    
    <cc>beidson</cc>
    
    <cc>cdumez</cc>
    
    <cc>fred.wang</cc>
    
    <cc>rbuis</cc>
    
    <cc>rwlbuis</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1465570</commentid>
    <comment_count>0</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2018-10-02 08:50:50 -0700</bug_when>
    <thetext>After this revision, page loads are hanging on previous Safari version.
This was reported for Safari high Sierra and Safari Mojave.
I bissected the issue with WebKit Nightlies to  http://trac.webkit.org/r236153</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465577</commentid>
    <comment_count>1</comment_count>
    <who name="Rob Buis">rbuis</who>
    <bug_when>2018-10-02 08:55:29 -0700</bug_when>
    <thetext>I have this problem on High Sierra and I am seeing:
./Tools/Scripts/run-safari --no-saved-state
Starting SafariForWebKitDevelopment with DYLD_FRAMEWORK_PATH set to point to built WebKit in /Users/rwlbuis/WebKit/WebKitBuild/Release.
Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.
Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.
Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.
Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.
2018-10-02 17:55:14.088 SafariForWebKitDevelopment[50142:289352] It&apos;s not legal to call -layoutSubtreeIfNeeded on a view which is already being laid out.  If you are implementing the view&apos;s -layout method, you can call -[super layout] instead. Break on void _NSDetectedLayoutRecursion(void) to debug.  This will be logged only once.  This may break in the future.
Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.
Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.
Failed to acquire exclusive access to AutoFill corrections SQLite store at AutoFillCorrections.db.
Failed to acquire exclusive access to AutoFill corrections SQLite store at CloudAutoFillCorrections.db.
2018-10-02 17:55:14.509 SafariForWebKitDevelopment[50142:289430] AOSKit ERROR: XPC CLIENT: Unauthorized client error received</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465578</commentid>
    <comment_count>2</comment_count>
    <who name="Rob Buis">rbuis</who>
    <bug_when>2018-10-02 08:57:06 -0700</bug_when>
    <thetext>Also on my system are stock Safari Version 11.1.2 (13605.3.8) and Xcode Version 9.4.1 (9F2000).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465600</commentid>
    <comment_count>3</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2018-10-02 09:32:42 -0700</bug_when>
    <thetext>Interesting.  Can this reproduce with the latest?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465602</commentid>
    <comment_count>4</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2018-10-02 09:35:32 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #3)
&gt; Interesting.  Can this reproduce with the latest?

It was reported in Mojave latest Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465603</commentid>
    <comment_count>5</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2018-10-02 09:36:32 -0700</bug_when>
    <thetext>I mean with the latest WebKit.
Also, can it reproduce with local builds of WebKit?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465605</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-10-02 09:37:35 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #5)
&gt; I mean with the latest WebKit.
&gt; Also, can it reproduce with local builds of WebKit?

This is the bug, it happens if you use a recent locally built WebKit with the System&apos;s Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465612</commentid>
    <comment_count>7</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-10-02 09:46:34 -0700</bug_when>
    <thetext>Does it require building WebKit with an external SDK?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465621</commentid>
    <comment_count>8</comment_count>
    <who name="Rob Buis">rbuis</who>
    <bug_when>2018-10-02 09:53:53 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #5)
&gt; I mean with the latest WebKit.
&gt; Also, can it reproduce with local builds of WebKit?

Yes, I built r236716 today for my test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1466782</commentid>
    <comment_count>9</comment_count>
      <attachid>351698</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2018-10-05 14:15:08 -0700</bug_when>
    <thetext>Created attachment 351698
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1466783</commentid>
    <comment_count>10</comment_count>
      <attachid>351698</attachid>
    <who name="youenn fablet">youennf</who>
    <bug_when>2018-10-05 14:20:10 -0700</bug_when>
    <thetext>Comment on attachment 351698
Patch

Are we missing some API tests to catch these kind of regressions?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1466784</commentid>
    <comment_count>11</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2018-10-05 14:40:53 -0700</bug_when>
    <thetext>(In reply to youenn fablet from comment #10)
&gt; Comment on attachment 351698 [details]
&gt; Patch
&gt; 
&gt; Are we missing some API tests to catch these kind of regressions?
Technically yes, but we are in the process of removing all this SPI.

http://trac.webkit.org/r236886</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1466785</commentid>
    <comment_count>12</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-10-05 14:41:29 -0700</bug_when>
    <thetext>&lt;rdar://problem/45055789&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1466799</commentid>
    <comment_count>13</comment_count>
      <attachid>351698</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-10-05 15:27:23 -0700</bug_when>
    <thetext>Comment on attachment 351698
Patch

Seems like we could have very easily written an API test for this.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>351698</attachid>
            <date>2018-10-05 14:15:08 -0700</date>
            <delta_ts>2018-10-05 14:20:10 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-190202-20181005141508.patch</filename>
            <type>text/plain</type>
            <size>1800</size>
            <attacher name="Alex Christensen">achristensen</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XZWJL
aXQvQ2hhbm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Uluc2VjdXJlQ29udGVudEZvckZyYW1lKHVpbnQ2NF90IGZy
YW1lSUQsIGNvbnN0IFVzZXJEYXRhJiB1c2VyRGF0YSkK
</data>
<flag name="review"
          id="369045"
          type_id="1"
          status="+"
          setter="youennf"
    />
          </attachment>
      

    </bug>

</bugzilla>