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

Unified Diff: test/webkit/exception-for-nonobject.js

Issue 1822663002: [es6] Rebaseline tests of 'instanceof' error messages. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_instanceof-prepare-tests-1
Patch Set: One more test. Created 4 years, 9 months 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
« no previous file with comments | « test/mjsunit/messages.js ('k') | test/webkit/exception-for-nonobject-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/exception-for-nonobject.js
diff --git a/test/webkit/exception-for-nonobject.js b/test/webkit/exception-for-nonobject.js
index d39c3e05120a63851fb75c86f19e01cf73d8a4e1..f54915eb2e0b314fc7d130ba7b798aadb1f17c04 100644
--- a/test/webkit/exception-for-nonobject.js
+++ b/test/webkit/exception-for-nonobject.js
@@ -21,6 +21,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: --harmony-instanceof
+
description("Test for correct handling of exceptions from instanceof and 'new' expressions");
shouldThrow("new {}.undefined");
« no previous file with comments | « test/mjsunit/messages.js ('k') | test/webkit/exception-for-nonobject-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698