| Index: LayoutTests/fast/js/script-tests/reserved-words-as-property.js
|
| diff --git a/LayoutTests/fast/js/script-tests/reserved-words-as-property.js b/LayoutTests/fast/js/script-tests/reserved-words-as-property.js
|
| index 452398d894e35086e1d61610f880ea87c513e108..f86f3a1a15b8e3f033068eb4fe964c7e38b12a34 100644
|
| --- a/LayoutTests/fast/js/script-tests/reserved-words-as-property.js
|
| +++ b/LayoutTests/fast/js/script-tests/reserved-words-as-property.js
|
| @@ -56,7 +56,7 @@ function testWord(word, strictPrefix, expectedResult) {
|
| // These should be allowed for all words, even reserved ones.
|
| testWordEvalAndFunction(strictPrefix + "({ \"" + word + "\": 42 }." + word + " === 42)", false);
|
| testWordEvalAndFunction(strictPrefix + "({ " + word + ": 42 }." + word + " === 42)", false);
|
| - testWordEvalAndFunction(strictPrefix + "({ get " + word + "(){}, set " + word + "(){}, parsedOkay: 42 }.parsedOkay === 42)", false);
|
| + testWordEvalAndFunction(strictPrefix + "({ get " + word + "(){}, set " + word + "(_){}, parsedOkay: 42 }.parsedOkay === 42)", false);
|
| }
|
|
|
| function testWordStrictAndNonStrict(word, condition) {
|
|
|