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:
yulia 2019-06-14 00:19:02 +00:00
Родитель 76b82cde68
Коммит 98302b3f7b
2 изменённых файлов: 4 добавлений и 2 удалений

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

@ -19,8 +19,9 @@ function run_test() {
gClient, "test-nesting",
function(response, targetFront, threadClient) {
// Reach over the protocol connection and get a reference to the thread actor.
// TODO: rewrite the test so we don't do this..
gThreadActor =
threadClient._transport._serverConnection.getActor(threadClient._actor);
gClient._transport._serverConnection.getActor(threadClient.actorID);
test_nesting();
});

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

@ -20,8 +20,9 @@ function run_test() {
function(response, targetFront, threadClient) {
// Reach over the protocol connection and get a reference to the thread
// actor.
// TODO: rewrite tests so we don't do this kind of reaching anymore..
gThreadActor =
threadClient._transport._serverConnection.getActor(threadClient._actor);
gClient._transport._serverConnection.getActor(threadClient.actorID);
test_nesting();
});