Comment #14 on issue 248 by [email protected]: local var with same name as function
http://code.google.com/p/google-caja/issues/detail?id=248

Devil's advocate question, and for the record: If the "author" of the code (in this case, the JQuery minifier) made the choice to use an enclosing var name as a catch var name, with the knowledge that browser behavior may be inconsistent for this case, must we protect them from themselves by alpha-renaming *for* them?

In other words: What is the actual penalty for us simply passing-thru the inconsistent browser behavior?

It's not like we are guaranteeing deterministic execution or anything....

Reply via email to