Two Urls are equal when their canonical text, query included, is equal. See the class description for what makes two texts different.