Closed
Bug 694554
Opened 14 years ago
Closed 14 years ago
Promise class should have a private constructor
Categories
(Tamarin Graveyard :: Workers, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: dschaffe, Assigned: awelc)
References
Details
According to the workers spec the Promise class cannot be instantiated directly.
This testcase should throw an exception:
promise.as:
import flash.system.Promise
var exc:String="no exception";
try {
new Promise();
} catch (e) {
exc=e.toString();
}
print(exc);
$ avmshell promise.abc
no exception
$
Added a public constructor that throws an exception.
Assignee: nobody → awelc
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•13 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•