Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: test/mjsunit/regress/regress-array-pop-nonconfigurable.js

Issue 71163006: Merge bleeding_edge r17376:17693. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Fix all.gyp Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « test/mjsunit/regress/regress-add-minus-zero.js ('k') | test/mjsunit/regress/regress-compare-constant-doubles.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698