Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / mozilla / strict / script-tests / regress-532254.js
blob35e0322d552d19bf1e1e546b1ae8607b8a0e44b0
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3 /*
4  * Any copyright is dedicated to the Public Domain.
5  * http://creativecommons.org/licenses/publicdomain/
6  */
8 assertEq(testLenientAndStrict('function f(eval,[x]){}',
9                               parsesSuccessfully,
10                               parseRaisesException(SyntaxError)),
11          true);
13 reportCompare(true, true);
15 var successfullyParsed = true;