Title: [135329] trunk/Source/WebCore
- Revision
- 135329
- Author
- hara...@chromium.org
- Date
- 2012-11-20 16:20:12 -0800 (Tue, 20 Nov 2012)
Log Message
Unreviewed. Rebaselined run-bindings-tests results.
* bindings/scripts/test/V8/V8TestEventConstructor.cpp:
(WebCore::V8TestEventConstructor::constructorCallback):
* bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
(WebCore::V8TestNamedConstructorConstructorCallback):
* bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::V8TestOverloadedConstructors::constructorCallback):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (135328 => 135329)
--- trunk/Source/WebCore/ChangeLog 2012-11-21 00:12:55 UTC (rev 135328)
+++ trunk/Source/WebCore/ChangeLog 2012-11-21 00:20:12 UTC (rev 135329)
@@ -1,3 +1,14 @@
+2012-11-20 Kentaro Hara <hara...@chromium.org>
+
+ Unreviewed. Rebaselined run-bindings-tests results.
+
+ * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
+ (WebCore::V8TestEventConstructor::constructorCallback):
+ * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
+ (WebCore::V8TestNamedConstructorConstructorCallback):
+ * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
+ (WebCore::V8TestOverloadedConstructors::constructorCallback):
+
2012-11-20 Alpha Lam <hc...@chromium.org>
Unreviewed. Chromium build fix.
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.cpp (135328 => 135329)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.cpp 2012-11-21 00:12:55 UTC (rev 135328)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestEventConstructor.cpp 2012-11-21 00:20:12 UTC (rev 135329)
@@ -64,13 +64,11 @@
v8::Handle<v8::Value> V8TestEventConstructor::constructorCallback(const v8::Arguments& args)
{
INC_STATS("DOM.TestEventConstructor.Constructor");
-
if (!args.IsConstructCall())
return throwTypeError("DOM object constructor cannot be called as a function.");
if (ConstructorMode::current() == ConstructorMode::WrapExistingObject)
return args.Holder();
-
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.cpp (135328 => 135329)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.cpp 2012-11-21 00:12:55 UTC (rev 135328)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestNamedConstructor.cpp 2012-11-21 00:20:12 UTC (rev 135329)
@@ -51,7 +51,6 @@
if (ConstructorMode::current() == ConstructorMode::WrapExistingObject)
return args.Holder();
-
Document* document = currentDocument(BindingState::instance());
// Make sure the document is added to the DOM Node map. Otherwise, the TestNamedConstructor instance
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp (135328 => 135329)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp 2012-11-21 00:12:55 UTC (rev 135328)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp 2012-11-21 00:20:12 UTC (rev 135329)
@@ -105,7 +105,6 @@
if (ConstructorMode::current() == ConstructorMode::WrapExistingObject)
return args.Holder();
-
if ((args.Length() == 1 && (V8ArrayBuffer::HasInstance(args[0]))))
return constructor1Callback(args);
if ((args.Length() == 1 && (V8ArrayBufferView::HasInstance(args[0]))))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes