<?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>190176</bug_id>
          
          <creation_ts>2018-10-01 16:46:20 -0700</creation_ts>
          <short_desc>REGRESSION: TestWebKitAPI.WKWebView.ProvisionalURLNotChange API test is failing</short_desc>
          <delta_ts>2018-10-02 14:16:13 -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>Tools / Tests</component>
          <version>Other</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dawei Fenton (:realdawei)">realdawei</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>achristensen</cc>
    
    <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ggaren</cc>
    
    <cc>lforschler</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1465309</commentid>
    <comment_count>0</comment_count>
    <who name="Dawei Fenton (:realdawei)">realdawei</who>
    <bug_when>2018-10-01 16:46:20 -0700</bug_when>
    <thetext>API test TestWebKitAPI.WKWebView.ProvisionalURLNotChange is failing on Mojave (Release and Debug)

sample output:
https://build.webkit.org/builders/Apple%20Mojave%20Release%20WK2%20(Tests)/builds/59/steps/run-api-tests/logs/stdio
   
TestWebKitAPI.WKWebView.ProvisionalURLNotChange
        _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
        
        /Volumes/Data/slave/mojave-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ProvisionalURLNotChange.mm:59
        Expected equality of these values:
          [webView URL].absoluteString.UTF8String
            Which is: &quot;http://www.webkit.org!/&quot;
          &quot;data:text/html,start&quot;
        
It has been failing since Mojave queues were added to build.webkit.org</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465314</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-10-01 16:48:32 -0700</bug_when>
    <thetext>&lt;rdar://problem/44925871&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465681</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-10-02 10:54:48 -0700</bug_when>
    <thetext>This test was introduced in http://trac.webkit.org/r184151. It seems we have regressed it and [webView URL].absoluteString.UTF8String can now return an invalid URL.

It could also be that we recognize &quot;http://www.webkit.org!/&quot; as a valid URL now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465704</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-10-02 11:52:23 -0700</bug_when>
    <thetext>It does not reproduce locally for me or Alex.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465709</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-10-02 11:57:46 -0700</bug_when>
    <thetext>&quot;http://www.webkit.org!&quot; is valid URL according to WebKit&apos;s URL parser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465713</commentid>
    <comment_count>5</comment_count>
      <attachid>351426</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-10-02 12:02:34 -0700</bug_when>
    <thetext>Created attachment 351426
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465726</commentid>
    <comment_count>6</comment_count>
      <attachid>351426</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2018-10-02 12:34:24 -0700</bug_when>
    <thetext>Comment on attachment 351426
Patch

This is a speculative fix. r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465747</commentid>
    <comment_count>7</comment_count>
      <attachid>351426</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-10-02 13:44:37 -0700</bug_when>
    <thetext>Comment on attachment 351426
Patch

Clearing flags on attachment: 351426

Committed r236764: &lt;https://trac.webkit.org/changeset/236764&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465748</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-10-02 13:44:39 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465757</commentid>
    <comment_count>9</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-10-02 14:16:13 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #6)
&gt; Comment on attachment 351426 [details]
&gt; Patch
&gt; 
&gt; This is a speculative fix. r=me

David confirmed that this speculative fix made the test pass on the bot.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>351426</attachid>
            <date>2018-10-02 12:02:34 -0700</date>
            <delta_ts>2018-10-02 13:44:37 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-190176-20181002120233.patch</filename>
            <type>text/plain</type>
            <size>1621</size>
            <attacher name="Chris Dumez">cdumez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjM2NzUxCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2c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