зеркало из https://github.com/mozilla/gecko-dev.git
Bug 774057 - Hiding of jsb breaks unit tests; r=msucan
This commit is contained in:
Родитель
55d1157d5c
Коммит
da0f8a98bb
|
@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче