Bug 628966 - test_bug428847.html (by way of file_bug428847-1.xhtml) loads http://www.mozilla.com/whatever.xsl over the network; r=sicking a=test-only
authorPhil Ringnalda <philringnalda@gmail.com>
Wed, 23 Mar 2011 22:34:02 -0400
changeset 27377 a015fc0949cbce7bc5f0d7b38ce69738e999eb14
parent 27376 cc1618c6d434dd84fb2638d3f08bac3f3874724b
child 27378 51ac17f4dd02956f7915c209d576be0845d97fe7
push id2700
push usereakhgari@mozilla.com
push dateThu, 24 Mar 2011 02:38:39 +0000
reviewerssicking, test-only
bugs628966, 428847
milestone1.9.1.19pre
Bug 628966 - test_bug428847.html (by way of file_bug428847-1.xhtml) loads http://www.mozilla.com/whatever.xsl over the network; r=sicking a=test-only
content/base/test/file_bug428847-1.xhtml
content/base/test/test_bug428847.html
--- a/content/base/test/file_bug428847-1.xhtml
+++ b/content/base/test/file_bug428847-1.xhtml
@@ -1,4 +1,4 @@
-<?xml-stylesheet type="text/xsl" href="http://www.mozilla.com/whatever.xsl"?>
+<?xml-stylesheet type="text/xsl" href="http://example.com/whatever.xsl"?>
 <html xmlns="http://www.w3.org/1999/xhtml">
 <body id='body' onload="if (document.getElementById('body')) parent.iframe1Loaded = true;"/>
 </html>
--- a/content/base/test/test_bug428847.html
+++ b/content/base/test/test_bug428847.html
@@ -12,18 +12,18 @@ https://bugzilla.mozilla.org/show_bug.cg
 <body onload="runtests();">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=428847">Mozilla Bug 428847</a>
 <script class="testbody" type="text/javascript">
 var iframe1Loaded = false;
 var iframe2Loaded = false;
 
 function runtests()
 {
-  //is(iframe1Loaded, true,
-  //   "Iframe with cross-origin xslt stylesheet failed to load");
+  todo(iframe1Loaded, true,
+       "Iframe with cross-origin xslt stylesheet failed to load");
   is(iframe2Loaded, false,
      "Iframe with invalid xslt stylesheet URI didn't fail to load");
 
   SimpleTest.finish();
 }
 
 SimpleTest.waitForExplicitFinish();
 </script>