[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
steveblock at google.com
steveblock at google.com
Wed Dec 22 11:52:54 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 2f6d41ee5dfd52a0e941606e5405199007c475fa
Author: steveblock at google.com <steveblock at google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Aug 10 14:14:13 2010 +0000
2010-08-10 Steve Block <steveblock at google.com>
Reviewed by Jeremy Orlow.
[V8] DeviceMotionEvent can not be used from JavaScript
https://bugs.webkit.org/show_bug.cgi?id=43785
This is tested by the existing tests fast/dom/DeviceMotion/create-event.html
and fast/dom/DeviceMotion/optional-event-properties.html.
* bindings/v8/custom/V8EventCustom.cpp:
(WebCore::toV8):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 13c9be8..246524e 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2010-08-10 Steve Block <steveblock at google.com>
+
+ Reviewed by Jeremy Orlow.
+
+ [V8] DeviceMotionEvent can not be used from JavaScript
+ https://bugs.webkit.org/show_bug.cgi?id=43785
+
+ This is tested by the existing tests fast/dom/DeviceMotion/create-event.html
+ and fast/dom/DeviceMotion/optional-event-properties.html.
+
+ * bindings/v8/custom/V8EventCustom.cpp:
+ (WebCore::toV8):
+
2010-08-10 Balazs Kelemen <kb at inf.u-szeged.hu>
Reviewed by Antonio Gomes.
diff --git a/WebCore/bindings/v8/custom/V8EventCustom.cpp b/WebCore/bindings/v8/custom/V8EventCustom.cpp
index bce1561..e0bb02b 100644
--- a/WebCore/bindings/v8/custom/V8EventCustom.cpp
+++ b/WebCore/bindings/v8/custom/V8EventCustom.cpp
@@ -40,6 +40,7 @@
#include "V8Clipboard.h"
#include "V8CompositionEvent.h"
#include "V8CustomEvent.h"
+#include "V8DeviceMotionEvent.h"
#include "V8DeviceOrientationEvent.h"
#include "V8ErrorEvent.h"
#include "V8IDBErrorEvent.h"
@@ -155,6 +156,8 @@ v8::Handle<v8::Value> toV8(Event* impl)
if (impl->isBeforeLoadEvent())
return toV8(static_cast<BeforeLoadEvent*>(impl));
#if ENABLE(DEVICE_ORIENTATION)
+ if (impl->isDeviceMotionEvent())
+ return toV8(static_cast<DeviceMotionEvent*>(impl));
if (impl->isDeviceOrientationEvent())
return toV8(static_cast<DeviceOrientationEvent*>(impl));
#endif
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list