Descriptionhttp://code.google.com/p/google-caja/issues/detail?id=1077
in valija, calling fn.apply({}) eventually calls
Array.slice(undefined, 0). in firefox, Array.slice
is a builtin and returns []. on other browsers,
Array.slice is defined in cajita.js, which tries to
evaluate undefined.length, which throws an exception.
this change makes cajita's Array.slice behave more
like firefox's.
Patch Set 1 #Patch Set 2 : valija apply() sometimes fails on non-firefox browsers #Patch Set 3 : valija apply() sometimes fails on non-firefox browsers #
MessagesTotal messages: 10
|
||||||||||||||||||||||||||||