mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 749127 - Intermittent browser/devtools/debugger/test/browser_dbg_propertyview-06.js | The localScope doesn't contain all the created variable elements. - Got 6, expected 7; r=past
This commit is contained in:
parent
1b9d795461
commit
bce2be309d
@ -25,6 +25,9 @@ function testSimpleCall() {
|
||||
|
||||
let globalScope = gDebugger.DebuggerView.Properties.globalScope;
|
||||
let localScope = gDebugger.DebuggerView.Properties.localScope;
|
||||
globalScope.empty();
|
||||
localScope.empty();
|
||||
|
||||
let windowVar = globalScope.addVar("window");
|
||||
let documentVar = globalScope.addVar("document");
|
||||
let localVar0 = localScope.addVar("localVariable");
|
||||
@ -79,10 +82,18 @@ function testSimpleCall() {
|
||||
ok(localVar5, "The localVar5 hasn't been created correctly.");
|
||||
|
||||
|
||||
for each (let elt in globalScope.querySelector(".details").childNodes) {
|
||||
info("globalScope :: " + {
|
||||
id: elt.id, className: elt.className }.toSource());
|
||||
}
|
||||
is(globalScope.querySelector(".details").childNodes.length, 2,
|
||||
"The globalScope doesn't contain all the created variable elements.");
|
||||
|
||||
is(localScope.querySelector(".details").childNodes.length, 7,
|
||||
for each (let elt in localScope.querySelector(".details").childNodes) {
|
||||
info("localScope :: " + {
|
||||
id: elt.id, className: elt.className }.toSource());
|
||||
}
|
||||
is(localScope.querySelector(".details").childNodes.length, 6,
|
||||
"The localScope doesn't contain all the created variable elements.");
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user