In some recent runs of fast/js/window-properties, window.document.location.replace has been reported as a function. Positive results: http://build.webkit.org/results/post-commit-powerpc-mac-os-x/3700/results.html http://build.webkit.org/results/post-commit-powerpc-mac-os-x/3703/results.html Negative results: http://build.webkit.org/results/post-commit-powerpc-mac-os-x/3701/results.html http://build.webkit.org/results/post-commit-powerpc-mac-os-x/3702/results.html
Seems to me that window.document.location.replace should always be there. I wonder why it only shows up sporadically and is not in the original expected results.
This is because the location object lacks static references to its properties. I have a fix.
In other words, I suspect this test was borked from the beginning.
Committed revision 17126. I win again, WebCore.