I do not have an answer for you (Canon of scripture / Westminster Confession of Faith) because I have not studied the Protestant Confessions. However, the following may be helpful to you about when the canon of the Bible was put together. How and when was the canon of the Bible put together?