<?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>161590</bug_id>
          
          <creation_ts>2016-09-04 20:09:37 -0700</creation_ts>
          <short_desc>[GTK] Layout test editing/inserting/typing-space-to-trigger-smart-link.html fails</short_desc>
          <delta_ts>2016-09-22 10:59:30 -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>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=85463</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=162081</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=161919</see_also>
          <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="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>jbedard</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1226335</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-09-04 20:09:37 -0700</bug_when>
    <thetext>Layout test editing/inserting/typing-space-to-trigger-smart-link.html has been failing since it was unskipped in r205094 (&quot;WTR needs an implementation of setAutomaticLinkDetectionEnabled&quot;):

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/editing/inserting/typing-space-to-trigger-smart-link-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/editing/inserting/typing-space-to-trigger-smart-link-actual.txt
@@ -1,4 +1,4 @@
 The www.foo.com should be underlined and there is an anchor node created for it.
 The www.bar.com should be underlined and there is an anchor node created for it.
-PASS: the anchor for &apos;www.foo.com&apos; has been created.
-PASS: the anchor for &apos;www.bar.com&apos; has been created.
+Failed: the expected content was &apos;The &lt;a href=&quot;http://www.foo.com&quot;&gt;www.foo.com&lt;/a&gt; should be underlined and there is an anchor node created for it.&apos;, but the actual result was &apos;The www.foo.com should be underlined and there is an anchor node created for it.&apos;.
+Failed: the expected content was &apos;The &lt;a href=&quot;http://www.bar.com&quot;&gt;www.bar.com&lt;/a&gt; should be underlined and there is an anchor node created for it.&apos;, but the actual result was &apos;The www.bar.com should be underlined and there is an anchor node created for it.&apos;.

Obviously the link is missing. Updating expectations accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1230560</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2016-09-16 13:12:10 -0700</bug_when>
    <thetext>GTK+ port doesn&apos;t enable smart space, right?  So I think we just need to skip the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1230561</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2016-09-16 13:12:22 -0700</bug_when>
    <thetext>Sorry, I meant to say smart link.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1230568</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2016-09-16 13:22:13 -0700</bug_when>
    <thetext>Yes, I was closing this bug and noting so when our comments collided.

This is caused by a failure to call setAuomaticLinkDetection.  However, setAutomaticLinkDetection is an AppKit specific feature.  This test should not run on GTK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1230572</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-09-16 13:32:41 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Yes, I was closing this bug and noting so when our comments collided.
&gt; 
&gt; This is caused by a failure to call setAuomaticLinkDetection.  However,
&gt; setAutomaticLinkDetection is an AppKit specific feature.  This test should
&gt; not run on GTK.

Then Ryosuke is right, we need to skip it!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1230583</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2016-09-16 13:41:10 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Then Ryosuke is right, we need to skip it!
&gt; ...

https://bugs.webkit.org/show_bug.cgi?id=161919 will have this change shortly, along with skipping this class of test on iOS, EFL and Windows.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1230731</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-09-16 18:02:41 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; Then Ryosuke is right, we need to skip it!
&gt; &gt; ...
&gt; 
&gt; https://bugs.webkit.org/show_bug.cgi?id=161919 will have this change
&gt; shortly, along with skipping this class of test on iOS, EFL and Windows.

Thanks. Since it&apos;s macOS specific, you might skip it in the global test expectations, and add a Pass expectation in the macOS file.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>