Remove the view-source: part of the URL to stop the test leaking; most of the patch to bug 206691 is still tested anyway
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Fri, 20 Mar 2009 15:04:10 +0000
changeset 26418 82b723917b6b525479685150073fdc9a2f8c1b24
parent 26417 e29ec3dc42ee0bca7b06919815b2dc5eded63c5a
child 26419 1effb72d30cf6b7701485e450b87bddcb7e9891d
push id6058
push userneil@parkwaycc.co.uk
push dateFri, 20 Mar 2009 15:04:26 +0000
treeherdermozilla-central@82b723917b6b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs206691
milestone1.9.2a1pre
Remove the view-source: part of the URL to stop the test leaking; most of the patch to bug 206691 is still tested anyway
content/base/test/chrome/test_bug206691.xul
--- a/content/base/test/chrome/test_bug206691.xul
+++ b/content/base/test/chrome/test_bug206691.xul
@@ -21,15 +21,15 @@ https://bugzilla.mozilla.org/show_bug.cg
   <!-- test code goes here -->
   <script type="application/javascript"><![CDATA[
 
   /** Test for Bug 206691 **/
   SimpleTest.waitForExplicitFinish();
 
   addLoadEvent(function() {
     var xhr = new XMLHttpRequest();
-    xhr.open("GET", "view-source:" + location, false);
+    xhr.open("GET", location, false);
     xhr.send();
     ok(xhr.responseText, "We should have response content!");
     SimpleTest.finish();
   });
   ]]></script>
 </window>