Currently the code that handles tracking testcase results only handles sections that are numeric section names. This needs to be modified to also handle sections "A-F" for the annex sections of the spec.
Created attachment 60
Add handling for sections "A-F"
- Update code that determines the test section to also allow "A-F" followed by ".". This will capture tests such as "B.2.1"
- If a test name doesn't match anything in getSectionById() just return the global section instead of trying to access a null object.
- Add section "Annex B" to the exam-262 TOC
Comment on attachment 60
Add handling for sections "A-F"
Patch looks good. Just make sure to test with a complete run and ensure that results are reported appropriately on the reporting tab for all sections!
(In reply to comment #2)
> Patch looks good. Just make sure to test with a complete run and ensure that
> results are reported appropriately on the reporting tab for all sections!
Yup, I should have mentioned, tested full and partial runs with FF, Chrome and Safari
changeset: 375:89ff32d0344b
user: Brent Baker <brbaker@adobe.com>
date: Fri Jun 07 07:05:37 2013 -0400
summary: Bug 1548: Update results handling for Annex B section (r+bterlson)
NOTE: I am still waiting to get access to update the live website @ http://test262.ecmascript.org