Just as there are certain elements required to meet the definition of workplace harassment there are certain things that are irrelevant when determining if there has been workplace harassment.
There was no threat of potential impact on the job– Sometimes harassment involves the explicit or implicit threat that the behaviour must be tolerated if the person wants to continue to work there or is a condition for some other type of employment benefit. While this is a type of harassment there does not need to be any potential impact on the person's employment for it to be harassment.
PLEA offers free online training on preventing and addressing workplace harassment.