From a093dfef93e7059d521f26ca26ca829072750243 Mon Sep 17 00:00:00 2001 From: "reed@reedloden.com" Date: Fri, 1 Feb 2008 15:41:39 -0800 Subject: [PATCH] Remove test from the content policies test as per bug 415168. --- content/base/test/test_bug375314.html | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/content/base/test/test_bug375314.html b/content/base/test/test_bug375314.html index b449f6ea7de0..72fe1354defa 100644 --- a/content/base/test/test_bug375314.html +++ b/content/base/test/test_bug375314.html @@ -77,7 +77,7 @@ var categoryManager = Cc["@mozilla.org/categorymanager;1"].getService(Ci.nsICate categoryManager.addCategoryEntry("content-policy", policyName, policyName, false, true); // Try creating different request types -var tests = ["SCRIPT", "IMAGE", "STYLESHEET", "OBJECT", "DOCUMENT", "SUBDOCUMENT", "XBL", "PING", "XMLHTTPREQUEST"]; +var tests = ["SCRIPT", "IMAGE", "STYLESHEET", "OBJECT", "DOCUMENT", "SUBDOCUMENT", "XBL", "XMLHTTPREQUEST"]; var curTest = -1; SimpleTest.waitForExplicitFinish(); @@ -171,19 +171,6 @@ function request_xbl() { document.addBinding(div, testURL); } -function request_ping() { - var content = $("content"); - - var a = document.createElement("a"); - a.setAttribute("href", "javascript:void(0)"); - a.setAttribute("ping", testURL); - content.appendChild(a); - - var event = document.createEvent("MouseEvents"); - event.initMouseEvent("click", true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null); - a.dispatchEvent(event); -} - function request_xmlhttprequest() { var request = new XMLHttpRequest(); request.open("GET", testURL, false);