Lines Matching refs:promise
13 function updatePromise(promise, parentPromise, status, value) { argument
16 if (result[i].promise === promise) {
30 assertTrue(event_data.promise().isPromise());
33 assertEquals("pending", event_data.promise().status());
34 result.push({ promise: event_data.promise().value(), status: 0 }); property
38 updatePromise(event_data.promise().value(),
45 updatePromise(event_data.promise().value(),
80 assertAsync(result[0].promise === p1, "result[0].promise");
90 assertAsync(result[2].promise === p2, "result[2].promise");
92 assertAsync(result[3].promise === p3, "result[3].promise");
98 assertAsync(result[4].promise === p4, "result[4].promise");
104 assertAsync(result[5].promise === p5, "result[5].promise");