Title: [116664] trunk/Source/WebCore
- Revision
- 116664
- Author
- [email protected]
- Date
- 2012-05-10 11:22:59 -0700 (Thu, 10 May 2012)
Log Message
Unreviewed, rebaselined run-bindings-tests results.
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::jsTestEventTargetPrototypeFunctionAddEventListener):
(WebCore::jsTestEventTargetPrototypeFunctionRemoveEventListener):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionAddEventListener):
(WebCore::jsTestObjPrototypeFunctionRemoveEventListener):
* bindings/scripts/test/V8/V8TestException.cpp:
(WebCore::V8TestException::wrapSlow):
* bindings/scripts/test/V8/V8TestException.h:
(WebCore::V8TestException::wrap):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (116663 => 116664)
--- trunk/Source/WebCore/ChangeLog 2012-05-10 18:15:57 UTC (rev 116663)
+++ trunk/Source/WebCore/ChangeLog 2012-05-10 18:22:59 UTC (rev 116664)
@@ -1,3 +1,18 @@
+2012-05-10 Erik Arvidsson <[email protected]>
+
+ Unreviewed, rebaselined run-bindings-tests results.
+
+ * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+ (WebCore::jsTestEventTargetPrototypeFunctionAddEventListener):
+ (WebCore::jsTestEventTargetPrototypeFunctionRemoveEventListener):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::jsTestObjPrototypeFunctionAddEventListener):
+ (WebCore::jsTestObjPrototypeFunctionRemoveEventListener):
+ * bindings/scripts/test/V8/V8TestException.cpp:
+ (WebCore::V8TestException::wrapSlow):
+ * bindings/scripts/test/V8/V8TestException.h:
+ (WebCore::V8TestException::wrap):
+
2012-05-10 Abhishek Arya <[email protected]>
Crash in InsertParagraphSeparatorCommand::doApply.
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (116663 => 116664)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2012-05-10 18:15:57 UTC (rev 116663)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp 2012-05-10 18:22:59 UTC (rev 116664)
@@ -252,8 +252,6 @@
JSTestEventTarget* castedThis = jsCast<JSTestEventTarget*>(asObject(thisValue));
ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestEventTarget::s_info);
TestEventTarget* impl = static_cast<TestEventTarget*>(castedThis->impl());
- if (exec->argumentCount() < 2)
- return throwVMError(exec, createNotEnoughArgumentsError(exec));
JSValue listener = exec->argument(1);
if (!listener.isObject())
return JSValue::encode(jsUndefined());
@@ -269,8 +267,6 @@
JSTestEventTarget* castedThis = jsCast<JSTestEventTarget*>(asObject(thisValue));
ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestEventTarget::s_info);
TestEventTarget* impl = static_cast<TestEventTarget*>(castedThis->impl());
- if (exec->argumentCount() < 2)
- return throwVMError(exec, createNotEnoughArgumentsError(exec));
JSValue listener = exec->argument(1);
if (!listener.isObject())
return JSValue::encode(jsUndefined());
Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (116663 => 116664)
--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2012-05-10 18:15:57 UTC (rev 116663)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp 2012-05-10 18:22:59 UTC (rev 116664)
@@ -1826,8 +1826,6 @@
JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
TestObj* impl = static_cast<TestObj*>(castedThis->impl());
- if (exec->argumentCount() < 2)
- return throwVMError(exec, createNotEnoughArgumentsError(exec));
JSValue listener = exec->argument(1);
if (!listener.isObject())
return JSValue::encode(jsUndefined());
@@ -1843,8 +1841,6 @@
JSTestObj* castedThis = jsCast<JSTestObj*>(asObject(thisValue));
ASSERT_GC_OBJECT_INHERITS(castedThis, &JSTestObj::s_info);
TestObj* impl = static_cast<TestObj*>(castedThis->impl());
- if (exec->argumentCount() < 2)
- return throwVMError(exec, createNotEnoughArgumentsError(exec));
JSValue listener = exec->argument(1);
if (!listener.isObject())
return JSValue::encode(jsUndefined());
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestException.cpp (116663 => 116664)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestException.cpp 2012-05-10 18:15:57 UTC (rev 116663)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestException.cpp 2012-05-10 18:22:59 UTC (rev 116664)
@@ -112,7 +112,7 @@
if (!hasDependentLifetime)
wrapperHandle.MarkIndependent();
- V8DOMWrapper::setJSWrapperForDOMObject(impl, wrapperHandle);
+ V8DOMWrapper::setJSWrapperForDOMObject(impl, wrapperHandle, isolate);
return wrapper;
}
Modified: trunk/Source/WebCore/bindings/scripts/test/V8/V8TestException.h (116663 => 116664)
--- trunk/Source/WebCore/bindings/scripts/test/V8/V8TestException.h 2012-05-10 18:15:57 UTC (rev 116663)
+++ trunk/Source/WebCore/bindings/scripts/test/V8/V8TestException.h 2012-05-10 18:22:59 UTC (rev 116664)
@@ -50,7 +50,7 @@
v8::Handle<v8::Object> V8TestException::wrap(TestException* impl, v8::Isolate* isolate)
{
- v8::Handle<v8::Object> wrapper = getDOMObjectMap().get(impl);
+ v8::Handle<v8::Object> wrapper = getDOMObjectMap(isolate).get(impl);
if (!wrapper.IsEmpty())
return wrapper;
return V8TestException::wrapSlow(impl, isolate);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes