There are internal testing and debugging tools that are not needed or desired for production builds. We should add the capability to conditionally compile such code.
<rdar://problem/36330845>
We don't need to do this because the DOM gadget is guarded by internals settings now.