Closed
Bug 717000
Opened 13 years ago
Closed 13 years ago
Promise.wrap object returns runtime error Cannot access a property or method of a null object reference.
Categories
(Tamarin Graveyard :: Workers, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dschaffe, Unassigned)
References
Details
Attachments
(1 file)
|
1.06 KB,
text/plain
|
Details |
A wrapped object like:
var globalPromise:Promise = Promise.wrap(this);
function foo() { return "foo"; }
print("FOO from global promise call? "+globalPromise.foo().local::receive()); // Error: cannot access a property or method of a null object reference
print(globalPromise); // [Promise]
print(globalPromise.foo()); // Error: cannot access a property or method of a null object reference
The testcase test/isolates/simple/local_promise_test.as fails in the same way.
| Reporter | ||
Comment 1•13 years ago
|
||
| Reporter | ||
Comment 2•13 years ago
|
||
confirmed fixed in 7454:f181ecb1ce3
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 3•13 years ago
|
||
added regression testcase into as3/Workers/PromiseWrap.as
| Reporter | ||
Updated•13 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•