- 05 Feb, 2014 1 commit
-
-
marja@chromium.org authored
We used to have error messages which provide context, like "Variable name may not be eval or arguments in strict mode", but for other illegal words we only have non-context specific error messages like "Unexpected reserved word". Providing the context makes the code unnecessarily complex, since every individual place must remember to check for eval or arguments. This CL produces a unified error message ("Unexpected eval or arguments in strict mode"), and puts the error reporting to (Pre)Parser::ParseIdentifier. Notes: - The module feature is so experimental, that I decided to not allow "eval" or "arguments" as module-related identifiers in the strict mode (even though this check wasn't there before). - Unfortunately, there were some inconsistencies, since it was the responsibility of the caller of ParseIdentifier to check "eval" and "arguments" and some places didn't have the check for no good reason. This CL is supposed to keep backward compatibility and *not* introduce any new errors. - ECMA allows "eval" and "arguments" as labels even in strict mode. (Syntax: "LabelledStatement: Identifier : Statement", and no strict mode restrictions on Identifier are listed.) - Tests which compare error message strings will fail, and need to be updated. BUG=3126 LOG=N R=ulan@chromium.org Review URL: https://codereview.chromium.org/152813005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19112 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Feb, 2014 1 commit
-
-
marja@chromium.org authored
In addition: - Fix a bug in parser discovered by the tests (prefix and postfix confused in an error message); the preparser had it right. - Unify the parser and preparser error locations when the name of a function is "eval" or "arguments. Now both point to the name. BUG=3126 LOG=N R=ulan@chromium.org Review URL: https://codereview.chromium.org/153693002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19062 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 31 Jan, 2014 4 commits
-
-
verwaest@chromium.org authored
BUG= R=machenbach@chromium.org Review URL: https://codereview.chromium.org/151483004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19005 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
jarin@chromium.org authored
We do not correctly handle accesses to f.arguments after one of the argument has changed (where f is crankshafted). R=machenbach@chromium.org BUG=v8:2989 LOG=n Review URL: https://codereview.chromium.org/151403003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18999 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
machenbach@chromium.org authored
TBR=bmeurer@chromium.org BUG=237872 LOG=n Review URL: https://codereview.chromium.org/144533006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18996 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
svenpanne@chromium.org authored
BUG=v8:2943 LOG=Y TEST=Unit tests for "real life" use cases, edge cases, various types of normalization. ========================== This is identical to the previous CL https://codereview.chromium.org/40133004/ with two differences: * Added a dummy implementation of String.prototype.normalize to be used when v8 is compiled without intl support * Rebased the the test files for webkit. That was the only reason for the previous failure (and revert). Thank you, Mihai R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/68133016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18972 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 30 Jan, 2014 1 commit
-
-
plind44@gmail.com authored
The webkit/function-apply-aliased.js test fails on simulators (both MIPS and ARM) as the printed output does not match to the expected. The failing test forces a stack overflow exception and the ToString() operation of the exception object fails because of an other stack overflow and returns an empty string. The problem is that on hardware a common JS and C stack is used so the stack overflow can be caught in C functions also while on simulator separated JS and C stacks are used. This patch adds a "sim" condition to test .status files to skip tests only on simulator. LOG=N BUG=v8:3124 R=jkummerow@chromium.org, plind44@gmail.com Review URL: https://codereview.chromium.org/139233005 Patch from Balazs Kilvady <kilvadyb@homejinni.com>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18959 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Jan, 2014 1 commit
-
-
dslomov@chromium.org authored
This reverts commit bdc89ae76c15f3ef2626f8849744500248aec3ba. This is a revert of the revert with test/webkit updated as needed. Original CL Description: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.setprototypeof This just exposes the internal %SetPrototype and adds all the required type checks as specified. BUG=v8:2675 LOG=Y R=dslomov@chromium.org, rossberg@chromium.org Review URL: https://codereview.chromium.org/144193005 Patch from Erik Arvidsson <arv@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18739 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Jan, 2014 1 commit
-
-
mstarzinger@chromium.org authored
R=jkummerow@chromium.org LOG=N BUG=v8:3082 TEST=webkit/fast/js/Object-getOwnPropertyNames Review URL: https://codereview.chromium.org/127853002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18481 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Nov, 2013 1 commit
-
-
yangguo@chromium.org authored
The changes are (excluding presubmit.py) mechanical. I added the following lines after the check and iterated the presubmit script until all errors went away: f = open(name, "w"); if contents.endswith('\n\n'): f.write(contents[0:-1]) else: f.write(contents + '\n') R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/82803005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18017 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Nov, 2013 2 commits
-
-
machenbach@chromium.org authored
TBR=jkummerow@chromium.org BUG=v8:2989 Review URL: https://codereview.chromium.org/62283008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17686 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
machenbach@chromium.org authored
TBR=jkummerow@chromium.org BUG=v8:2989 Review URL: https://codereview.chromium.org/68573003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17684 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Nov, 2013 2 commits
-
-
machenbach@chromium.org authored
BUG=v8:2989 R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/66163004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17604 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yangguo@chromium.org authored
R=bmeurer@chromium.org BUG=82797, v8:1593 Review URL: https://codereview.chromium.org/66463002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17587 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 Nov, 2013 1 commit
-
-
mvstanton@chromium.org authored
R=verwaest@chromium.org TBR=verwaest@chromium.org Review URL: https://codereview.chromium.org/62213002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17530 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Sep, 2013 1 commit
-
-
jkummerow@chromium.org authored
R=machenbach@chromium.org Review URL: https://codereview.chromium.org/23498058 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16919 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Aug, 2013 1 commit
-
-
machenbach@chromium.org authored
BUG=v8:2815 R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/22806002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16149 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 31 Jul, 2013 1 commit
-
-
machenbach@chromium.org authored
BUG=v8:2815 R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/21044005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15968 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 30 Jul, 2013 3 commits
-
-
machenbach@chromium.org authored
BUG=2795 R=mvstanton@chromium.org Review URL: https://codereview.chromium.org/21220002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15949 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
machenbach@chromium.org authored
When adding the new tests in https://codereview.chromium.org/21070002/ the tabs in .js files were automatically replaced with spaces (for presubmit to work). This replaces the tabs also in a test expectation file for the output to match again. R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/21156008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15946 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
machenbach@chromium.org authored
All these tests had <script> tags with additional JS code. All embedded script code is (automatically) concatenated with existing .js files into one .js test file per test. R=mstarzinger@chromium.org Review URL: https://codereview.chromium.org/21070002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15943 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 26 Jul, 2013 2 commits
-
-
machenbach@chromium.org authored
Two failing tests are skipped and added to an existing bug report. R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/20708002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15904 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
machenbach@chromium.org authored
R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/20691002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15901 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 25 Jul, 2013 1 commit
-
-
machenbach@chromium.org authored
The stand-alone test driver is changed a bit: - Don't use the errorMessage list. It is used differently in the embedded driver. There it collects parser errors - instead of failure messages. - Remove html links in description texts. Some test descriptions print a web reference. The migrated tests fall into 3 categories: 1. Tests outside fast/js 2. Tests that print FAIL messages (and also expect those) - these tests should be examined later if they make sense at all 3. Tests with html links in the test description R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/20280003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15889 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Jul, 2013 1 commit
-
-
machenbach@chromium.org authored
The file tests different CR and LF combinations that cannot be stored correctly in SVN. Since we do not need coverage here, we rather remove the test completely. R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/18333002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15401 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 28 Jun, 2013 3 commits
-
-
machenbach@chromium.org authored
R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/18051011 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15382 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
machenbach@chromium.org authored
The file contains the combinations CRLF LFCR CR and LF, and it looks like git automatically changed them to LF in the last dcommit. See also http://www.dont-panic.cc/capi/2009/02/16/how-to-force-git-to-consider-a-file-as-binary/ The file is going to be added again in a different issue with an additional .gitattributes file to treat it as binary. R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/18080013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15377 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
machenbach@chromium.org authored
Duration for each is between 14 s and 160 s. R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/18034017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15374 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 27 Jun, 2013 2 commits
-
-
machenbach@chromium.org authored
R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/18068003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15370 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
machenbach@chromium.org authored
In stress testing, the output is repeated several times. In this case, it is now compared several times to the actual output. R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/18062002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15369 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 26 Jun, 2013 1 commit
-
-
machenbach@chromium.org authored
This initial CL contains the new test suite code and two tests for demonstration. Other tests will follow in a separate CL. R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/17260002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15339 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-