Index: Source/bindings/tests/results/V8TestNode.cpp |
diff --git a/Source/bindings/tests/results/V8TestNode.cpp b/Source/bindings/tests/results/V8TestNode.cpp |
index 2e03c8d6de1bfe930e2d9a674341d42fadfc4af8..18d4b30b3594039463d8614cf272215bbbc19baa 100644 |
--- a/Source/bindings/tests/results/V8TestNode.cpp |
+++ b/Source/bindings/tests/results/V8TestNode.cpp |
@@ -25,6 +25,7 @@ |
#include "ContextFeatures.h" |
#include "Frame.h" |
#include "RuntimeEnabledFeatures.h" |
+#include "ScriptController.h" |
#include "V8Binding.h" |
#include "V8DOMWrapper.h" |
#include "V8Node.h" |
@@ -103,6 +104,7 @@ static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestNodeTemplate(v8::Pers |
0, 0, isolate, currentWorldType); |
UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. |
desc->SetCallHandler(V8TestNode::constructorCallback); |
+ desc->SetLength(0); |
// Custom toString template |
desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->toStringTemplate()); |