Changeset 93764 in webkit
- Timestamp:
- Aug 25, 2011 1:13:20 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 deleted
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r93763 r93764 1 2011-08-25 MORITA Hajime <morrita@google.com> 2 3 Unreviewed, rolling out r93762. 4 http://trac.webkit.org/changeset/93762 5 https://bugs.webkit.org/show_bug.cgi?id=66756 6 7 IndexedDb tests crash 8 9 * fast/events/event-constructors-expected.txt: Removed. 10 * fast/events/event-constructors.html: Removed. 11 * platform/gtk/Skipped: 12 * platform/mac/Skipped: 13 * platform/qt/Skipped: 14 * platform/win/Skipped: 15 * platform/wk2/Skipped: 16 1 17 2011-08-25 Zoltan Herczeg <zherczeg@webkit.org> 2 18 -
trunk/LayoutTests/platform/gtk/Skipped
r93762 r93764 492 492 fast/forms/select-script-onchange.html 493 493 fast/html/tab-order.html 494 495 # These tests require the implementation of Event constructors.496 # https://bugs.webkit.org/show_bug.cgi?id=63878497 fast/events/event-constructors.html498 494 499 495 # The box isn't empty after a test run with this test. -
trunk/LayoutTests/platform/mac/Skipped
r93762 r93764 89 89 fast/events/mouseover-button.html 90 90 91 # These tests require the JSC implementation of Event constructors.92 # https://bugs.webkit.org/show_bug.cgi?id=6387893 fast/events/event-constructors.html94 95 91 # Skipped until https://bugs.webkit.org/show_bug.cgi?id=33923 is resolved. 96 92 platform/mac/accessibility/change-notification-on-scroll.html -
trunk/LayoutTests/platform/qt/Skipped
r93762 r93764 202 202 # Font feature settings is not implemented. 203 203 css3/font-feature-settings-rendering.html 204 205 # These tests require the JSC implementation of Event constructors.206 # https://bugs.webkit.org/show_bug.cgi?id=63878207 fast/events/event-constructors.html208 204 209 205 # =========================================================================== # -
trunk/LayoutTests/platform/win/Skipped
r93762 r93764 148 148 # No button tracked 149 149 fast/events/mouseover-button.html 150 151 # These tests require the JSC implementation of Event constructors.152 # https://bugs.webkit.org/show_bug.cgi?id=63878153 fast/events/event-constructors.html154 150 155 151 # The eqqivalent of option-tab doesn not exist in Boomer <rdar://problem/5137230> -
trunk/LayoutTests/platform/wk2/Skipped
r93762 r93764 1596 1596 platform/mac/fast/text/rounding-hacks-expansion.html 1597 1597 1598 # These tests require the implementation of Event constructors.1599 # https://bugs.webkit.org/show_bug.cgi?id=638781600 fast/events/event-constructors.html1601 1602 1598 # Sometimes fails 1603 1599 # http://webkit.org/b/58990 -
trunk/Source/WebCore/ChangeLog
r93762 r93764 1 2011-08-25 MORITA Hajime <morrita@google.com> 2 3 Unreviewed, rolling out r93762. 4 http://trac.webkit.org/changeset/93762 5 https://bugs.webkit.org/show_bug.cgi?id=66756 6 7 IndexedDb tests crash 8 9 * WebCore.gypi: 10 * WebCore.pro: 11 * bindings/generic/EventConstructors.h: Removed. 12 * bindings/v8/OptionsObject.cpp: 13 * bindings/v8/OptionsObject.h: 14 * bindings/v8/custom/V8EventConstructors.cpp: Removed. 15 * dom/Event.cpp: 16 * dom/Event.h: 17 (WebCore::Event::create): 18 * dom/Event.idl: 19 1 20 2011-08-24 Kentaro Hara <haraken@google.com> 2 21 -
trunk/Source/WebCore/WebCore.gypi
r93762 r93764 1730 1730 'bindings/generic/BindingSecurityBase.cpp', 1731 1731 'bindings/generic/BindingSecurityBase.h', 1732 'bindings/generic/EventConstructors.h',1733 1732 'bindings/generic/GenericBinding.h', 1734 1733 'bindings/generic/RuntimeEnabledFeatures.cpp', … … 2143 2142 'bindings/v8/custom/V8EntryCustom.cpp', 2144 2143 'bindings/v8/custom/V8EntrySyncCustom.cpp', 2145 'bindings/v8/custom/V8EventConstructors.cpp',2146 2144 'bindings/v8/custom/V8EventCustom.cpp', 2147 2145 'bindings/v8/custom/V8EventSourceConstructor.cpp', -
trunk/Source/WebCore/WebCore.pro
r93762 r93764 165 165 bindings/v8/custom/V8DocumentLocationCustom.cpp \ 166 166 bindings/v8/custom/V8ElementCustom.cpp \ 167 bindings/v8/custom/V8EventConstructors.cpp \168 167 bindings/v8/custom/V8EventCustom.cpp \ 169 168 bindings/v8/custom/V8EventSourceConstructor.cpp \ -
trunk/Source/WebCore/bindings/v8/OptionsObject.cpp
r93762 r93764 90 90 } 91 91 92 bool OptionsObject::getKeyDouble(const String& key, double& value) const93 {94 v8::Local<v8::Value> v8Value;95 if (!getKey(key, v8Value))96 return false;97 98 v8::Local<v8::Number> v8Number = v8Value->ToNumber();99 if (v8Number.IsEmpty())100 return false;101 value = v8Number->Value();102 return true;103 }104 105 92 bool OptionsObject::getKeyString(const String& key, String& value) const 106 93 { -
trunk/Source/WebCore/bindings/v8/OptionsObject.h
r93762 r93764 48 48 bool getKeyString(const String& key, String& value) const; 49 49 bool getKeyStringWithUndefinedOrNullCheck(const String& key, String& value) const; 50 bool getKeyDouble(const String& key, double& value) const;51 50 PassRefPtr<DOMStringList> getKeyDOMStringList(const String& key) const; 52 51 PassRefPtr<IDBKeyRange> getKeyKeyRange(const String& key) const; 53 54 bool getKeyValue(const String& key, bool& value) const55 {56 return getKeyBool(key, value);57 }58 bool getKeyValue(const String& key, int32_t& value) const59 {60 return getKeyInt32(key, value);61 }62 bool getKeyValue(const String& key, double& value) const63 {64 return getKeyDouble(key, value);65 }66 bool getKeyValue(const String& key, String& value) const67 {68 return getKeyString(key, value);69 }70 52 71 53 private: -
trunk/Source/WebCore/dom/Event.cpp
r93762 r93764 32 32 namespace WebCore { 33 33 34 EventConfiguration::EventConfiguration()35 : bubbles(false)36 , cancelable(false)37 , defaultPrevented(false)38 , timeStamp(0)39 {40 }41 42 34 Event::Event() 43 35 : m_canBubble(false) … … 69 61 } 70 62 71 Event::Event(const AtomicString& eventType, const EventConfiguration& eventConfiguration)72 : m_type(eventType)73 , m_canBubble(eventConfiguration.bubbles)74 , m_cancelable(eventConfiguration.cancelable)75 , m_propagationStopped(false)76 , m_immediatePropagationStopped(false)77 , m_defaultPrevented(eventConfiguration.defaultPrevented)78 , m_defaultHandled(false)79 , m_cancelBubble(false)80 , m_eventPhase(0)81 , m_currentTarget(0)82 , m_createTime(static_cast<DOMTimeStamp>(eventConfiguration.timeStamp))83 {84 }85 86 63 Event::~Event() 87 64 { -
trunk/Source/WebCore/dom/Event.h
r93762 r93764 34 34 class EventTarget; 35 35 class EventDispatcher; 36 37 struct EventConfiguration {38 EventConfiguration();39 40 bool bubbles;41 bool cancelable;42 bool defaultPrevented;43 double timeStamp;44 };45 36 46 37 class Event : public RefCounted<Event> { … … 78 69 { 79 70 return adoptRef(new Event(type, canBubble, cancelable)); 80 }81 static PassRefPtr<Event> create(const AtomicString& type, const EventConfiguration& eventConfiguration)82 {83 return adoptRef(new Event(type, eventConfiguration));84 71 } 85 72 virtual ~Event(); … … 190 177 Event(); 191 178 Event(const AtomicString& type, bool canBubble, bool cancelable); 192 Event(const AtomicString&, const EventConfiguration&);193 179 194 180 virtual void receivedTarget(); -
trunk/Source/WebCore/dom/Event.idl
r93762 r93764 1 1 /* 2 * Copyright (C) 2006, 2007, 2009 , 2011Apple Inc. All rights reserved.2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 3 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 4 4 * … … 25 25 CustomToJS, 26 26 NoStaticTables, 27 Polymorphic, 28 CanBeConstructed, 29 V8CustomConstructor 27 Polymorphic 30 28 ] Event { 31 29
Note: See TracChangeset
for help on using the changeset viewer.