https://bugs.webkit.org/show_bug.cgi?id=68896
Patch by Kentaro Hara <haraken@chromium.org> on 2011-09-28
Reviewed by Adam Barth.
Source/WebCore:
Test: fast/events/constructors/pop-state-event-constructor.html
* bindings/v8/custom/V8EventConstructors.cpp: Added a PopStateEvent constructor.
* dom/PopStateEvent.idl: Added a 'V8CustomConstructor' attribute.
LayoutTests:
Enabled pop-state-event-constructor.html, since now V8 has the PopStateEvent constructor.
* platform/chromium/test_expectations.txt:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96212
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-09-28 Kentaro Hara <haraken@chromium.org>
+
+ Implement a PopStateEvent constructor for V8
+ https://bugs.webkit.org/show_bug.cgi?id=68896
+
+ Reviewed by Adam Barth.
+
+ Enabled pop-state-event-constructor.html, since now V8 has the PopStateEvent constructor.
+
+ * platform/chromium/test_expectations.txt:
+
2011-09-28 Ilya Tikhonovsky <loislo@chromium.org>
Unreviewed fix for test.
// CSS3 Selectors3 test suite
BUGCR89468 : css3/selectors3 = PASS FAIL
-// This will soon be fixed after implementing a PopStateEvent constructor for V8.
-BUGWK67977 : fast/events/constructors/pop-state-event-constructor.html = FAIL
-
// Tests for WebVTT parser for <track>. Feature is not yet functional.
BUGWK43668 SKIP : media/track/ = TIMEOUT
+2011-09-28 Kentaro Hara <haraken@chromium.org>
+
+ Implement a PopStateEvent constructor for V8
+ https://bugs.webkit.org/show_bug.cgi?id=68896
+
+ Reviewed by Adam Barth.
+
+ Test: fast/events/constructors/pop-state-event-constructor.html
+
+ * bindings/v8/custom/V8EventConstructors.cpp: Added a PopStateEvent constructor.
+ * dom/PopStateEvent.idl: Added a 'V8CustomConstructor' attribute.
+
2011-09-28 No'am Rosenthal <noam.rosenthal@nokia.com>
[Texmap] Allow TextureMapperGL to work without a GraphicsContext
#include "HashChangeEvent.h"
#include "Node.h"
#include "PageTransitionEvent.h"
+#include "PopStateEvent.h"
#include "ProgressEvent.h"
#include "WebKitAnimationEvent.h"
#include "V8HashChangeEvent.h"
#include "V8Node.h"
#include "V8PageTransitionEvent.h"
+#include "V8PopStateEvent.h"
#include "V8ProgressEvent.h"
#include "V8Proxy.h"
#include "V8WebKitAnimationEvent.h"
INSTANTIATE_INITIALIZING_CONSTRUCTOR_FOR_CLOSE_EVENT(DICTIONARY_START, DICTIONARY_END, FILL_PARENT_PROPERTIES, FILL_PROPERTY)
INSTANTIATE_INITIALIZING_CONSTRUCTOR_FOR_PAGE_TRANSITION_EVENT(DICTIONARY_START, DICTIONARY_END, FILL_PARENT_PROPERTIES, FILL_PROPERTY)
INSTANTIATE_INITIALIZING_CONSTRUCTOR_FOR_ERROR_EVENT(DICTIONARY_START, DICTIONARY_END, FILL_PARENT_PROPERTIES, FILL_PROPERTY)
+INSTANTIATE_INITIALIZING_CONSTRUCTOR_FOR_POP_STATE_EVENT(DICTIONARY_START, DICTIONARY_END, FILL_PARENT_PROPERTIES, FILL_PROPERTY)
} // namespace WebCore
#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
interface [
CanBeConstructed,
- CustomConstructFunction
+ CustomConstructFunction,
+ V8CustomConstructor
] PopStateEvent : Event {
void initPopStateEvent(in [Optional=CallWithDefaultValue] DOMString typeArg,
in [Optional=CallWithDefaultValue] boolean canBubbleArg,