It's hard to tell what the actual result of a failed JS test is in TestWebKitAPI's output
Created attachment 103929 [details] Patch
Comment on attachment 103929 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=103929&action=review > Tools/TestWebKitAPI/JavaScriptTest.cpp:79 > + OwnArrayPtr<char> buffer = adoptArrayPtr(new char[bufferSize]); Interestingly JSStringGetMaximumUTF8CStringSize seems incorrectly used in WebKit/Tools/DumpRenderTree/LayoutTestController.cpp where it adds +1 to the output from it but looking at the implementation of that function. the usage here is correct.
Committed r93052: <http://trac.webkit.org/changeset/93052>