| Index: Source/bindings/tests/results/V8TestObject.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp
|
| index 979655beb2e50fed8c1ec869c351ad27a39c0544..52b190c5edfe89697ac25cb8bfb41ab2b68ab0d7 100644
|
| --- a/Source/bindings/tests/results/V8TestObject.cpp
|
| +++ b/Source/bindings/tests/results/V8TestObject.cpp
|
| @@ -10754,7 +10754,7 @@ bool V8TestObject::PrivateScript::voidMethodImplementedInPrivateScriptMethod(Loc
|
| v8::TryCatch block;
|
| PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "voidMethodImplementedInPrivateScript", holder, 0, argv);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -10785,7 +10785,7 @@ bool V8TestObject::PrivateScript::shortMethodImplementedInPrivateScriptMethod(Lo
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "shortMethodImplementedInPrivateScript", holder, 0, argv);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -10820,7 +10820,7 @@ bool V8TestObject::PrivateScript::shortMethodWithShortArgumentImplementedInPriva
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "shortMethodWithShortArgumentImplementedInPrivateScript", holder, 1, argv);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -10855,7 +10855,7 @@ bool V8TestObject::PrivateScript::stringMethodWithStringArgumentImplementedInPri
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "stringMethodWithStringArgumentImplementedInPrivateScript", holder, 1, argv);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -10890,7 +10890,7 @@ bool V8TestObject::PrivateScript::nodeMethodWithNodeArgumentImplementedInPrivate
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "nodeMethodWithNodeArgumentImplementedInPrivateScript", holder, 1, argv);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -10929,7 +10929,7 @@ bool V8TestObject::PrivateScript::nodeMethodWithVariousArgumentsImplementedInPri
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "nodeMethodWithVariousArgumentsImplementedInPrivateScript", holder, 5, argv);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -10965,7 +10965,7 @@ bool V8TestObject::PrivateScript::methodForPrivateScriptOnlyMethod(LocalFrame* f
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMMethod(scriptState, "TestObject", "methodForPrivateScriptOnly", holder, 2, argv);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -10998,7 +10998,7 @@ bool V8TestObject::PrivateScript::readonlyShortAttributeAttributeGetter(LocalFra
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, "TestObject", "readonlyShortAttribute", holder);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -11031,7 +11031,7 @@ bool V8TestObject::PrivateScript::shortAttributeAttributeGetter(LocalFrame* fram
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, "TestObject", "shortAttribute", holder);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -11064,7 +11064,7 @@ bool V8TestObject::PrivateScript::shortAttributeAttributeSetter(LocalFrame* fram
|
| v8::TryCatch block;
|
| PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "shortAttribute", holder, v8::Integer::New(scriptState->isolate(), cppValue));
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -11094,7 +11094,7 @@ bool V8TestObject::PrivateScript::stringAttributeAttributeGetter(LocalFrame* fra
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, "TestObject", "stringAttribute", holder);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -11127,7 +11127,7 @@ bool V8TestObject::PrivateScript::stringAttributeAttributeSetter(LocalFrame* fra
|
| v8::TryCatch block;
|
| PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "stringAttribute", holder, v8String(scriptState->isolate(), cppValue));
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -11157,7 +11157,7 @@ bool V8TestObject::PrivateScript::nodeAttributeAttributeGetter(LocalFrame* frame
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, "TestObject", "nodeAttribute", holder);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -11190,7 +11190,7 @@ bool V8TestObject::PrivateScript::nodeAttributeAttributeSetter(LocalFrame* frame
|
| v8::TryCatch block;
|
| PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "nodeAttribute", holder, toV8(cppValue, scriptState->context()->Global(), scriptState->isolate()));
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -11220,7 +11220,7 @@ bool V8TestObject::PrivateScript::attributeForPrivateScriptOnlyAttributeGetter(L
|
| v8::TryCatch block;
|
| v8::Handle<v8::Value> v8Value = PrivateScriptRunner::runDOMAttributeGetter(scriptState, "TestObject", "attributeForPrivateScriptOnly", holder);
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
| @@ -11253,7 +11253,7 @@ bool V8TestObject::PrivateScript::attributeForPrivateScriptOnlyAttributeSetter(L
|
| v8::TryCatch block;
|
| PrivateScriptRunner::runDOMAttributeSetter(scriptState, "TestObject", "attributeForPrivateScriptOnly", holder, v8String(scriptState->isolate(), cppValue));
|
| if (block.HasCaught()) {
|
| - if (!PrivateScriptRunner::throwDOMExceptionInPrivateScriptIfNeeded(scriptState->isolate(), exceptionState, block.Exception())) {
|
| + if (!PrivateScriptRunner::rethrowExceptionInPrivateScript(scriptState->isolate(), exceptionState, block)) {
|
| // FIXME: We should support more exceptions.
|
| RELEASE_ASSERT_NOT_REACHED();
|
| }
|
|
|