From 26fb624d4bd36275073a7d31201d6cc063e678f0 Mon Sep 17 00:00:00 2001 From: Rick Waldron <waldron.rick@gmail.com> Date: Fri, 19 Oct 2018 10:26:34 -0400 Subject: [PATCH] Curation: remove v8/test262/local-tests/test/built-ins/Map/ duplicates A version of the same file, containing the same test with a more complete set of meta data, exists --- ...terator-close-failure-after-set-failure.js | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 implementation-contributed/v8/test262/local-tests/test/built-ins/Map/iterator-close-failure-after-set-failure.js diff --git a/implementation-contributed/v8/test262/local-tests/test/built-ins/Map/iterator-close-failure-after-set-failure.js b/implementation-contributed/v8/test262/local-tests/test/built-ins/Map/iterator-close-failure-after-set-failure.js deleted file mode 100644 index e695600ddf..0000000000 --- a/implementation-contributed/v8/test262/local-tests/test/built-ins/Map/iterator-close-failure-after-set-failure.js +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (C) 2017 the V8 project authors. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. -/*--- -es6id: 23.1.1.1 -description: > - The correct error is thrown `Map.prototype.set` throws an error and - the IteratorClose throws an error. -features: [Symbol.iterator] ----*/ - -var count = 0; -var iterable = {}; -iterable[Symbol.iterator] = function() { - return { - next: function() { - return { value: [], done: false }; - }, - return: function() { - throw new TypeError('ignore'); - } - }; -}; -Map.prototype.set = function() { throw new Test262Error(); } - -assert.throws(Test262Error, function() { - new Map(iterable); -}); -- GitLab