Changeset 69984 in webkit
- Timestamp:
- Oct 18, 2010 12:33:58 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r69983 r69984 1 2010-10-18 Yongjun Zhang <yongjun_zhang@apple.com> 2 3 Reviewed by Darin Adler. 4 5 Missing support for document.createEvent("OrientationEvent") 6 https://bugs.webkit.org/show_bug.cgi?id=32492 7 8 Add support for document.createEvent("OrientationEvent") to help unit testing of 9 onOrientationChange event. 10 11 * fast/dom/DeviceOrientation/create-event-onorientationchange-expected.txt: Added. 12 * fast/dom/DeviceOrientation/create-event-onorientationchange.html: Added. 13 * fast/dom/DeviceOrientation/script-tests/create-event-onorientationchange.js: Added. 14 1 15 2010-10-18 Jeremy Orlow <jorlow@chromium.org> 2 16 -
trunk/WebCore/ChangeLog
r69983 r69984 1 2010-10-18 Yongjun Zhang <yongjun_zhang@apple.com> 2 3 Reviewed by Darin Adler. 4 5 Missing support for document.createEvent("OrientationEvent") 6 https://bugs.webkit.org/show_bug.cgi?id=32492 7 8 Add support for document.createEvent("OrientationEvent") to help unit testing of 9 onOrientationChange event. 10 11 Test: fast/dom/DeviceOrientation/create-event-onorientationchange.html 12 13 * dom/Document.cpp: 14 (WebCore::Document::createEvent): 15 1 16 2010-10-18 Jeremy Orlow <jorlow@chromium.org> 2 17 -
trunk/WebCore/dom/Document.cpp
r69868 r69984 3464 3464 event = DeviceOrientationEvent::create(); 3465 3465 #endif 3466 #if ENABLE(ORIENTATION_EVENTS) 3467 else if (eventType == "OrientationEvent") 3468 event = Event::create(); 3469 #endif 3466 3470 if (event) 3467 3471 return event.release();
Note: See TracChangeset
for help on using the changeset viewer.