1. go to http://www.klm.com/ 2. select country (UK) --> expect go to localised booking page OBTAINED: returned to splash page, with "Netherlands" as country and language options selected.
works fine in Tiger release Safari
Confirmed with r21002.
var arguments; for (var c = 0; c < argpairs.length; c++) { var pair = argpairs[c].split("=", 2); arguments[pair[0]] = pair[1]; // fails here, because arguments is undefined } This works in shipping Safari and in Firefox because the variable doesn't shadow a predefined parameters object.
Created attachment 14173 [details] test case
<rdar://problem/5163497>
Created attachment 14721 [details] Fix by explicitly checking for arguments in VarDeclNode::evaluate The solution is not so nice because it uses explicit check. the error might show up somewhere else and of course if new similar properties are added to function call scope, same kind of bug will occur. Also the patch has has longer comment part than the actual code part. At least it gives a hint on why the bug exists..
Comment on attachment 14721 [details] Fix by explicitly checking for arguments in VarDeclNode::evaluate r=me
Committed revision 21790.