Title: [97021] trunk/LayoutTests
Revision
97021
Author
[email protected]
Date
2011-10-09 00:23:28 -0700 (Sun, 09 Oct 2011)

Log Message

[Qt] http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml fails
https://bugs.webkit.org/show_bug.cgi?id=69700

Patch by Sergey Glazunov <[email protected]> on 2011-10-09
Reviewed by Adam Barth.

* http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml:
* platform/qt/Skipped:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (97020 => 97021)


--- trunk/LayoutTests/ChangeLog	2011-10-09 04:23:57 UTC (rev 97020)
+++ trunk/LayoutTests/ChangeLog	2011-10-09 07:23:28 UTC (rev 97021)
@@ -1,3 +1,13 @@
+2011-10-09  Sergey Glazunov  <[email protected]>
+
+        [Qt] http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml fails
+        https://bugs.webkit.org/show_bug.cgi?id=69700
+
+        Reviewed by Adam Barth.
+
+        * http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml:
+        * platform/qt/Skipped:
+
 2011-10-08  Qi Zhang  <[email protected]>
 
         [WK2] Update Skipped file 

Modified: trunk/LayoutTests/http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml (97020 => 97021)


--- trunk/LayoutTests/http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml	2011-10-09 04:23:57 UTC (rev 97020)
+++ trunk/LayoutTests/http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml	2011-10-09 07:23:28 UTC (rev 97021)
@@ -1,5 +1,5 @@
 <?xml-stylesheet type="text/xsl" href=""
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:template match="/">
 <html>
 <head>
@@ -23,7 +23,7 @@
 		url = ""
 		blank = document.body.appendChild(document.createElement("iframe"));
 		blank.contentWindow.eval("parent.document.open()");
-		location = "_javascript_:(\"<?xml version='1.0'?><?xml-stylesheet type='text/xsl' href=''?><root/>\")";
+		location = "_javascript_:(\"\x3C?xml-stylesheet type='text/xsl' href=''?\x3E\x3Croot/\x3E\")";
 	} else {
 		victim = opener;
 		open("_javascript_:void(0)", "_self");

Modified: trunk/LayoutTests/platform/qt/Skipped (97020 => 97021)


--- trunk/LayoutTests/platform/qt/Skipped	2011-10-09 04:23:57 UTC (rev 97020)
+++ trunk/LayoutTests/platform/qt/Skipped	2011-10-09 07:23:28 UTC (rev 97021)
@@ -2409,7 +2409,3 @@
 # new test introduced in in r96856, but fails on Qt
 # https://bugs.webkit.org/show_bug.cgi?id=69615
 http/tests/multipart/load-last-non-html-frame.php
-
-# [Qt] http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml fails
-# https://bugs.webkit.org/show_bug.cgi?id=69700
-http/tests/security/xss-DENIED-xsl-document-securityOrigin.xml
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to