With a minor change, the test could be cross-platform.
Created attachment 180080 [details] Patch
Comment on attachment 180080 [details] Patch Clearing flags on attachment: 180080 Committed r138112: <http://trac.webkit.org/changeset/138112>
All reviewed patches have been landed. Closing bug.