зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1494796 - change test code for reaching into the server; r=jdescottes
we shouldn't have this code, but we do Differential Revision: https://phabricator.services.mozilla.com/D32720 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
76b82cde68
Коммит
98302b3f7b
|
@ -19,8 +19,9 @@ function run_test() {
|
||||||
gClient, "test-nesting",
|
gClient, "test-nesting",
|
||||||
function(response, targetFront, threadClient) {
|
function(response, targetFront, threadClient) {
|
||||||
// Reach over the protocol connection and get a reference to the thread actor.
|
// Reach over the protocol connection and get a reference to the thread actor.
|
||||||
|
// TODO: rewrite the test so we don't do this..
|
||||||
gThreadActor =
|
gThreadActor =
|
||||||
threadClient._transport._serverConnection.getActor(threadClient._actor);
|
gClient._transport._serverConnection.getActor(threadClient.actorID);
|
||||||
|
|
||||||
test_nesting();
|
test_nesting();
|
||||||
});
|
});
|
||||||
|
|
|
@ -20,8 +20,9 @@ function run_test() {
|
||||||
function(response, targetFront, threadClient) {
|
function(response, targetFront, threadClient) {
|
||||||
// Reach over the protocol connection and get a reference to the thread
|
// Reach over the protocol connection and get a reference to the thread
|
||||||
// actor.
|
// actor.
|
||||||
|
// TODO: rewrite tests so we don't do this kind of reaching anymore..
|
||||||
gThreadActor =
|
gThreadActor =
|
||||||
threadClient._transport._serverConnection.getActor(threadClient._actor);
|
gClient._transport._serverConnection.getActor(threadClient.actorID);
|
||||||
|
|
||||||
test_nesting();
|
test_nesting();
|
||||||
});
|
});
|
||||||
|
|
Загрузка…
Ссылка в новой задаче