Profiling of compilation show that JSDOMGlobalObject.h is the most expensive header when building WebCore, contributing over 6 minutes across all compilation units. Moving the implementation of functions from JSDOMWrapper.h to .cpp files would allow using a forward declaration instead of including an expensive header.
<rdar://problem/104894173>
Pull request: https://github.com/WebKit/WebKit/pull/9423