Community
Participate
Working Groups
Strict mode is a ECMAScript 1.5 feature that prevents some common javascript mistakes. We should consider using it for our RWT javascript code, but not enable it for contributions (like clientscripting). More info can be found here: https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Functions_and_function_scope/Strict_mode Currently script mode fails because we create global variables. Those would have to be created using "window.rwt = {};" I would also suggest to wait for the IE 10 release, to see if and how it's supported there. ClientScripting in it's current state might not work in strict mode due in the changes on eval behavior.
Tim, could we consider this bug as duplicate of bug 363494?
I thought there already was a bug, but i didn't consider searching closed bugs. We could mark this a dup and re-open the original bug or leave it as is. Either way, the original argument regarding "arguments.callee" is a valid concern, but i think we can work around that.