| Index: Source/bindings/core/v8/V8Binding.cpp
|
| diff --git a/Source/bindings/core/v8/V8Binding.cpp b/Source/bindings/core/v8/V8Binding.cpp
|
| index 6eacca6d18be06da4bce891f7bbd6cf6ebb3b497..72cf5a249a656502b90de18a41bc0018c68be2e2 100644
|
| --- a/Source/bindings/core/v8/V8Binding.cpp
|
| +++ b/Source/bindings/core/v8/V8Binding.cpp
|
| @@ -827,8 +827,10 @@ v8::Handle<v8::Function> getBoundFunction(v8::Handle<v8::Function> function)
|
|
|
| void addHiddenValueToArray(v8::Isolate* isolate, v8::Handle<v8::Object> object, v8::Local<v8::Value> value, int arrayIndex)
|
| {
|
| + fprintf(stderr, "%s\n", __PRETTY_FUNCTION__);
|
| v8::Local<v8::Value> arrayValue = object->GetInternalField(arrayIndex);
|
| if (arrayValue->IsNull() || arrayValue->IsUndefined()) {
|
| + fprintf(stderr, "create new array\n");
|
| arrayValue = v8::Array::New(isolate);
|
| object->SetInternalField(arrayIndex, arrayValue);
|
| }
|
| @@ -854,6 +856,7 @@ void removeHiddenValueFromArray(v8::Isolate* isolate, v8::Handle<v8::Object> obj
|
|
|
| void moveEventListenerToNewWrapper(v8::Isolate* isolate, v8::Handle<v8::Object> object, EventListener* oldValue, v8::Local<v8::Value> newValue, int arrayIndex)
|
| {
|
| + fprintf(stderr, "%s old = %p\n", __PRETTY_FUNCTION__, oldValue ? V8AbstractEventListener::cast(oldValue) : oldValue);
|
| if (oldValue) {
|
| V8AbstractEventListener* oldListener = V8AbstractEventListener::cast(oldValue);
|
| if (oldListener) {
|
|
|