Changeset 124759 in webkit
- Timestamp:
- Aug 6, 2012 6:04:03 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 11 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r124756 r124759 1 2012-08-06 Kihong Kwon <kihong.kwon@samsung.com> 2 3 Add DeviceProximityEvent interface 4 https://bugs.webkit.org/show_bug.cgi?id=92942 5 6 Reviewed by Kentaro Hara. 7 8 Add tests for creating and handling the DeviceProximityEvent. 9 10 * fast/dom/Proximity/check-event-deviceproximity-expected.txt: Added. 11 * fast/dom/Proximity/check-event-deviceproximity.html: Added. 12 * fast/dom/Proximity/create-event-deviceproximity-expected.txt: Added. 13 * fast/dom/Proximity/create-event-deviceproximity.html: Added. 14 * fast/events/constructors/device-proximity-event-constructor-expected.txt: Added. 15 * fast/events/constructors/device-proximity-event-constructor.html: Added. 16 * platform/chromium/TestExpectations: 17 * platform/efl/TestExpectations: 18 * platform/gtk/TestExpectations: 19 * platform/mac/Skipped: 20 * platform/qt/Skipped: 21 1 22 2012-08-06 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> 2 23 -
trunk/LayoutTests/platform/chromium/TestExpectations
r124745 r124759 153 153 // Chromium needs larger media files to test buffering this way. 154 154 BUGWK88172 SKIP : http/tests/media/video-buffered.html = PASS 155 156 // Proximity Events is not supported. 157 BUGWK92942 SKIP : fast/dom/Proximity = PASS 158 BUGWK92942 SKIP : fast/events/constructors/device-proximity-event-constructor.html = PASS 155 159 156 160 // ----------------------------------------------------------------- -
trunk/LayoutTests/platform/efl/TestExpectations
r124725 r124759 824 824 BUGWK92352 : css3/flexbox/flex-rounding.html = TEXT 825 825 826 // Proximity Events is not supported. 827 BUGWK92942 SKIP : fast/dom/Proximity = PASS 828 BUGWK92942 SKIP : fast/events/constructors/device-proximity-event-constructor.html = PASS 829 826 830 // Needs rebaseline after https://bugs.webkit.org/show_bug.cgi?id=80219 827 831 BUGWK80219 : fast/box-sizing/box-sizing.html = IMAGE+TEXT -
trunk/LayoutTests/platform/gtk/TestExpectations
r124717 r124759 394 394 // Dialog element is not yet enabled. 395 395 BUGWK84635 SKIP : fast/dom/HTMLDialogElement = TEXT 396 397 // Proximity Events is not supported. 398 BUGWK92942 SKIP : fast/dom/Proximity = PASS 399 BUGWK92942 SKIP : fast/events/constructors/device-proximity-event-constructor.html = PASS 400 396 401 ////////////////////////////////////////////////////////////////////////////////////////// 397 402 // End of Expected failures -
trunk/LayoutTests/platform/mac/Skipped
r124717 r124759 617 617 networkinformation 618 618 619 # Proximity Events is not supported. 620 fast/dom/Proximity 621 fast/events/constructors/device-proximity-event-constructor.html 622 619 623 # https://bugs.webkit.org/show_bug.cgi?id=43022 620 624 tables/mozilla_expected_failures/bugs/bug85016.html -
trunk/LayoutTests/platform/qt/Skipped
r124751 r124759 495 495 # https://bugs.webkit.org/show_bug.cgi?id=85558 496 496 http/tests/security/contentSecurityPolicy/1.1 497 498 # Proximity Events is now supported. 499 fast/dom/Proximity 500 fast/events/constructors/device-proximity-event-constructor.html 497 501 498 502 # =========================================================================== # -
trunk/Source/WebCore/CMakeLists.txt
r124730 r124759 12 12 "${WEBCORE_DIR}/Modules/notifications" 13 13 "${WEBCORE_DIR}/Modules/protocolhandler" 14 "${WEBCORE_DIR}/Modules/proximity" 14 15 "${WEBCORE_DIR}/Modules/quota" 15 16 "${WEBCORE_DIR}/Modules/vibration" … … 225 226 226 227 Modules/protocolhandler/NavigatorRegisterProtocolHandler.idl 227 228 229 Modules/proximity/DeviceProximityEvent.idl 230 228 231 Modules/quota/DOMWindowQuota.idl 229 232 Modules/quota/StorageInfo.idl … … 853 856 854 857 Modules/protocolhandler/NavigatorRegisterProtocolHandler.cpp 858 859 Modules/proximity/DeviceProximityEvent.cpp 855 860 856 861 Modules/quota/DOMWindowQuota.cpp -
trunk/Source/WebCore/ChangeLog
r124757 r124759 1 2012-08-06 Kihong Kwon <kihong.kwon@samsung.com> 2 3 Add DeviceProximityEvent interface 4 https://bugs.webkit.org/show_bug.cgi?id=92942 5 6 Reviewed by Kentaro Hara. 7 8 Spec : http://www.w3.org/TR/proximity/#idl-def-DeviceProximityEvent 9 10 Add DeviceProximityEvent interface of Proximity Events. 11 And add onwebkitdeviceproximity event handler to the DOMWindow. 12 13 Tests: fast/dom/Proximity/check-event-deviceproximity.html 14 fast/dom/Proximity/create-event-deviceproximity.html 15 fast/events/constructors/device-proximity-event-constructor.html 16 17 * CMakeLists.txt: 18 * Modules/proximity/DeviceProximityEvent.cpp: Added. 19 (WebCore): 20 (WebCore::DeviceProximityEvent::DeviceProximityEvent): 21 * Modules/proximity/DeviceProximityEvent.h: Added. 22 (WebCore): 23 (WebCore::DeviceProximityEventInit::DeviceProximityEventInit): 24 (DeviceProximityEventInit): 25 (DeviceProximityEvent): 26 (WebCore::DeviceProximityEvent::~DeviceProximityEvent): 27 (WebCore::DeviceProximityEvent::create): 28 (WebCore::DeviceProximityEvent::value): 29 (WebCore::DeviceProximityEvent::min): 30 (WebCore::DeviceProximityEvent::max): 31 (WebCore::DeviceProximityEvent::interfaceName): 32 * Modules/proximity/DeviceProximityEvent.idl: Added. 33 * dom/EventNames.h: 34 (WebCore): 35 * dom/EventNames.in: 36 * page/DOMWindow.h: 37 (DOMWindow): 38 * page/DOMWindow.idl: 39 1 40 2012-08-06 Carlos Garcia Campos <cgarcia@igalia.com> 2 41 -
trunk/Source/WebCore/dom/EventNames.h
r124535 r124759 239 239 macro(webkitresourcetimingbufferfull) \ 240 240 \ 241 macro(webkitdeviceproximity) \ 242 \ 241 243 242 244 // end of DOM_EVENT_NAMES_FOR_EACH -
trunk/Source/WebCore/dom/EventNames.in
r121691 r124759 44 44 DeviceMotionEvent conditional=DEVICE_ORIENTATION 45 45 DeviceOrientationEvent conditional=DEVICE_ORIENTATION 46 DeviceProximityEvent conditional=PROXIMITY_EVENTS 46 47 OrientationEvent interfaceName=Event, conditional=ORIENTATION_EVENTS 47 48 MediaKeyEvent conditional=ENCRYPTED_MEDIA -
trunk/Source/WebCore/page/DOMWindow.h
r124753 r124759 354 354 #endif 355 355 356 #if ENABLE(PROXIMITY_EVENTS) 357 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitdeviceproximity); 358 #endif 359 356 360 // HTML 5 key/value storage 357 361 Storage* sessionStorage(ExceptionCode&) const; -
trunk/Source/WebCore/page/DOMWindow.idl
r123522 r124759 314 314 attribute [Conditional=DEVICE_ORIENTATION,V8EnabledAtRuntime] EventListener ondeviceorientation; 315 315 316 attribute [Conditional=PROXIMITY_EVENTS] EventListener onwebkitdeviceproximity; 317 316 318 // EventTarget interface 317 319 [Custom] void addEventListener(in DOMString type, … … 552 554 attribute [Conditional=INPUT_SPEECH] SpeechInputEventConstructor SpeechInputEvent; 553 555 attribute [Conditional=WEBGL] WebGLContextEventConstructor WebGLContextEvent; 556 attribute [Conditional=PROXIMITY_EVENTS] DeviceProximityEventConstructor DeviceProximityEvent; 554 557 555 558 attribute EventExceptionConstructor EventException;
Note: See TracChangeset
for help on using the changeset viewer.