Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen

This commit is contained in:
Tom Tromey
2015-07-17 07:48:00 -04:00
parent 7c1da5f923
commit d5e041af26
23 changed files with 395 additions and 52 deletions

View File

@@ -28,8 +28,10 @@ function* ifTestingSupported() {
isnot($(".call-item-stack", callItem.target), null,
"There should be a stack container available now for the draw call.");
is($all(".call-item-stack-fn", callItem.target).length, 4,
"There should be 4 functions on the stack for the draw call.");
// We may have more than 4 functions, depending on whether async
// stacks are available.
ok($all(".call-item-stack-fn", callItem.target).length >= 4,
"There should be at least 4 functions on the stack for the draw call.");
ok($all(".call-item-stack-fn-name", callItem.target)[0].getAttribute("value")
.includes("C()"),