| Index: WebCore/bindings/scripts/test/V8/V8TestCallback.cpp
|
| ===================================================================
|
| --- WebCore/bindings/scripts/test/V8/V8TestCallback.cpp (revision 109601)
|
| +++ WebCore/bindings/scripts/test/V8/V8TestCallback.cpp (working copy)
|
| @@ -87,7 +87,8 @@
|
|
|
| v8::Handle<v8::Value> class1ParamHandle = toV8(class1Param);
|
| if (class1ParamHandle.IsEmpty()) {
|
| - CRASH();
|
| + if (!isScriptControllerTerminating())
|
| + CRASH();
|
| return true;
|
| }
|
|
|
| @@ -114,12 +115,14 @@
|
|
|
| v8::Handle<v8::Value> class2ParamHandle = toV8(class2Param);
|
| if (class2ParamHandle.IsEmpty()) {
|
| - CRASH();
|
| + if (!isScriptControllerTerminating())
|
| + CRASH();
|
| return true;
|
| }
|
| v8::Handle<v8::Value> strArgHandle = v8String(strArg);
|
| if (strArgHandle.IsEmpty()) {
|
| - CRASH();
|
| + if (!isScriptControllerTerminating())
|
| + CRASH();
|
| return true;
|
| }
|
|
|
| @@ -147,7 +150,8 @@
|
|
|
| v8::Handle<v8::Value> listParamHandle = toV8(listParam);
|
| if (listParamHandle.IsEmpty()) {
|
| - CRASH();
|
| + if (!isScriptControllerTerminating())
|
| + CRASH();
|
| return true;
|
| }
|
|
|
|
|