--- /dev/null 2015-03-09 08:23:42.456618816 +0530 +++ new/test/script/nosecurity/parserapi_strict.js.EXPECTED 2015-03-09 18:39:49.351927754 +0530 @@ -0,0 +1,16 @@ +with_stat.js:2:1 "with" statement cannot be used in strict mode + +with({}) {} + ^ +with_stat.js:2:7 Expected ; but found ) + +with({}) {} + ^ +repeat_param.js:2:15 strict mode function cannot have duplicate parameter name "x" + +function func(x, x) {} + ^ +repeat_prop.js:2:22 Property "foo" already defined + +var obj = { foo: 34, foo: 'hello' }; + ^