Driving Test Canada - Car Traffic lights & pavement markings - Who has the right-of-way when pedestrians are crossing?

Who has the right-of-way when pedestrians are crossing?