Bug 981328 - [Search] XHR mock is not restored r=rickychien

https://bugzilla.mozilla.org/show_bug.cgi?id=981328