<?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>153697</bug_id>
          
          <creation_ts>2016-01-29 21:00:05 -0800</creation_ts>
          <short_desc>[GTK] Some new CSP tests are failing with one-space difference in output</short_desc>
          <delta_ts>2020-10-06 04:56:45 -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=153776</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>dbates</cc>
    
    <cc>dpino</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1160401</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-01-29 21:00:05 -0800</bug_when>
    <thetext>The following layout tests have been failing for GTK since they were added in r195367:

http/tests/security/contentSecurityPolicy/object-src-applet-archive-codebase.html [ Failure ]
http/tests/security/contentSecurityPolicy/object-src-applet-archive.html [ Failure ]
http/tests/security/contentSecurityPolicy/object-src-applet-code-codebase.html [ Failure ]
http/tests/security/contentSecurityPolicy/object-src-applet-code.html [ Failure ]

The only difference from the expected output is that there is one extra space character that doesn&apos;t exist on the other ports:

-This test passes if there is a console message saying the plugin was blocked. The test must be run manually; ContentShell doesn&apos;t support applet in DumpRenderTree mode. :(
+This test passes if there is a console message saying the plugin was blocked. The test must be run manually; ContentShell doesn&apos;t support applet in DumpRenderTree mode. :( 

(Select those lines to note the whitespace difference at the end of the lines.)

I&apos;m tempted to just add expected results with the space, but I have no clue where the space is coming from; it doesn&apos;t seem right. So I will instead mark these as failing for now.

Also, I&apos;m not pleased that (a) this is a manual test outside of the ManualTests directory, and (b) there is no console message saying that the plugin was blocked even when running the test manually (at least in 2.10.4; maybe that was one of the recent fixes?).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1160721</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2016-01-31 18:56:18 -0800</bug_when>
    <thetext>We should just remove the tests for now. I inadvertently imported these manual tests from Blink. We need to convert this tests to DumpRenderTree/WebKitTestRunner tests (if possible) or move them to the top-level ManualTests directory.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161087</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2016-02-01 15:55:29 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; We should just remove the tests for now. I inadvertently imported these
&gt; manual tests from Blink. We need to convert this tests to
&gt; DumpRenderTree/WebKitTestRunner tests (if possible) or move them to the
&gt; top-level ManualTests directory.

Filed bug #153776 to convert these tests to DumpRenderTree/WebKitTestRunner tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1695097</commentid>
    <comment_count>3</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-10-06 04:56:45 -0700</bug_when>
    <thetext>Tests are passing since r267640.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>