archives

« Bugzilla Issues Index

#315 — Coverage: 10.5 Declaration Binding Instantiation, step 5e


10.5 step 5e should be covered in test262, no browser seems to respect the specification completely.


Created attachment 13
testcase 1


Created attachment 14
testcase 2


Created attachment 15
testcase 3


I've attached three test case files covering a few combinations which should be tested. Hopefully may spec reading was right and the test cases assert the right behaviour.


Created attachment 16
testcase 1


Created attachment 17
testcase 2


Created attachment 18
testcase 3


Created attachment 19
testcase 4


Created attachment 20
testcase 5


I've updated the original three test cases so they ensure the new binding did actually work. And also added two additional tests, one for 10.5 step 5d and the other one for 10.5 step 5f.


Created attachment 21
testcase 4


Created attachment 22
testcase 5


Uh, finally found the bug I was searching for: bug 78. That one describes all the shenanigans with 10.5 step 5. (Note: the attached test cases assert for the exact behaviour described in ES 5.1 and do not include the behaviour described in bug 78 which is apparently supposed to get into the 5.1 Errata)