зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1024774
- Followup: Don't redefine the Debugger property in xpcshell tests;
r=jorendorff
This commit is contained in:
Родитель
0e14428443
Коммит
bb41d221a3
|
@ -3,9 +3,10 @@
|
|||
|
||||
// Test that we can read core dumps into HeapSnapshot instances.
|
||||
|
||||
const { addDebuggerToGlobal } = Cu.import("resource://gre/modules/jsdebugger.jsm", {});
|
||||
var Debugger;
|
||||
addDebuggerToGlobal(this);
|
||||
if (typeof Debugger != "function") {
|
||||
const { addDebuggerToGlobal } = Cu.import("resource://gre/modules/jsdebugger.jsm", {});
|
||||
addDebuggerToGlobal(this);
|
||||
}
|
||||
|
||||
function run_test() {
|
||||
const filePath = getFilePath("core-dump.tmp", true, true);
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
|
||||
// Test the ChromeUtils interface.
|
||||
|
||||
const { addDebuggerToGlobal } = Cu.import("resource://gre/modules/jsdebugger.jsm", {});
|
||||
var Debugger;
|
||||
addDebuggerToGlobal(this);
|
||||
if (typeof Debugger != "function") {
|
||||
const { addDebuggerToGlobal } = Cu.import("resource://gre/modules/jsdebugger.jsm", {});
|
||||
addDebuggerToGlobal(this);
|
||||
}
|
||||
|
||||
function run_test() {
|
||||
ok(ChromeUtils, "Should be able to get the ChromeUtils interface");
|
||||
|
|
Загрузка…
Ссылка в новой задаче