| Index: test/mjsunit/override-read-only-property.js
|
| diff --git a/test/mjsunit/override-read-only-property.js b/test/mjsunit/override-read-only-property.js
|
| index f8114a66016ca6a81ade6a865a341ae800b0588e..2876ae1f849999992245d9f41b5ea1b4e2e690ec 100644
|
| --- a/test/mjsunit/override-read-only-property.js
|
| +++ b/test/mjsunit/override-read-only-property.js
|
| @@ -25,6 +25,8 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| +// Flags: --es5_readonly
|
| +
|
| // According to ECMA-262, sections 8.6.2.2 and 8.6.2.3 you're not
|
| // allowed to override read-only properties, not even if the read-only
|
| // property is in the prototype chain.
|
|
|