blob: 3b1e8dc999e00a3d60b218d5b43426b5f2886acf [file] [log] [blame]
----- tests for getting a targetWindow's location object's functions which have custom overrides. The desired behavior is for the targetWindow to return the builtin function, not the override -----
PASS: canGet('targetWindow.location.assign') should be 'true' and is.
PASS: toString('targetWindow.location.assign') should be 'function () { [native code] }' and is.
PASS: canGet('targetWindow.location.reload') should be 'true' and is.
PASS: toString('targetWindow.location.reload') should be 'function () { [native code] }' and is.
PASS: canGet('targetWindow.location.replace') should be 'true' and is.
PASS: toString('targetWindow.location.replace') should be 'function () { [native code] }' and is.