Add isURLErrorCancelled.