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

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

Issue 921683002: make window interceptors DoNoCheckSecurity (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 5 years, 10 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 | « Source/bindings/tests/results/modules/V8TestInterface5.cpp ('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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 // Additional constructors. 189 // Additional constructors.
190 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons tructor WebKitTransitionEvent; 190 [MeasureAs=PrefixedTransitionEventConstructor] attribute TransitionEventCons tructor WebKitTransitionEvent;
191 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent; 191 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent;
192 [DeprecateAs=PrefixedWindowURL] attribute URLConstructor webkitURL; 192 [DeprecateAs=PrefixedWindowURL] attribute URLConstructor webkitURL;
193 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo nstructor WebKitMutationObserver; 193 [MeasureAs=PrefixedMutationObserverConstructor] attribute MutationObserverCo nstructor WebKitMutationObserver;
194 194
195 // window.toString() requires special handling in V8 195 // window.toString() requires special handling in V8
196 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ; 196 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ;
197 197
198 [NotEnumerable] getter Window (unsigned long index); 198 [NotEnumerable, DoNotCheckSecurity] getter Window (unsigned long index);
199 [Custom, NotEnumerable] getter Window (DOMString name); 199 [Custom, NotEnumerable, DoNotCheckSecurity] getter Window (DOMString name);
200 }; 200 };
201 201
202 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects 202 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects
203 // 203 //
204 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176 . 204 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176 .
205 // The postMessage() methods taking a Transferable array argument have custom 205 // The postMessage() methods taking a Transferable array argument have custom
206 // binding code that is able to handle the Transferables that we currently 206 // binding code that is able to handle the Transferables that we currently
207 // recognize. To be able to declare a postMessage() signature that matches 207 // recognize. To be able to declare a postMessage() signature that matches
208 // the implementation, we provide a Transferable typedef but with an 208 // the implementation, we provide a Transferable typedef but with an
209 // incomplete type. 209 // incomplete type.
210 // 210 //
211 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 211 // FIXME: make this typedef accurate once enough of http://crbug.com/240176
212 // is in place. 212 // is in place.
213 // FIXME: consider putting this typedef in an .idl file containing spec-wide 213 // FIXME: consider putting this typedef in an .idl file containing spec-wide
214 // utility type definitions. 214 // utility type definitions.
215 typedef MessagePort Transferable; 215 typedef MessagePort Transferable;
216 216
217 Window implements GlobalEventHandlers; 217 Window implements GlobalEventHandlers;
218 Window implements WindowBase64; 218 Window implements WindowBase64;
219 Window implements WindowEventHandlers; 219 Window implements WindowEventHandlers;
220 Window implements WindowTimers; 220 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/modules/V8TestInterface5.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698