Bug 1062866 - Remove legacy code from test-selection.js