See summary.
Created attachment 49130 [details] Proposed patch
Comment on attachment 49130 [details] Proposed patch ok
Comment on attachment 49130 [details] Proposed patch Committed via webkit-patch (errored out though): http://trac.webkit.org/changeset/55055