Implement a PopStateEvent constructor for V8
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Sep 2011 09:54:22 +0000 (09:54 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Sep 2011 09:54:22 +0000 (09:54 +0000)
commit6c56cbff4f4331f84f1f9cc7ca2679199adbd968
tree99c7dd5c0ef1780bd17798466645663d9488dfb9
parentc91121f64d67361c7480285765d5c1677bc9eb71
Implement a PopStateEvent constructor for V8
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
LayoutTests/ChangeLog
LayoutTests/platform/chromium/test_expectations.txt
Source/WebCore/ChangeLog
Source/WebCore/bindings/v8/custom/V8EventConstructors.cpp
Source/WebCore/dom/PopStateEvent.idl