| Index: test/webkit/eval-and-with-expected.txt
|
| diff --git a/test/webkit/concat-while-having-a-bad-time-expected.txt b/test/webkit/eval-and-with-expected.txt
|
| similarity index 69%
|
| copy from test/webkit/concat-while-having-a-bad-time-expected.txt
|
| copy to test/webkit/eval-and-with-expected.txt
|
| index f949db98fd7b911d30b20281c82ee0f801405c77..c1783b0ec0b9b86a1786e94911557c3871035f0a 100644
|
| --- a/test/webkit/concat-while-having-a-bad-time-expected.txt
|
| +++ b/test/webkit/eval-and-with-expected.txt
|
| @@ -21,12 +21,20 @@
|
| # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -Tests the behavior of Array.prototype.concat while the array is having a bad time due to one of the elements we are concatenating.
|
| +This test case checks variable resolution in the presence of both eval and with.
|
|
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS [42].concat() is [42]
|
| +PASS freeVarInsideEvalAndWith({}, "true")() is true
|
| +PASS freeVarInsideEvalAndWith({}, "false")() is false
|
| +PASS freeVarInsideEvalAndWith({}, "var x = 10; x")() == 10 is true
|
| +PASS freeVarInsideEvalAndWith({}, "var x = 10; (function (){return x;})")()() == 10 is true
|
| +PASS localVarInsideEvalAndWith({}, "true") is true
|
| +PASS localVarInsideEvalAndWith({}, "false") is false
|
| +PASS localVarInsideEvalAndWith({}, "var x = true; x") is true
|
| +PASS localVarInsideEvalAndWith({}, "var x = 10; (function (){return x;})")() == 10 is true
|
| +PASS localVarInsideEvalAndWith(y={x:false}, "var x = true; x && y.x") is true
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|