✔ 最佳答案
with the rel pron as the subject of the clause:-,which frightened me.
in non-defining clause that refer to a clause="once a dog chased me"not to a special dog, because only one dog.The meaning is still complete without it.Hence,without two commas=non-defining, although only one dog=tends to become a defining.
However, a defining adjective clause is a necessary in the sentence because the meaning will be unclear without it.(if there are two or more dogs)