Title: [94350] trunk/Source/WebCore
- Revision
- 94350
- Author
- [email protected]
- Date
- 2011-09-01 15:16:23 -0700 (Thu, 01 Sep 2011)
Log Message
Generate an XSLTProcessor constructor of V8 using the IDL 'Constructor' extended attribute
https://bugs.webkit.org/show_bug.cgi?id=67414
Patch by Kentaro Hara <[email protected]> on 2011-09-01
Reviewed by Dimitri Glazkov.
Test: fast/dom/Window/custom-constructors.html
fast/xsl/default-html.html
* bindings/v8/custom/V8XSLTProcessorCustom.cpp: Removed constructorCallback().
* xml/XSLTProcessor.idl: Added the 'Constructor' extended attribute.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (94349 => 94350)
--- trunk/Source/WebCore/ChangeLog 2011-09-01 22:02:42 UTC (rev 94349)
+++ trunk/Source/WebCore/ChangeLog 2011-09-01 22:16:23 UTC (rev 94350)
@@ -1,3 +1,16 @@
+2011-09-01 Kentaro Hara <[email protected]>
+
+ Generate an XSLTProcessor constructor of V8 using the IDL 'Constructor' extended attribute
+ https://bugs.webkit.org/show_bug.cgi?id=67414
+
+ Reviewed by Dimitri Glazkov.
+
+ Test: fast/dom/Window/custom-constructors.html
+ fast/xsl/default-html.html
+
+ * bindings/v8/custom/V8XSLTProcessorCustom.cpp: Removed constructorCallback().
+ * xml/XSLTProcessor.idl: Added the 'Constructor' extended attribute.
+
2011-09-01 Eric Carlson <[email protected]>
HTMLMediaElement should use fastHasAttribute instead of hasAttribute
Modified: trunk/Source/WebCore/bindings/v8/custom/V8XSLTProcessorCustom.cpp (94349 => 94350)
--- trunk/Source/WebCore/bindings/v8/custom/V8XSLTProcessorCustom.cpp 2011-09-01 22:02:42 UTC (rev 94349)
+++ trunk/Source/WebCore/bindings/v8/custom/V8XSLTProcessorCustom.cpp 2011-09-01 22:16:23 UTC (rev 94350)
@@ -46,13 +46,6 @@
namespace WebCore {
-v8::Handle<v8::Value> V8XSLTProcessor::constructorCallback(const v8::Arguments& args)
-{
- INC_STATS("DOM.XSLTProcessor.Constructor");
- return V8Proxy::constructDOMObject<XSLTProcessor>(args, &info);
-}
-
-
v8::Handle<v8::Value> V8XSLTProcessor::importStylesheetCallback(const v8::Arguments& args)
{
INC_STATS("DOM.XSLTProcessor.importStylesheet");
Modified: trunk/Source/WebCore/xml/XSLTProcessor.idl (94349 => 94350)
--- trunk/Source/WebCore/xml/XSLTProcessor.idl 2011-09-01 22:02:42 UTC (rev 94349)
+++ trunk/Source/WebCore/xml/XSLTProcessor.idl 2011-09-01 22:16:23 UTC (rev 94350)
@@ -36,7 +36,7 @@
Conditional=XSLT,
CanBeConstructed,
CustomConstructFunction,
- V8CustomConstructor
+ Constructor
] XSLTProcessor {
[Custom] void importStylesheet(in Node stylesheet);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes