Rapha's Rumination Promulgation

June 08, 2009

Further GSoC Progress

Object constructor methods implemented

In CVS Not yet in CVS

I've made some more progress on adding ES5 features to Rhino. New Object constructor methods that are now in CVS are:

I've also implemented the remaining new methods:

They're on github but not in CVS yet, pending review.

There are still some questions about how to handle the new seal and freeze methods, as Rhino already has a concept of "sealing" an object, which is approximately equivalent to es5's "freeze". So we can implement the new functionality but have to decide what to do with the existing "seal" going forward, particularly from the point of view of the Java API.

According to my schedule I should now move on to adding the JSON object, and new methods to some of the other builtin constructors. I'll also have to be focussing mostly on my exams for the next little while, so we'll see how it goes.