Now that we have our window test failing on IE 8, as it should, we need to make it pass when we use IE 8’s Capture API. Our previous approach of using spies won’t work, and that wasn’t the most elegant solution anyway. Our new test code actually tests the behavior. It’s some truly nasty code doing a truly lovely job. Better yet: it can—and will—be fixed.