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.registerWindowActor(
"TestWindow",
windowActorOptions[fileExt]
),
"Should throw if register has duplicate name."
);
},
});