mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 952767 - Yield waiting for the FETCHED_VARIABLES event and fix a few typos in browser_dbg_variables-view-override-01.js, r=past
This commit is contained in:
parent
c795ae9e68
commit
baf881252f
@ -50,11 +50,11 @@ function test() {
|
|||||||
is(firstScope._store.size, 3,
|
is(firstScope._store.size, 3,
|
||||||
"The first scope should have all the variables available.");
|
"The first scope should have all the variables available.");
|
||||||
is(secondScope._store.size, 0,
|
is(secondScope._store.size, 0,
|
||||||
"The second scope shoild have no variables available yet.");
|
"The second scope should have no variables available yet.");
|
||||||
is(thirdScope._store.size, 0,
|
is(thirdScope._store.size, 0,
|
||||||
"The third scope shoild have no variables available yet.");
|
"The third scope should have no variables available yet.");
|
||||||
is(globalScope._store.size, 0,
|
is(globalScope._store.size, 0,
|
||||||
"The global scope shoild have no variables available yet.");
|
"The global scope should have no variables available yet.");
|
||||||
|
|
||||||
// Test getOwnerScopeForVariableOrProperty with simple variables.
|
// Test getOwnerScopeForVariableOrProperty with simple variables.
|
||||||
|
|
||||||
@ -102,6 +102,7 @@ function test() {
|
|||||||
secondScope.expand();
|
secondScope.expand();
|
||||||
thirdScope.expand();
|
thirdScope.expand();
|
||||||
globalScope.expand();
|
globalScope.expand();
|
||||||
|
yield fetched;
|
||||||
|
|
||||||
let someVar2 = secondScope.get("a");
|
let someVar2 = secondScope.get("a");
|
||||||
let someOwner2 = variables.getOwnerScopeForVariableOrProperty(someVar2);
|
let someOwner2 = variables.getOwnerScopeForVariableOrProperty(someVar2);
|
||||||
|
Loading…
Reference in New Issue
Block a user