Status: New
Owner: ----
CC: [email protected]
Labels: Type-Defect Priority-Low
New issue 1276 by erights: Top level "arguments" broken
http://code.google.com/p/google-caja/issues/detail?id=1276
<script>arguments</script>
In ES5/3: "a___ is not defined"
In Valija: "Linkage warning: $caja$args not importable"
In Cajita: "a___ is not defined"
In all cases, the problem is that the rewrite assumes without checking that
the "arguments" occurrence appears within a function rather than at top
level.
Discovered by Doug Crockford