Part 5: Update devtools to follow displayName change

Issue #87
This commit is contained in:
janekptacijarabaci 2018-03-19 16:15:11 +01:00 committed by Roy Tam
commit 359afc3ad5
5 changed files with 51 additions and 37 deletions

View file

@ -52,7 +52,7 @@ function test_inferred_name_function() {
do_check_eq(args[0].class, "Function");
// No name for an anonymous function, but it should have an inferred name.
do_check_eq(args[0].name, undefined);
do_check_eq(args[0].displayName, "o.m");
do_check_eq(args[0].displayName, "m");
let objClient = gThreadClient.pauseGrip(args[0]);
objClient.getParameterNames(function (aResponse) {