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

Side by Side Diff: Source/core/frame/Window.idl

Issue 242613009: Make window.history property non replaceable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 8 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
« no previous file with comments | « LayoutTests/http/tests/history/resources/cross-origin-replaces-history-object-child-iframe.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // http://www.w3.org/html/wg/drafts/html/master/browsers.html#window 28 // http://www.w3.org/html/wg/drafts/html/master/browsers.html#window
29 // FIXME: explain all uses of [DoNotCheckSecurity] 29 // FIXME: explain all uses of [DoNotCheckSecurity]
30 [ 30 [
31 CheckSecurity=Frame, 31 CheckSecurity=Frame,
32 Custom=ToV8, 32 Custom=ToV8,
33 ImplementedAs=DOMWindow, 33 ImplementedAs=DOMWindow,
34 WillBeGarbageCollected, 34 WillBeGarbageCollected,
35 ] interface Window : EventTarget { 35 ] interface Window : EventTarget {
36 // DOM Level 0 36 // DOM Level 0
37 readonly attribute Screen screen; 37 readonly attribute Screen screen;
38 [Replaceable] readonly attribute History history; 38 readonly attribute History history;
39 [Replaceable] readonly attribute BarProp locationbar; 39 [Replaceable] readonly attribute BarProp locationbar;
40 [Replaceable] readonly attribute BarProp menubar; 40 [Replaceable] readonly attribute BarProp menubar;
41 [Replaceable] readonly attribute BarProp personalbar; 41 [Replaceable] readonly attribute BarProp personalbar;
42 [Replaceable] readonly attribute BarProp scrollbars; 42 [Replaceable] readonly attribute BarProp scrollbars;
43 [Replaceable] readonly attribute BarProp statusbar; 43 [Replaceable] readonly attribute BarProp statusbar;
44 [Replaceable] readonly attribute BarProp toolbar; 44 [Replaceable] readonly attribute BarProp toolbar;
45 [PerWorldBindings, ActivityLogging=GetterForIsolatedWorlds] readonly attribu te Navigator navigator; 45 [PerWorldBindings, ActivityLogging=GetterForIsolatedWorlds] readonly attribu te Navigator navigator;
46 [Replaceable] readonly attribute Navigator clientInformation; 46 [Replaceable] readonly attribute Navigator clientInformation;
47 [DoNotCheckSecurity, Unforgeable, Replaceable, PerWorldBindings, ActivityLog ging=ForIsolatedWorlds, PutForwards=href] readonly attribute Location location; 47 [DoNotCheckSecurity, Unforgeable, Replaceable, PerWorldBindings, ActivityLog ging=ForIsolatedWorlds, PutForwards=href] readonly attribute Location location;
48 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event; 48 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 [NotEnumerable] getter Window (unsigned long index); 231 [NotEnumerable] getter Window (unsigned long index);
232 [Custom, NotEnumerable] getter Window (DOMString name); 232 [Custom, NotEnumerable] getter Window (DOMString name);
233 }; 233 };
234 234
235 Window implements GlobalEventHandlers; 235 Window implements GlobalEventHandlers;
236 Window implements ImageBitmapFactories; 236 Window implements ImageBitmapFactories;
237 Window implements WindowBase64; 237 Window implements WindowBase64;
238 Window implements WindowEventHandlers; 238 Window implements WindowEventHandlers;
239 Window implements WindowTimers; 239 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/history/resources/cross-origin-replaces-history-object-child-iframe.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698