According to http://build.chromium.org/f/chromium/perf/xp-release-dual-core/dromaeo_domcore/report.html?history=50&rev=-1&graph=dom_query_getElementsByName__not_in_document_, http://trac.webkit.org/changeset/104210 regressed "getElementById (not in document)" on http://dromaeo.com/tests/dom-query.html
Created attachment 121383 [details] Fixes the bug
Committed r104263: <http://trac.webkit.org/changeset/104263>