Line of sight is defined on p.45 of the DMG; the wording there has nothing to do with whether the target can see and has more to do with the obstruction, if any, between two spaces. If they'd wanted the spell to be dependent on what the target can actually see/perceive, I think the spell would...