Issue created with patch:
https://bugzilla.mozilla.org/show_bug.cgi?id=412755

Additional question concerning the tests:
my patch contains a JUnit test case for the new error messages but it
would probably make more sense for such situation to have within Rhino a
folder of tests like those from mozilla/js/tests. What do you think?

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com

Attila Szegedi wrote:
> Keep the old signature, and add an overload with the new signature.
> 
> Attila.
> 
> On 2008.01.17., at 9:02, Marc Guillemot wrote:
> 
>> yyy would be for instance the string representation on which the method
>> was called.
>>
>> Adding this can only be done in changing the signature of
>> ScriptRuntime#notFunctionError to accept an additional parameter but you
>> seem to say that it shouldn't be done to allow script compiled with
>> earlier versions of Rhino should continue to work. Is this position
>> definitive? I'm quite skeptic concerning such things that a project
>> wants to maintain but that are not covered by tests. Are you really sure
>> that the changes made between previous releases respect that?
>>
>> Yes, I want to propose a patch but I first need to know what kind of
>> changes are allowed.
>>
>> Cheers,
>> Marc.
>> -- 
>> Blog: http://mguillem.wordpress.com
>> _______________________________________________
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to