Patch to follow.
Created attachment 182299 [details] Patch
Created attachment 182308 [details] Patch
Comment on attachment 182308 [details] Patch Wrong bug ID
Comment on attachment 182299 [details] Patch A test?
Comment on attachment 182299 [details] Patch Clearing flags on attachment: 182299 Committed r139426: <http://trac.webkit.org/changeset/139426>
All reviewed patches have been landed. Closing bug.