Index: test/mjsunit/regress/regress-array-pop-nonconfigurable.js |
diff --git a/test/mjsunit/regress/regress-173361.js b/test/mjsunit/regress/regress-array-pop-nonconfigurable.js |
similarity index 95% |
copy from test/mjsunit/regress/regress-173361.js |
copy to test/mjsunit/regress/regress-array-pop-nonconfigurable.js |
index f9cfb6684c0d52996c7ceac8412defbaf48a5eeb..129e1980a446bee71e99a04076f46d1cd4d00b5c 100644 |
--- a/test/mjsunit/regress/regress-173361.js |
+++ b/test/mjsunit/regress/regress-array-pop-nonconfigurable.js |
@@ -25,9 +25,7 @@ |
// (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: --harmony |
+var a = []; |
+Object.defineProperty(a, 0, {}); |
+assertThrows(function() { a.pop(); }); |
-const x = 7; |
- |
-function f() { const y = 8; } |
-f(); |