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

Unified Diff: Source/core/page/History.idl

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/DOMWindow.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/History.idl
diff --git a/Source/core/page/History.idl b/Source/core/page/History.idl
index 92d889a9ec24a9f7f2ec48aa091eee87f231e67c..40e6648da9be29fad1922e94f67a8e2f7feeb6a2 100644
--- a/Source/core/page/History.idl
+++ b/Source/core/page/History.idl
@@ -23,18 +23,13 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- CheckSecurity,
- CustomNamedSetter,
- CustomDeleteProperty,
- CustomEnumerateProperty,
-] interface History {
+interface History {
readonly attribute unsigned long length;
[CachedAttribute, Custom] readonly attribute SerializedScriptValue state;
- [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void back();
- [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void forward();
- [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void go([Default=Undefined] optional long distance);
+ [CallWith=ScriptExecutionContext] void back();
+ [CallWith=ScriptExecutionContext] void forward();
+ [CallWith=ScriptExecutionContext] void go([Default=Undefined] optional long distance);
[Custom, EnabledPerContext=pushState, RaisesException] void pushState(any data, DOMString title, optional DOMString url);
[Custom, EnabledPerContext=pushState, RaisesException] void replaceState(any data, DOMString title, optional DOMString url);
« no previous file with comments | « Source/core/page/DOMWindow.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698