Apaprently, the test had a JS error and the captured result has the error message rather then expected one.
Created attachment 30952 [details] Proposed patch
Comment on attachment 30952 [details] Proposed patch LGTM. Thanks!
Landed: http://trac.webkit.org/changeset/44419