fgnass/jsdom — comment on commit e07f03b10a6b21a6fbd06f01d82c1dc3aca37838
File: lib/jsdom/level2/html.js line 645
By brianmcd:

You need to invoke the anonymous function here. That fixes the failing frame/script tests. I'm getting the usual 4 failed, plus jsdom/index/issue_338_internal_nodelist_props (ERROR 1 vs 3).