shlogg · Early preview
Burak Yigit Kaya @madbyk

IOS Browser Bugs Break Disqus: Patching Reqwest Fixes Issue

Discovered 2 iOS browser bugs at Disqus: suspended events causing login issues & onreadystatechange events firing multiple times, resulting in repeated content. Patched Reqwest XHR library to fix issues.

Over the last two weeks at Disqus we discovered two annoying browser bugs. Both were only happening on iOS, which reminded me the famous quote from Sherlock Holmes: “when you have eliminated the impossible, whatever remains, however improbable, must be the truth”.
The first one was a bad one. We had reports from users not being able to login to our system from the embedded commenting widget, but only on iOS. The symptoms were even stranger:

Users were shown the login page in a popup
Users could login and the cookie was set
The popup stayed open but notified the embed about the logged in user...