[V8] Crash wrapping media element when MediaPlayer isn't available
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Nov 2012 11:33:28 +0000 (11:33 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Nov 2012 11:33:28 +0000 (11:33 +0000)
commit01ea61b2bfabf348d82891ffd4082c7a96e289d8
treedd229a96052d6725621c0e7436c5936175945720
parentea01ebc16af18059d7544ab2b01b7385fc0135b0
[V8] Crash wrapping media element when MediaPlayer isn't available
https://bugs.webkit.org/show_bug.cgi?id=103431

Patch by Dan Carney <dcarney@google.com> on 2012-11-28
Reviewed by Kentaro Hara.

Call HTMLElement::createWrapper directly when dispatching a
disabled MediaElement wrap.

No new tests. Testing this must apparently be manual.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateHeader):
* dom/make_names.pl:
(printWrapperFunctions):
(printWrapperFactoryHeaderFile):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@135993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
Source/WebCore/dom/make_names.pl