<?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>69700</bug_id>
          
          <creation_ts>2011-10-08 05:56:25 -0700</creation_ts>
          <short_desc>[Qt] http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml fails</short_desc>
          <delta_ts>2011-10-09 03:15:12 -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>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ossy</cc>
    
    <cc>serg.glazunov</cc>
    
    <cc>vestbo</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>480541</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-10-08 05:56:25 -0700</bug_when>
    <thetext>http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml introduced in 
http://trac.webkit.org/changeset/96984 (https://bugs.webkit.org/show_bug.cgi?id=69661),
but fails on the Qt bot:

--- /ramdisk/qt-linux-release/build/layout-test-results/http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt 
+++ /ramdisk/qt-linux-release/build/layout-test-results/http/tests/security/xss-DENIED-xsl-document-securityOrigin-actual.txt 
@@ -1,3 +1,4 @@
-CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8080/security/resources/innocent-victim.html from frame with URL about:blank. Domains, protocols and ports must match.
-
-This test passes if it doesn&apos;t alert the contents of innocent-victim.html.  
+CONSOLE MESSAGE: line 2: &lt;html xmlns=&apos;http://www.w3.org/1999/xhtml/&apos;&gt;&lt;body&gt;&lt;p&gt;Running an XSL-T 1.0 stylesheet with a 2.0 processor.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;
+CONSOLE MESSAGE: line 2: &lt;html xmlns=&apos;http://www.w3.org/1999/xhtml/&apos;&gt;&lt;body&gt;&lt;p&gt;Running an XSL-T 1.0 stylesheet with a 2.0 processor.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;
+FAIL: Timed out waiting for notifyDone to be called
+This test passes if it doesn&apos;t alert the contents of innocent-victim.html. 

bug69661 is security bug, so I can&apos;t comment it, but I cc-ed the author 
(Sergey), the reviewer (Adam) and a member of security
group from Nokia (Tor Arne).

Could you check if it is a security problem on Qt or not?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480543</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-10-08 06:09:56 -0700</bug_when>
    <thetext>Skipped by http://trac.webkit.org/changeset/97008 until fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480570</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-10-08 09:58:54 -0700</bug_when>
    <thetext>It&apos;s not a security problem.  The test is just timing out for some reason.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480662</commentid>
    <comment_count>3</comment_count>
      <attachid>110291</attachid>
    <who name="Sergey Glazunov">serg.glazunov</who>
    <bug_when>2011-10-08 23:05:14 -0700</bug_when>
    <thetext>Created attachment 110291
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480663</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-10-08 23:18:20 -0700</bug_when>
    <thetext>Thanks Sergey.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480666</commentid>
    <comment_count>5</comment_count>
      <attachid>110291</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-10-09 00:22:35 -0700</bug_when>
    <thetext>Comment on attachment 110291
Patch

Clearing flags on attachment: 110291

Committed r97021: &lt;http://trac.webkit.org/changeset/97021&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480667</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-10-09 00:22:39 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480674</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey Glazunov">serg.glazunov</who>
    <bug_when>2011-10-09 01:21:40 -0700</bug_when>
    <thetext>Aw, it&apos;s failing again and the diff is nice:
--- /ramdisk/qt-linux-release/build/layout-test-results/http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt 
+++ /ramdisk/qt-linux-release/build/layout-test-results/http/tests/security/xss-DENIED-xsl-document-securityOrigin-actual.txt 
@@ -1,3 +1,3 @@
 CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8080/security/resources/innocent-victim.html from frame with URL about:blank. Domains, protocols and ports must match.
 
-This test passes if it doesn&apos;t alert the contents of innocent-victim.html.  
+This test passes if it doesn&apos;t alert the contents of innocent-victim.html.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480690</commentid>
    <comment_count>8</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-10-09 03:15:12 -0700</bug_when>
    <thetext>Thanks for the fix. It seems the difference caused by a Qt-DRT bug, new bug report: https://bugs.webkit.org/show_bug.cgi?id=69718

And I added a Qt specific expected file to make our buildbot happy: http://trac.webkit.org/changeset/97024</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>110291</attachid>
            <date>2011-10-08 23:05:14 -0700</date>
            <delta_ts>2011-10-09 00:22:35 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-69700-20111009120512.patch</filename>
            <type>text/plain</type>
            <size>2382</size>
            <attacher name="Sergey Glazunov">serg.glazunov</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDk3MDIwKQorKysgTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwMTEtMTAtMDggIFNlcmdleSBHbGF6dW5vdiAg
PHNlcmcuZ2xhenVub3ZAZ21haWwuY29tPgorCisgICAgICAgIFtRdF0gaHR0cC90ZXN0cy9zZWN1
cml0eS94c3MtREVOSUVELXhzbC1kb2N1bWVudC1zZWN1cml0eU9yaWdpbi54bWwgZmFpbHMKKyAg
ICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTY5NzAwCisKKyAg
ICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgKiBodHRwL3Rlc3Rz
L3NlY3VyaXR5L3hzcy1ERU5JRUQteHNsLWRvY3VtZW50LXNlY3VyaXR5T3JpZ2luLnhtbDoKKyAg
ICAgICAgKiBwbGF0Zm9ybS9xdC9Ta2lwcGVkOgorCiAyMDExLTEwLTA4ICBRaSBaaGFuZyAgPHF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