Changeset 62659 in webkit


Ignore:
Timestamp:
Jul 7, 2010 6:58:55 AM (14 years ago)
Author:
steveblock@google.com
Message:

2010-07-07 Steve Block <steveblock@google.com>

Reviewed by Adam Barth.

document.createEvent() should support DeviceOrientationEvent
https://bugs.webkit.org/show_bug.cgi?id=41618

  • fast/dom/DeviceOrientation/create-event-expected.txt: Added.
  • fast/dom/DeviceOrientation/create-event.html: Added.
  • fast/dom/DeviceOrientation/script-tests/create-event.js: Added.
  • platform/gtk/Skipped:

2010-07-07 Steve Block <steveblock@google.com>

Reviewed by Adam Barth.

document.createEvent() should support DeviceOrientationEvent
https://bugs.webkit.org/show_bug.cgi?id=41618

Tests: fast/dom/DeviceOrientation/create-event.html

  • dom/Document.cpp: (WebCore::Document::createEvent):
Location:
trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r62657 r62659  
     12010-07-07  Steve Block  <steveblock@google.com>
     2
     3        Reviewed by Adam Barth.
     4
     5        document.createEvent() should support DeviceOrientationEvent
     6        https://bugs.webkit.org/show_bug.cgi?id=41618
     7
     8        * fast/dom/DeviceOrientation/create-event-expected.txt: Added.
     9        * fast/dom/DeviceOrientation/create-event.html: Added.
     10        * fast/dom/DeviceOrientation/script-tests/create-event.js: Added.
     11        * platform/gtk/Skipped:
     12
    1132010-07-07  Csaba Osztrogonác  <ossy@webkit.org>
    214
  • trunk/LayoutTests/platform/gtk/Skipped

    r62653 r62659  
    11641164fast/dom/cssTarget-crash.html
    11651165fast/dom/frame-loading-via-document-write.html
     1166fast/dom/DeviceOrientation/create-event.html
    11661167fast/dom/DeviceOrientation/window-property.html
    11671168fast/dom/Geolocation/callback-exception.html
  • trunk/WebCore/ChangeLog

    r62658 r62659  
     12010-07-07  Steve Block  <steveblock@google.com>
     2
     3        Reviewed by Adam Barth.
     4
     5        document.createEvent() should support DeviceOrientationEvent
     6        https://bugs.webkit.org/show_bug.cgi?id=41618
     7
     8        Tests: fast/dom/DeviceOrientation/create-event.html
     9
     10        * dom/Document.cpp:
     11        (WebCore::Document::createEvent):
     12
    1132010-07-07  Yury Semikhatsky  <yurys@chromium.org>
    214
  • trunk/WebCore/dom/Document.cpp

    r62284 r62659  
    4545#include "DOMImplementation.h"
    4646#include "DOMWindow.h"
     47#include "DeviceOrientationEvent.h"
    4748#include "DocLoader.h"
    4849#include "DocumentFragment.h"
     
    32633264        event = TouchEvent::create();
    32643265#endif
     3266#if ENABLE(DEVICE_ORIENTATION)
     3267    else if (eventType == "DeviceOrientationEvent")
     3268        event = DeviceOrientationEvent::create();
     3269#endif
    32653270    if (event)
    32663271        return event.release();
Note: See TracChangeset for help on using the changeset viewer.