mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 903891 - Fix category manager tests to use a contract-id that we can create in content. r=emk
This commit is contained in:
parent
a097c1cfe1
commit
9f7dbbc925
@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=597809
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
SpecialPowers.addCategoryEntry("JavaScript-global-property", "testSNSM", "@mozilla.org/embedcomp/prompt-service;1",
|
||||
SpecialPowers.addCategoryEntry("JavaScript-global-property", "testSNSM", "@mozilla.org/xmlextras/xmlhttprequest;1",
|
||||
false, true);
|
||||
|
||||
SimpleTest.executeSoon(function () {
|
||||
|
@ -19,10 +19,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=641552
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
var contractId = "@mozilla.org/xmlextras/xmlhttprequest;1";
|
||||
var categoryEntries = [
|
||||
{category: "JavaScript-global-property", entry: "randomname", contractId: "@mozilla.org/embedcomp/prompt-service;1"},
|
||||
{category: "JavaScript-navigator-property", entry: "randomname1", contractId: "@mozilla.org/embedcomp/prompt-service;1"},
|
||||
{category: "JavaScript-navigator-property", entry: "randomname2", contractId: "@mozilla.org/embedcomp/prompt-service;1"},
|
||||
{category: "JavaScript-global-property", entry: "randomname", contractId: contractId},
|
||||
{category: "JavaScript-navigator-property", entry: "randomname1", contractId: contractId},
|
||||
{category: "JavaScript-navigator-property", entry: "randomname2", contractId: contractId},
|
||||
];
|
||||
|
||||
function addCategoryEntries(func) {
|
||||
|
Loading…
Reference in New Issue
Block a user