Open
Bug 1105756
Opened 11 years ago
Updated 3 years ago
yielding a generator rejecting a promise does not fail a test
Categories
(Toolkit :: Async Tooling, defect)
Toolkit
Async Tooling
Tracking
()
UNCONFIRMED
People
(Reporter: tomasz, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20141115160330
Steps to reproduce:
See the attached test file.
yielding a generator should be the same as yielding a generator wrapped in a Task.spawn. But it isn't. This causes hidden errors in tests (?).
Actual results:
Test passes.
Expected results:
Test should fail.
| Reporter | ||
Comment 1•11 years ago
|
||
This test works as expected.
| Reporter | ||
Comment 2•11 years ago
|
||
The reason I expect those two to work the same is hg.mozilla.org/mozilla-central/file/cef590a6f946/toolkit/modules/Task.jsm#l73.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•