DescriptionThis patch allow the launcher to run the code in both
strict and no strict mode.
When the launcher run in non strict mode the launcher put at the top of the test "var strict_mode = false" but if it runs in strict mode then it inject
"use strict"
var strict_mode = true.
The runner runs each test case twice. Once in strict mode and once in non strict mode.
There is also a new metadata that can be add to the test @strict_mode_negative, this metadata is similar to the current @negative, but this one will indicate that the test will fail only in strict mode.
Patch Set 1 #Patch Set 2 : Two test cases are created (one strict and one non-strict) instead of executing two times the same. #MessagesTotal messages: 7
|