To reproduce: 1. Go to http://build.webkit.org/LeaksViewer/?url=http://build.webkit.org/results/SnowLeopard%20Intel%20Leaks/r80699%20(15461)/DumpRenderTree-leaks.txt The leaks output never shows up. The Inspector shows that a "TypeError: Cannot post cyclic structures" exception was thrown.
In addition, Leaks Viewer says it's "loading" forever. That's bug 56091.
Oh, the error doesn't happen in ToT, only in Safari 5.
I'm surprised this doesn't happen for all leaks files.
Maybe we just shouldn't use Web Workers in Safari 5.
I think the only way to test whether cyclic structures can be sent in postMessage is to try doing it and see if an exception is thrown.
âĶI guess it does happen on any leaks file.
Created attachment 91012 [details] Patch
Committed r84840: <http://trac.webkit.org/changeset/84840>