Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:redefine

149   assertTrue(/Cannot redefine property/.test(e));
169 // Redefine bar with non configurable test
186 // Try to redefine bar again - should fail as configurable is false.
191 assertTrue(/Cannot redefine property/.test(e));
194 // Try to redefine bar again using the data descriptor - should fail.
199 assertTrue(/Cannot redefine property/.test(e));
202 // Redefine using same descriptor - should succeed.
275 // Redefine to writable descriptor - now writing to foobar should be allowed.
292 // Redefine with non configurable data property.
303 // Try redefine again - shold fail because configurable is now false.
308 assertTrue(/Cannot redefine property/.test(e));
311 // Try redefine again with accessor property - shold also fail.
316 assertTrue(/Cannot redefine property/.test(e));
335 // Make accessor - redefine to data
338 // Redefine to data property
350 // Redefine back to accessor
364 // Make data - redefine to accessor
367 // Redefine to accessor property
381 // Redefine back to data property
413 // Redefine to accessor property (non configurable) - note that enumerable
414 // which we do not redefine should remain the same (true).
432 // Redefine back to data property
542 assertTrue(/Cannot redefine property/.test(e));
557 assertTrue(/Cannot redefine property/.test(e));
572 assertTrue(/Cannot redefine property/.test(e));
587 assertTrue(/Cannot redefine property/.test(e));
597 // Make sure we can still redefine if all properties are the same.
627 assertTrue(/Cannot redefine property/.test(e));
642 assertTrue(/Cannot redefine property/.test(e));
658 assertTrue(/Cannot redefine property/.test(e));
674 assertTrue(/Cannot redefine property/.test(e));
684 // Make sure we can still redefine if all properties are the same.
701 // Make sure we can redefine with -0.
709 assertTrue(/Cannot redefine property/.test(e));
716 // Make sure we can redefine with +0.
724 assertTrue(/Cannot redefine property/.test(e));
746 // Redefine existing property.
754 // Redefine existing property with configurable: false.
780 assertTrue(/Cannot redefine property/.test(e));
798 // Redefine existing property with configurable: false.
806 // Redefine existing property with configurable: false.
822 // Make sure that we can't redefine using direct access.
845 // Redefine existing property.
853 // Redefine existing property with configurable: false.
879 assertTrue(/Cannot redefine property/.test(e));
897 // Redefine existing property with configurable: false.
905 // Redefine existing property with configurable: false.
1030 // redefine of get only property with generic descriptor
1038 // redefine of get/set only property with generic descriptor
1046 // redefine of set only property with generic descriptor