[Webkit-unassigned] [Bug 140043] js/dom/Promise.html is flaky
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 2 10:36:29 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140043
--- Comment #2 from Alexey Proskuryakov <ap at webkit.org> ---
Are promise and setTimeout timers on different event queues?
function promiseAsync() {
var global = "foo";
var f = new Promise(function(r1, r2) {
is(global, "foo", "Global should be foo");
r1(42);
is(global, "foo", "Global should still be foo");
setTimeout(function() {
is(global, "bar", "Global should still be bar!");
runTest();
}, 0);
}).then(function() {
global = "bar";
});
is(global, "foo", "Global should still be foo (2)");
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150102/9b7fdc55/attachment-0002.html>
More information about the webkit-unassigned
mailing list