Bug 156926
| Summary: | The environment we create to put "this" in when we have an 'eval' doesn't always need to claim its variables are under TDZ | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Saam Barati <saam> |
| Component: | JavaScriptCore | Assignee: | Saam Barati <saam> |
| Status: | NEW | ||
| Severity: | Normal | CC: | benjamin, fpizlo, ggaren, gskachkov, keith_miller, mark.lam, msaboff, oliver, sukolsak, ysuzuki |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Saam Barati
It only needs to do this when it's variables really are under TDZ. Like in an ES6 constructor.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
GSkachkov
Are there any examples for this case?