Closed
Bug 803844
Opened 12 years ago
Closed 11 years ago
can't use events as weakmap keys
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: erights, Unassigned)
References
Details
> var m = new WeakMap();
> var e = new MouseEvent('click');
> m.set(e, 1);
TypeError on line 3: cannot use the given object as a weak map key
See http://code.google.com/p/google-caja/issues/detail?id=1567
Reporter | ||
Updated•12 years ago
|
Comment 1•12 years ago
|
||
This should be mostly fixed in 22 now, by a combination of bug 777385, and the parts of bug 776864 that have landed already. I think there are a few events that still need to be converted.
Comment 2•11 years ago
|
||
I think this should work now, please reopen if it does not...
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•