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)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dschaffe, Unassigned)

References

Details

Attachments

(1 file)

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.
Depends on: 695061
confirmed fixed in 7454:f181ecb1ce3
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
added regression testcase into as3/Workers/PromiseWrap.as
Blocks: 695061
No longer depends on: 695061
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: