Changeset 78323 in webkit
- Timestamp:
- Feb 11, 2011 1:12:41 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r78322 r78323 1 2011-02-11 Adam Barth <abarth@webkit.org> 2 3 Attempt to fix the Windows build. Apparently we don't support 4 conditional attributes on functions. This patch makes the whole Crypto 5 interface conditional on ArrayBuffer support. 6 7 * page/DOMWindow.idl: 8 * page/Crypto.cpp: 9 * page/Crypto.h: 10 * page/Crypto.idl: 11 1 12 2011-02-10 Antti Koivisto <antti@apple.com> 2 13 -
trunk/Source/WebCore/page/Crypto.cpp
r78321 r78323 42 42 } 43 43 44 #if ENABLE(WEBGL) || ENABLE(BLOB) 44 45 void Crypto::getRandomValues(ArrayBufferView* array, ExceptionCode& ec) 45 46 { … … 55 56 #endif 56 57 } 58 #endif 57 59 58 60 } -
trunk/Source/WebCore/page/Crypto.h
r78321 r78323 44 44 static PassRefPtr<Crypto> create() { return adoptRef(new Crypto()); } 45 45 46 #if ENABLE(WEBGL) || ENABLE(BLOG) 46 47 void getRandomValues(ArrayBufferView*, ExceptionCode&); 48 #endif 47 49 48 50 private: -
trunk/Source/WebCore/page/Crypto.idl
r78321 r78323 30 30 31 31 interface [ 32 // FIXME: We should just enable ArrayBuffer support all the time. 33 Conditional=WEBGL|BLOB, 32 34 OmitConstructor 33 35 ] Crypto { 34 // FIXME: We should just enable ArrayBuffer support all the time. 35 [Conditional=WEBGL|BLOB] void getRandomValues(in ArrayBufferView array) raises(DOMException); 36 void getRandomValues(in ArrayBufferView array) raises(DOMException); 36 37 }; 37 38 -
trunk/Source/WebCore/page/DOMWindow.idl
r78321 r78323 55 55 attribute [Replaceable] Navigator navigator; 56 56 attribute [Replaceable] Navigator clientInformation; 57 attribute [Replaceable, Conditional=WEBGL|BLOB] Crypto crypto; 57 58 attribute [DoNotCheckDomainSecurity, JSCCustom, V8CustomSetter, V8DisallowShadowing, CPPCustom] Location location; 58 59 59 60 attribute [Replaceable, CustomGetter, V8CustomSetter] Event event; 60 61 61 readonly attribute Crypto crypto;62 62 63 63 DOMSelection getSelection();
Note: See TracChangeset
for help on using the changeset viewer.