v8/test/mjsunit/strong
machenbach 1ea118d592 Revert of Revert of [strong] checking of this & super in constructors (patchset #1 id:1 of https://codereview.chromium.org/1105453002/)
Reason for revert:
Was an infrastructure problem.

Original issue's description:
> Revert of [strong] checking of this & super in constructors (patchset #7 id:110001 of https://codereview.chromium.org/1024063002/)
>
> Reason for revert:
> [Sheriff] Breaks mac gc stress:
> http://build.chromium.org/p/client.v8/builders/V8%20Mac%20GC%20Stress/builds/1024
>
> Original issue's description:
> > [strong] checking of this & super in constructors
> >
> > R=dslomov@chromium.org, marja@chromium.org
> > BUG=v8:3956
> > LOG=N
> >
> > Enforces for constructors that
> > - the only use of 'super' is the super constructor call
> > - the only use of 'this' is a property assignment
> > - both of these must happen at the top-level of the body
> > - 'this' may only be assigned after the 'super' call
> > - 'return' may only be used after the last assignment to 'this'
> >
> > Not yet working for arrow functions (there might be deeper bugs with those).
> >
> > Committed: https://crrev.com/580d66bcda66220d2f3062ac58daf925436df74c
> > Cr-Commit-Position: refs/heads/master@{#27977}
>
> TBR=dslomov@chromium.org,marja@chromium.org,conradw@chromium.org,rossberg@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=v8:3956

TBR=dslomov@chromium.org,marja@chromium.org,conradw@chromium.org,rossberg@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:3956

Review URL: https://codereview.chromium.org/1073103004

Cr-Commit-Position: refs/heads/master@{#28001}
2015-04-22 11:04:13 +00:00
..
arrays.js [strong] Deprecate ellisions 2015-02-24 12:51:08 +00:00
classes.js Revert of Revert of [strong] checking of this & super in constructors (patchset #1 id:1 of https://codereview.chromium.org/1105453002/) 2015-04-22 11:04:13 +00:00
declaration-after-use.js [strong] Allow mutually recursive classes. 2015-04-16 14:12:52 +00:00
delete.js [strong] deprecate empty sub-statements 2015-02-17 16:26:06 +00:00
empty-statement.js [strong] Deprecate for-in 2015-02-19 13:50:41 +00:00
equality.js [strong] deprecate empty sub-statements 2015-02-17 16:26:06 +00:00
eval-direct.js [strong] Implement static restrictions on direct eval 2015-04-13 17:25:15 +00:00
for-in.js [strong] Deprecate for-in 2015-02-19 13:50:41 +00:00
functions.js [strong] Make functions and generators non-extensible non-constructors 2015-02-25 14:52:51 +00:00
mutually-recursive-classes.js [strong] Allow mutually recursive classes. 2015-04-16 14:12:52 +00:00
mutually-recursive-funcs.js [strong] Adding regression cases which should always continue working. 2015-02-16 17:57:43 +00:00
switch.js [strong] Implement static restrictions on switch statement 2015-04-16 13:29:20 +00:00
undefined.js [strong] Implement static restrictions on binding 'undefined' in arrow functions 2015-04-10 18:27:05 +00:00
use-strong.js [strong] Implement static restrictions on direct eval 2015-04-13 17:25:15 +00:00
var-let-const.js [strong] Forbid var. 2015-02-17 15:41:25 +00:00