* http://creativecommons.org/publicdomain/zero/1.0/
*/
-// Test some basic functionality of KaiRo-Mandelbrot.
+// Test some basic functionality of KaiRo.at Mandelbrot.
Components.utils.import("resource://gre/modules/Services.jsm");
function test() {
gBrowser.addTab();
- // Open KaiRo-Mandelbrot, testing the menu item.
+ // Open KaiRo.at Mandelbrot, testing the menu item.
let menuitem = document.getElementById("tasksMenuMandelbrot") ||
document.getElementById("menu_openMandelbrot");
menuitem.click();
observe: function(aSubject, aTopic, aData) {
if (aTopic == MBROT_LOADED) {
Services.obs.removeObserver(testObs, MBROT_LOADED);
- ok(true, "KaiRo-Mandelbrot is loaded");
+ ok(true, "KaiRo.at Mandelbrot is loaded");
win = content.wrappedJSObject;
Services.obs.addObserver(testObs, TEST_DONE, false);
var testFuncs = [
function test_open_state(aWin) {
is(aWin.document.documentElement.id, "mandelbrot-page",
- "The active tab is KaiRo-Mandelbrot");
+ "The active tab is KaiRo.at Mandelbrot");
is(aWin.document.getElementById("drawButton").hidden, false,
"The draw button is not hidden");
Services.obs.notifyObservers(window, TEST_DONE, null);
function dmWindowClosedListener() {
aWin.removeEventListener("unload", dmWindowClosedListener, false);
isnot(content.document.documentElement.id, "mandelbrot-page",
- "The active tab is not KaiRo-Mandelbrot");
+ "The active tab is not KaiRo.at Mandelbrot");
Services.obs.notifyObservers(window, TEST_DONE, null);
}
aWin.addEventListener("unload", dmWindowClosedListener, false);