2 ----- tests for getting a targetWindow's history object's functions which have c
ustom overrides. The desired behavior is for the targetWindow to return the bui
ltin function, not the override -----
3
4 PASS: canGet('targetWindow.history.back') should be 'true' and is.
5 PASS: toString('targetWindow.history.back') should be 'function () { [native cod
e] }' and is.
6 PASS: canGet('targetWindow.history.forward') should be 'true' and is.
7 PASS: toString('targetWindow.history.forward') should be 'function () { [native
code] }' and is.
8 PASS: canGet('targetWindow.history.go') should be 'true' and is.
9 PASS: toString('targetWindow.history.go') should be 'function () { [native code]
}' and is.
Issue 14198015: Deny cross-origin access to 'window.history'.
(Closed)
Created 7 years, 7 months ago by Mike West
Modified 7 years, 7 months ago
Reviewers: abarth-chromium, eseidel
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 6