Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
/* Any copyright is dedicated to the Public Domain.
"use strict";
declTest("double register", {
async test(_browser, _window, fileExt) {
SimpleTest.doesThrow(
() =>
ChromeUtils.registerContentActor(
"TestProcessActor",
processActorOptions[fileExt]
),
"Should throw if register has duplicate name."
);
},
});