Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(976)

Unified Diff: third_party/WebKit/WebCore/bindings/v8/custom/V8XMLHttpRequestUploadCustom.cpp

Issue 67225: Use null for default value of event handler attributes in XMLHttpRequest.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/WebCore/bindings/v8/custom/V8XMLHttpRequestUploadCustom.cpp
===================================================================
--- third_party/WebKit/WebCore/bindings/v8/custom/V8XMLHttpRequestUploadCustom.cpp (revision 13799)
+++ third_party/WebKit/WebCore/bindings/v8/custom/V8XMLHttpRequestUploadCustom.cpp (working copy)
@@ -52,7 +52,7 @@
v8::Local<v8::Object> v8Listener = listener->getListenerObject();
return v8Listener;
}
- return v8::Undefined();
+ return v8::Null();
}
ACCESSOR_SETTER(XMLHttpRequestUploadOnabort)
@@ -91,7 +91,7 @@
v8::Local<v8::Object> v8Listener = listener->getListenerObject();
return v8Listener;
}
- return v8::Undefined();
+ return v8::Null();
}
ACCESSOR_SETTER(XMLHttpRequestUploadOnerror)
@@ -130,7 +130,7 @@
v8::Local<v8::Object> v8Listener = listener->getListenerObject();
return v8Listener;
}
- return v8::Undefined();
+ return v8::Null();
}
ACCESSOR_SETTER(XMLHttpRequestUploadOnload)
@@ -169,7 +169,7 @@
v8::Local<v8::Object> v8Listener = listener->getListenerObject();
return v8Listener;
}
- return v8::Undefined();
+ return v8::Null();
}
ACCESSOR_SETTER(XMLHttpRequestUploadOnloadstart)
@@ -208,7 +208,7 @@
v8::Local<v8::Object> v8Listener = listener->getListenerObject();
return v8Listener;
}
- return v8::Undefined();
+ return v8::Null();
}
ACCESSOR_SETTER(XMLHttpRequestUploadOnprogress)

Powered by Google App Engine
This is Rietveld 408576698