Currently tree ordering is tested by Tools/TestWebKitAPI/Tests/WebCore/DocumentOrder.cpp For this purpose, documentOrder() is WEBKIT_EXPORTed. Instead, we should expose these in WebKit internals object, then replace DocumentOrder.cpp with tests written in JavaScript.
Alternatively, we may be able to export template implementations by using WEBCORE_EXPORT on the explicit template instantiations as we do in JSDOMConvertNumbers.h.
(In reply to Darin Adler from comment #1) > Alternatively, we may be able to export template implementations by using > WEBCORE_EXPORT on the explicit template instantiations as we do in > JSDOMConvertNumbers.h. mmh, I had tried something like that but obtained build failures. It's worth trying again though.
<rdar://problem/81255637>