Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-history-get-override-expected.txt

Issue 14198015: Deny cross-origin access to 'window.history'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
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.
10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698