diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-02-08 13:25:23 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-02-09 10:53:50 +0100 |
commit | e7e2aa45689014640a425d60f4be87b211634b97 (patch) | |
tree | 281827974599d3d96c6399a051b8ff2d5c66de13 /tests | |
parent | 2eca9ab72bcd67c864630723aaaa370a167a951b (diff) |
Fix name function expressions
We should also insert those into the environment members if they have
a name and are part of an expression statement. Simple testcase
example:
try {
function foo() { ... }
} catch (e) {}
Then foo should be visible as if it was declared outside of the try.
Change-Id: I8d23a28e1c4537d4f57f9cb0d559e6163e0fdef0
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestExpectations | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/TestExpectations b/tests/TestExpectations index 13383782bb..30aad20bd1 100644 --- a/tests/TestExpectations +++ b/tests/TestExpectations @@ -3,7 +3,6 @@ 15.2.3.6-2-17-1 failing -10.4.2-1-2 failing 10.4.3-1-104 failing 10.4.3-1-106 failing 10.4.3-1-63-s failing @@ -12,7 +11,6 @@ S11.5.3_A4_T2 failing S11.8.6_A3 failing S11.8.6_A5_T2 failing -12.14-13 failing S13_A15_T4 failing S13_A3_T1 failing S13.2.3_A1 failing @@ -20,13 +18,10 @@ S14_A2 failing 14.1-5-s failing 15.1.1.3-3 failing S15.12.2_A1 failing -15.2.3.6-4-360-3 failing -15.2.3.6-4-360-7 failing 15.4.4.14-9-a-10 failing 15.4.4.14-9-a-17 failing 15.4.4.14-9-a-7 failing 15.4.4.14-9-a-9 failing -15.4.4.19-5-1 failing S15.4.4.3_A1_T1 failing S15.4.4.3_A3_T1 failing 15.4.4.4-5-c-i-1 failing @@ -37,8 +32,6 @@ S15.5.4.11_A5_T1 failing 15.5.4.20-4-1 failing S15.5.4.8_A1_T4 failing S15.7.4.5_A1.4_T01 failing -Sbp_12.5_A9_T3 failing -Sbp_12.6.2_A13_T3 failing Sbp_7.8.4_A6.1_T4 failing Sbp_7.8.4_A6.2_T1 failing Sbp_7.8.4_A6.2_T2 failing @@ -51,4 +44,8 @@ Sbp_A4_T2 failing S12.4_A1 failing S15.2.4.4_A14 failing # Try/catch scoping issue -S12.14_A4 failing
\ No newline at end of file +S12.14_A4 failing + +# Function declaration inside if / while +Sbp_12.5_A9_T3 failing +Sbp_12.6.2_A13_T3 failing
\ No newline at end of file |