| Index: Source/bindings/tests/results/V8TestObject.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
|
| index 3d3b00970190669f56768fd347941b41a1e28d3e..5da488a0bf184c68961981be76285bba1bd402ab 100644
|
| --- a/Source/bindings/tests/results/V8TestObject.cpp
|
| +++ b/Source/bindings/tests/results/V8TestObject.cpp
|
| @@ -10704,8 +10704,11 @@ bool V8TestObject::PrivateScript::voidMethodImplementedInPrivateScriptMethod(Loc
|
| V8RethrowTryCatchScope rethrow(block);
|
| PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "voidMethodImplementedInPrivateScript", holder, 0, argv);
|
| if (block.HasCaught()) {
|
| - PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception());
|
| - return false;
|
| + if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())); {
|
| + // FIXME: We should support more exceptions.
|
| + RELEASE_ASSERT_NOT_REACHED();
|
| + return false;
|
| + }
|
| }
|
| return true;
|
| }
|
| @@ -10733,7 +10736,7 @@ bool V8TestObject::PrivateScript::shortMethodImplementedInPrivateScriptMethod(Lo
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "shortMethodImplementedInPrivateScript", holder, 0, argv);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -10768,7 +10771,7 @@ bool V8TestObject::PrivateScript::shortMethodWithShortArgumentImplementedInPriva
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "shortMethodWithShortArgumentImplementedInPrivateScript", holder, 1, argv);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -10803,7 +10806,7 @@ bool V8TestObject::PrivateScript::stringMethodWithStringArgumentImplementedInPri
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "stringMethodWithStringArgumentImplementedInPrivateScript", holder, 1, argv);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -10838,7 +10841,7 @@ bool V8TestObject::PrivateScript::nodeMethodWithNodeArgumentImplementedInPrivate
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "nodeMethodWithNodeArgumentImplementedInPrivateScript", holder, 1, argv);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -10877,7 +10880,7 @@ bool V8TestObject::PrivateScript::nodeMethodWithVariousArgumentsImplementedInPri
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "nodeMethodWithVariousArgumentsImplementedInPrivateScript", holder, 5, argv);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -10913,7 +10916,7 @@ bool V8TestObject::PrivateScript::methodForPrivateScriptOnlyMethod(LocalFrame* f
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "methodForPrivateScriptOnly", holder, 2, argv);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -10946,7 +10949,7 @@ bool V8TestObject::PrivateScript::readonlyShortAttributeAttributeGetter(LocalFra
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, "TestObject", "readonlyShortAttribute", holder);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -10979,7 +10982,7 @@ bool V8TestObject::PrivateScript::shortAttributeAttributeGetter(LocalFrame* fram
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, "TestObject", "shortAttribute", holder);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -11012,7 +11015,7 @@ bool V8TestObject::PrivateScript::shortAttributeAttributeSetter(LocalFrame* fram
|
| PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "shortAttribute", holder, v8::Integer::New(scriptState->isolate(), cppValue));
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -11042,7 +11045,7 @@ bool V8TestObject::PrivateScript::stringAttributeAttributeGetter(LocalFrame* fra
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, "TestObject", "stringAttribute", holder);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -11075,7 +11078,7 @@ bool V8TestObject::PrivateScript::stringAttributeAttributeSetter(LocalFrame* fra
|
| PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "stringAttribute", holder, v8String(scriptState->isolate(), cppValue));
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -11105,7 +11108,7 @@ bool V8TestObject::PrivateScript::nodeAttributeAttributeGetter(LocalFrame* frame
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, "TestObject", "nodeAttribute", holder);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -11138,7 +11141,7 @@ bool V8TestObject::PrivateScript::nodeAttributeAttributeSetter(LocalFrame* frame
|
| PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "nodeAttribute", holder, toV8(cppValue, scriptState->context()->Global(), scriptState->isolate()));
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -11168,7 +11171,7 @@ bool V8TestObject::PrivateScript::attributeForPrivateScriptOnlyAttributeGetter(L
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, "TestObject", "attributeForPrivateScriptOnly", holder);
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
| @@ -11201,7 +11204,7 @@ bool V8TestObject::PrivateScript::attributeForPrivateScriptOnlyAttributeSetter(L
|
| PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "attributeForPrivateScriptOnly", holder, v8String(scriptState->isolate(), cppValue));
|
| if (block.HasCaught()) {
|
| if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| - // FIXME: We should support exceptions other than DOM exceptions.
|
| + // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| return false;
|
|
|