Sorry to bring this up in a new thread, but it seems impossible to move the thread at forum.jquery.com/topic/qunit-to-check-for-globals
So, as reported there (and I can reproduce this), checking for leaked globals using QUnit will have all tests fail that add DOM nodes using an id. Is there a workaround or fix in sight?