mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 889102 - Use a dynamic port in test_dbgglobal.js so that the xpcshell tests can be run concurrently. r=past
This commit is contained in:
parent
8dbbf8faf0
commit
74f5cef19c
@ -9,7 +9,7 @@ function run_test()
|
||||
// Should get an exception if we try to interact with DebuggerServer
|
||||
// before we initialize it...
|
||||
check_except(function() {
|
||||
DebuggerServer.openListener(2929);
|
||||
DebuggerServer.openListener(-1);
|
||||
});
|
||||
check_except(DebuggerServer.closeListener);
|
||||
check_except(DebuggerServer.connectPipe);
|
||||
@ -20,7 +20,7 @@ function run_test()
|
||||
// These should still fail because we haven't added a createRootActor
|
||||
// implementation yet.
|
||||
check_except(function() {
|
||||
DebuggerServer.openListener(2929);
|
||||
DebuggerServer.openListener(-1);
|
||||
});
|
||||
check_except(DebuggerServer.closeListener);
|
||||
check_except(DebuggerServer.connectPipe);
|
||||
@ -28,7 +28,7 @@ function run_test()
|
||||
DebuggerServer.addActors("resource://test/testactors.js");
|
||||
|
||||
// Now they should work.
|
||||
DebuggerServer.openListener(2929);
|
||||
DebuggerServer.openListener(-1);
|
||||
DebuggerServer.closeListener();
|
||||
|
||||
// Make sure we got the test's root actor all set up.
|
||||
|
Loading…
Reference in New Issue
Block a user