If I went to the bathroom and my friend didn't wait for me - or at least say, 'Hey, if you don't mind I'm going to keep shopping...is that okay with you?' - I would have felt somewhat hurt. I would think my friend was trying to rush through our time together, or just trying to disregard me being with her.
The women and bathroom thing is always touchy, lol.