Bug 774057 - Hiding of jsb breaks unit tests; r=msucan

This commit is contained in:
Joe Walker 2012-07-15 11:47:38 +01:00
Родитель 55d1157d5c
Коммит da0f8a98bb
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -19,11 +19,13 @@ function test() {
} }
function testEcho() { function testEcho() {
/*
DeveloperToolbarTest.exec({ DeveloperToolbarTest.exec({
typed: "echo message", typed: "echo message",
args: { message: "message" }, args: { message: "message" },
outputMatch: /^message$/, outputMatch: /^message$/,
}); });
*/
} }
function testConsole(tab) { function testConsole(tab) {

Просмотреть файл

@ -3,6 +3,7 @@ function test() {
"test/resources_jsb_script.js"; "test/resources_jsb_script.js";
DeveloperToolbarTest.test("about:blank", function GJT_test() { DeveloperToolbarTest.test("about:blank", function GJT_test() {
/* Commented out by bug 774057, re-enable with un-hidden jsb command
DeveloperToolbarTest.exec({ DeveloperToolbarTest.exec({
typed: "jsb AAA", typed: "jsb AAA",
outputMatch: /valid/ outputMatch: /valid/
@ -41,5 +42,7 @@ function test() {
"}"; "}";
is(aResult, correct, "JS has been correctly prettified"); is(aResult, correct, "JS has been correctly prettified");
} }
*/
finish();
}); });
} }