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

Side by Side Diff: Source/core/page/DOMWindow.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 17 matching lines...) Expand all
28 CheckSecurity, 28 CheckSecurity,
29 EventTarget, 29 EventTarget,
30 CustomToV8, 30 CustomToV8,
31 CustomNamedGetter, 31 CustomNamedGetter,
32 DoNotGenerateWrap, 32 DoNotGenerateWrap,
33 CustomIndexedGetter, 33 CustomIndexedGetter,
34 InterfaceName=Window 34 InterfaceName=Window
35 ] interface DOMWindow { 35 ] interface DOMWindow {
36 // DOM Level 0 36 // DOM Level 0
37 [Replaceable] readonly attribute Screen screen; 37 [Replaceable] readonly attribute Screen screen;
38 [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute History history ; 38 [Replaceable] readonly attribute History history;
39 [Replaceable] readonly attribute BarInfo locationbar; 39 [Replaceable] readonly attribute BarInfo locationbar;
40 [Replaceable] readonly attribute BarInfo menubar; 40 [Replaceable] readonly attribute BarInfo menubar;
41 [Replaceable] readonly attribute BarInfo personalbar; 41 [Replaceable] readonly attribute BarInfo personalbar;
42 [Replaceable] readonly attribute BarInfo scrollbars; 42 [Replaceable] readonly attribute BarInfo scrollbars;
43 [Replaceable] readonly attribute BarInfo statusbar; 43 [Replaceable] readonly attribute BarInfo statusbar;
44 [Replaceable] readonly attribute BarInfo toolbar; 44 [Replaceable] readonly attribute BarInfo toolbar;
45 [Replaceable, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds] readonl y attribute Navigator navigator; 45 [Replaceable, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds] readonl y attribute Navigator navigator;
46 [Replaceable] readonly attribute Navigator clientInformation; 46 [Replaceable] readonly attribute Navigator clientInformation;
47 readonly attribute Crypto crypto; 47 readonly attribute Crypto crypto;
48 [DoNotCheckSecurity, CustomSetter, Unforgeable] attribute Location location; 48 [DoNotCheckSecurity, CustomSetter, Unforgeable] attribute Location location;
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 attribute MutationRecordConstructor MutationRecord; 741 attribute MutationRecordConstructor MutationRecord;
742 742
743 [EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaS ource; 743 [EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaS ource;
744 [EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourc eBuffer; 744 [EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourc eBuffer;
745 [EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitS ourceBufferList; 745 [EnabledAtRuntime=mediaSource] attribute SourceBufferListConstructor WebKitS ourceBufferList;
746 746
747 // window.toString() requires special handling in V8 747 // window.toString() requires special handling in V8
748 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); 748 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString();
749 }; 749 };
750 750
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698