No person shall,
(a) open the door of a motor vehicle on a highway without first taking due precautions to ensure that his or her act will not interfere with the movement of or endanger any other person or vehicle; or
(b) leave a door of a motor vehicle on a highway open on the side of the vehicle available to moving traffic for a period of time longer than is necessary to load or unload passengers. R.S.O. 1990, c. H.8, s. 165.