Add a test for bug 644069. r=bzbarsky
authorJonas Sicking <jonas@sicking.cc>
Fri, 20 May 2011 16:21:27 -0400
changeset 69831 a29229640bf808cc8b983b5802804efcd7864609
parent 69769 93db303e4d0a398dcac8d01e43b1ee4b569514a1
child 69832 bd9646fd621c6450317a578d85d58ff5132884ff
push idunknown
push userunknown
push dateunknown
reviewersbzbarsky
bugs644069
milestone6.0a1
Add a test for bug 644069. r=bzbarsky
content/base/test/test_CrossSiteXHR_cache.html
--- a/content/base/test/test_CrossSiteXHR_cache.html
+++ b/content/base/test/test_CrossSiteXHR_cache.html
@@ -414,16 +414,25 @@ function runTest() {
              method: "GET",
              noOrigin: 1,
            },
            { pass: 0,
              method: "DELETE"
            },
            ];
 
+  for (let i = 0; i < 110; i++) {
+    tests.push({ newTest: "*******" },
+               { pass: 1,
+                 method: "DELETE",
+                 allowMethods: "DELETE",
+                 cacheTime: 3600,
+               });
+  }
+
   baseURL = "http://mochi.test:8888/tests/content/base/test/" +
              "file_CrossSiteXHR_cache_server.sjs?";
   setStateURL = baseURL + "setState=";
 
   var unique = Date.now();
   for each (test in tests) {
     if (test.newTest) {
       unique++;