The symptoms are similar to those in bug 60813. Patch to follow.
Created attachment 125138 [details] Patch
Committed r106560: <http://trac.webkit.org/changeset/106560>
I think it'd be nice to create a perf test for this.