mozilla/rhino — Issue #29: NativeObject should implement equals method
Author: rdingwell
Created: 2011-12-22 15:30:31+00:00
State: open

The NativeObject class should implement an equals method in accordance with the Map interface that it implements.

"Compares the specified object with this map for equality. Returns true if the given object is also a map and the two Maps represent the same mappings. More formally, two maps t1 and t2 represent the same mappings if t1.entrySet().equals(t2.entrySet()). This ensures that the equals method works properly across different implementations of the Map interface."