Changeset 65071 in webkit
- Timestamp:
- Aug 10, 2010 7:14:13 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r65070 r65071 1 2010-08-10 Steve Block <steveblock@google.com> 2 3 Reviewed by Jeremy Orlow. 4 5 [V8] DeviceMotionEvent can not be used from JavaScript 6 https://bugs.webkit.org/show_bug.cgi?id=43785 7 8 This is tested by the existing tests fast/dom/DeviceMotion/create-event.html 9 and fast/dom/DeviceMotion/optional-event-properties.html. 10 11 * bindings/v8/custom/V8EventCustom.cpp: 12 (WebCore::toV8): 13 1 14 2010-08-10 Balazs Kelemen <kb@inf.u-szeged.hu> 2 15 -
trunk/WebCore/bindings/v8/custom/V8EventCustom.cpp
r60624 r65071 41 41 #include "V8CompositionEvent.h" 42 42 #include "V8CustomEvent.h" 43 #include "V8DeviceMotionEvent.h" 43 44 #include "V8DeviceOrientationEvent.h" 44 45 #include "V8ErrorEvent.h" … … 156 157 return toV8(static_cast<BeforeLoadEvent*>(impl)); 157 158 #if ENABLE(DEVICE_ORIENTATION) 159 if (impl->isDeviceMotionEvent()) 160 return toV8(static_cast<DeviceMotionEvent*>(impl)); 158 161 if (impl->isDeviceOrientationEvent()) 159 162 return toV8(static_cast<DeviceOrientationEvent*>(impl));
Note: See TracChangeset
for help on using the changeset viewer.