added impl for new base XUL API ... clear()