RESOLVED FIXED 135240
ResourceErrorBase::compare doesn’t call the right platformCompare override
https://bugs.webkit.org/show_bug.cgi?id=135240
Summary ResourceErrorBase::compare doesn’t call the right platformCompare override
mitz
Reported 2014-07-24 10:01:25 PDT
ResourceErrorBase::compare calls platformCompare. It should call the ResourceError::platformCompare override.
Attachments
Call ResourceError::platformCompare (1.21 KB, patch)
2014-07-24 21:59 PDT, mitz
no flags
Call ResourceError::platformCompare (2.80 KB, patch)
2014-07-24 22:37 PDT, mitz
ap: review+
mitz
Comment 1 2014-07-24 21:59:12 PDT
Created attachment 235500 [details] Call ResourceError::platformCompare
mitz
Comment 2 2014-07-24 22:37:52 PDT
Created attachment 235503 [details] Call ResourceError::platformCompare
Alexey Proskuryakov
Comment 3 2014-07-24 22:50:00 PDT
Comment on attachment 235503 [details] Call ResourceError::platformCompare Do we ever compare errors? What does that even mean? Looking at these methods, I want to delete them, not to fix them.
mitz
Comment 4 2014-07-24 22:55:56 PDT
(In reply to comment #3) > (From update of attachment 235503 [details]) > Do we ever compare errors? I don’t see anywhere in WebCore that we do. > What does that even mean? Checking whether two errors are the same ;-) > Looking at these methods, I want to delete them, not to fix them. Yeah, I’d rather do that if possible.
mitz
Comment 5 2014-07-25 09:42:08 PDT
operator!= turned out to be used in comparing authentication challenges. Fixed in <http://trac.webkti.org/r171600>.
Note You need to log in before you can comment on or make changes to this bug.