Bug 1032324 - about:newtab can't switch search engine if icon/logo/image is not available. r=adw
Comment 37: nits.
Comment 41: taskify.
taskify checkCurrentEngine
Comment 44.

1. Fix behavior of head.js
2. Stop the test when event failed