Changeset 117873 in webkit
- Timestamp:
- May 21, 2012 7:31:12 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r117868 r117873 1 2012-05-21 Kentaro Hara <haraken@chromium.org> 2 3 [V8] Remove V8Proxy::notHandledByInterceptor() 4 https://bugs.webkit.org/show_bug.cgi?id=86831 5 6 Reviewed by Adam Barth. 7 8 This patch replaces 'return V8Proxy::notHandledByInterceptor()' 9 with 'return v8::Handle<v8::Value>()'. See the discussion in 10 https://bugs.webkit.org/show_bug.cgi?id=85330 for more details. 11 12 No tests. No change in behavior. 13 14 * bindings/scripts/CodeGeneratorV8.pm: 15 (GenerateOverloadedFunctionCallback): 16 (GenerateParametersCheck): 17 * bindings/scripts/test/V8/V8TestObj.cpp: 18 (WebCore::TestObjV8Internal::overloadedMethodCallback): 19 (WebCore::TestObjV8Internal::overloadedMethod1Callback): 20 * bindings/v8/V8Collection.h: 21 (WebCore::collectionNamedPropertyGetter): 22 * bindings/v8/V8DOMWrapper.cpp: 23 (WebCore::V8DOMWrapper::convertEventTargetToV8Object): 24 * bindings/v8/V8NPObject.cpp: 25 (WebCore::npObjectSetProperty): 26 * bindings/v8/V8Proxy.cpp: 27 (WebCore::V8Proxy::runScript): 28 (WebCore::V8Proxy::throwError): 29 * bindings/v8/V8Proxy.h: 30 (WebCore): 31 * bindings/v8/custom/V8ArrayBufferViewCustom.h: 32 (WebCore::constructWebGLArrayWithArrayBufferArgument): 33 (WebCore::setWebGLArrayHelper): 34 * bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp: 35 (WebCore::V8CSSStyleDeclaration::namedPropertyGetter): 36 (WebCore::V8CSSStyleDeclaration::namedPropertySetter): 37 * bindings/v8/custom/V8DOMStringMapCustom.cpp: 38 (WebCore::V8DOMStringMap::namedPropertyGetter): 39 * bindings/v8/custom/V8DOMWindowCustom.cpp: 40 (WebCore::V8DOMWindow::indexedPropertyGetter): 41 (WebCore::V8DOMWindow::namedPropertyGetter): 42 * bindings/v8/custom/V8HTMLAllCollectionCustom.cpp: 43 (WebCore::V8HTMLAllCollection::namedPropertyGetter): 44 * bindings/v8/custom/V8HTMLCollectionCustom.cpp: 45 (WebCore::V8HTMLCollection::namedPropertyGetter): 46 * bindings/v8/custom/V8HTMLFormElementCustom.cpp: 47 (WebCore::V8HTMLFormElement::indexedPropertyGetter): 48 (WebCore::V8HTMLFormElement::namedPropertyGetter): 49 * bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp: 50 (WebCore::V8HTMLFrameSetElement::namedPropertyGetter): 51 * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp: 52 (WebCore::V8HTMLOptionsCollection::indexedPropertyGetter): 53 * bindings/v8/custom/V8HTMLPlugInElementCustom.cpp: 54 (WebCore::npObjectNamedGetter): 55 (WebCore::npObjectNamedSetter): 56 (WebCore::npObjectIndexedGetter): 57 (WebCore::npObjectIndexedSetter): 58 * bindings/v8/custom/V8HTMLSelectElementCustom.cpp: 59 (WebCore::V8HTMLSelectElement::indexedPropertyGetter): 60 * bindings/v8/custom/V8NamedNodeMapCustom.cpp: 61 (WebCore::V8NamedNodeMap::indexedPropertyGetter): 62 (WebCore::V8NamedNodeMap::namedPropertyGetter): 63 * bindings/v8/custom/V8NodeListCustom.cpp: 64 (WebCore::V8NodeList::namedPropertyGetter): 65 * bindings/v8/custom/V8StorageCustom.cpp: 66 (WebCore::storageGetter): 67 (WebCore::V8Storage::namedPropertyGetter): 68 (WebCore::storageSetter): 69 * bindings/v8/custom/V8StyleSheetListCustom.cpp: 70 (WebCore::V8StyleSheetList::namedPropertyGetter): 71 * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp: 72 (WebCore::V8WebGLRenderingContext::getAttachedShadersCallback): 73 (WebCore::V8WebGLRenderingContext::getProgramParameterCallback): 74 (WebCore::V8WebGLRenderingContext::getShaderParameterCallback): 75 (WebCore::V8WebGLRenderingContext::getUniformCallback): 76 (WebCore::vertexAttribAndUniformHelperf): 77 (WebCore::uniformHelperi): 78 (WebCore::uniformMatrixHelper): 79 1 80 2012-05-21 Rob Buis <rbuis@rim.com> 2 81 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
r117736 r117873 1348 1348 push(@implContentDecls, <<END); 1349 1349 V8Proxy::throwTypeError(); 1350 return notHandledByInterceptor();1350 return v8::Handle<v8::Value>(); 1351 1351 END 1352 1352 push(@implContentDecls, "}\n\n"); … … 1660 1660 $parameterCheckString .= " if (args.Length() > $paramIndex && !isUndefinedOrNull($argValue) && !V8${argType}::HasInstance($argValue)) {\n"; 1661 1661 $parameterCheckString .= " V8Proxy::throwTypeError();\n"; 1662 $parameterCheckString .= " return notHandledByInterceptor();\n";1662 $parameterCheckString .= " return v8::Handle<v8::Value>();\n"; 1663 1663 $parameterCheckString .= " }\n"; 1664 1664 } -
trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.cpp
r117736 r117873 1797 1797 return overloadedMethod7Callback(args); 1798 1798 V8Proxy::throwTypeError(); 1799 return notHandledByInterceptor();1799 return v8::Handle<v8::Value>(); 1800 1800 } 1801 1801 … … 1855 1855 return overloadedMethod12Callback(args); 1856 1856 V8Proxy::throwTypeError(); 1857 return notHandledByInterceptor();1857 return v8::Handle<v8::Value>(); 1858 1858 } 1859 1859 -
trunk/Source/WebCore/bindings/v8/V8Collection.h
r115068 r117873 75 75 { 76 76 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) 77 return notHandledByInterceptor();77 return v8::Handle<v8::Value>(); 78 78 if (info.Holder()->HasRealNamedCallbackProperty(name)) 79 return notHandledByInterceptor();79 return v8::Handle<v8::Value>(); 80 80 81 81 return getNamedPropertyOfCollection<Collection, ItemType>(name, info.Holder(), info.GetIsolate()); -
trunk/Source/WebCore/bindings/v8/V8DOMWrapper.cpp
r117374 r117873 266 266 267 267 ASSERT_NOT_REACHED(); 268 return notHandledByInterceptor();268 return v8::Handle<v8::Value>(); 269 269 } 270 270 -
trunk/Source/WebCore/bindings/v8/V8NPObject.cpp
r117732 r117873 290 290 return value; // Intercept the call. 291 291 } 292 return notHandledByInterceptor();292 return v8::Handle<v8::Value>(); 293 293 } 294 294 -
trunk/Source/WebCore/bindings/v8/V8Proxy.cpp
r117736 r117873 343 343 { 344 344 if (script.IsEmpty()) 345 return notHandledByInterceptor();345 return v8::Local<v8::Value>(); 346 346 347 347 V8GCController::checkMemoryUsage(); … … 370 370 if (tryCatch.HasCaught()) { 371 371 ASSERT(result.IsEmpty()); 372 return notHandledByInterceptor();372 return v8::Local<v8::Value>(); 373 373 } 374 374 375 375 if (result.IsEmpty()) 376 return notHandledByInterceptor();376 return v8::Local<v8::Value>(); 377 377 378 378 if (v8::V8::IsDead()) … … 628 628 default: 629 629 ASSERT_NOT_REACHED(); 630 return notHandledByInterceptor();630 return v8::Handle<v8::Value>(); 631 631 } 632 632 } -
trunk/Source/WebCore/bindings/v8/V8Proxy.h
r117736 r117873 314 314 v8::Local<v8::Context> toV8Context(ScriptExecutionContext*, const WorldContextHandle& worldContext); 315 315 316 // Used by an interceptor callback that it hasn't found anything to317 // intercept.318 inline static v8::Local<v8::Object> notHandledByInterceptor()319 {320 return v8::Local<v8::Object>();321 }322 323 316 inline v8::Handle<v8::Primitive> throwError(ExceptionCode ec, v8::Isolate* isolate = 0) 324 317 { -
trunk/Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.h
r117733 r117873 83 83 if (!array) { 84 84 V8Proxy::setDOMException(INDEX_SIZE_ERR, args.GetIsolate()); 85 return notHandledByInterceptor();85 return v8::Handle<v8::Value>(); 86 86 } 87 87 // Transform the holder into a wrapper object for the array. … … 191 191 if (args.Length() < 1) { 192 192 V8Proxy::setDOMException(SYNTAX_ERR, args.GetIsolate()); 193 return notHandledByInterceptor();193 return v8::Handle<v8::Value>(); 194 194 } 195 195 … … 232 232 233 233 V8Proxy::setDOMException(SYNTAX_ERR, args.GetIsolate()); 234 return notHandledByInterceptor();234 return v8::Handle<v8::Value>(); 235 235 } 236 236 -
trunk/Source/WebCore/bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp
r117733 r117873 196 196 // First look for API defined attributes on the style declaration object. 197 197 if (info.Holder()->HasRealNamedCallbackProperty(name)) 198 return notHandledByInterceptor();198 return v8::Handle<v8::Value>(); 199 199 200 200 // Search the style declaration. … … 203 203 // Do not handle non-property names. 204 204 if (!propInfo) 205 return notHandledByInterceptor();205 return v8::Handle<v8::Value>(); 206 206 207 207 CSSStyleDeclaration* imp = V8CSSStyleDeclaration::toNative(info.Holder()); … … 229 229 CSSPropertyInfo* propInfo = cssPropertyInfo(name); 230 230 if (!propInfo) 231 return notHandledByInterceptor();231 return v8::Handle<v8::Value>(); 232 232 233 233 String propertyValue = toWebCoreStringWithNullCheck(value); -
trunk/Source/WebCore/bindings/v8/custom/V8DOMStringMapCustom.cpp
r117733 r117873 52 52 String value = V8DOMStringMap::toNative(info.Holder())->item(toWebCoreString(name)); 53 53 if (value.isNull()) 54 return notHandledByInterceptor();54 return v8::Handle<v8::Value>(); 55 55 return v8StringOrUndefined(value); 56 56 } -
trunk/Source/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
r117826 r117873 477 477 DOMWindow* window = V8DOMWindow::toNative(info.Holder()); 478 478 if (!window) 479 return notHandledByInterceptor();479 return v8::Handle<v8::Value>(); 480 480 481 481 Frame* frame = window->frame(); 482 482 if (!frame) 483 return notHandledByInterceptor();483 return v8::Handle<v8::Value>(); 484 484 485 485 Frame* child = frame->tree()->scopedChild(index); … … 487 487 return toV8(child->domWindow(), info.GetIsolate()); 488 488 489 return notHandledByInterceptor();489 return v8::Handle<v8::Value>(); 490 490 } 491 491 … … 497 497 DOMWindow* window = V8DOMWindow::toNative(info.Holder()); 498 498 if (!window) 499 return notHandledByInterceptor();499 return v8::Handle<v8::Value>(); 500 500 501 501 Frame* frame = window->frame(); 502 502 // window is detached from a frame. 503 503 if (!frame) 504 return notHandledByInterceptor();504 return v8::Handle<v8::Value>(); 505 505 506 506 // Search sub-frames. … … 512 512 // Search IDL functions defined in the prototype 513 513 if (!info.Holder()->GetRealNamedProperty(name).IsEmpty()) 514 return notHandledByInterceptor();514 return v8::Handle<v8::Value>(); 515 515 516 516 // Search named items in the document. … … 528 528 } 529 529 530 return notHandledByInterceptor();530 return v8::Handle<v8::Value>(); 531 531 } 532 532 -
trunk/Source/WebCore/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp
r114972 r117873 77 77 78 78 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) 79 return notHandledByInterceptor();79 return v8::Handle<v8::Value>(); 80 80 if (info.Holder()->HasRealNamedCallbackProperty(name)) 81 return notHandledByInterceptor();81 return v8::Handle<v8::Value>(); 82 82 83 83 HTMLAllCollection* imp = V8HTMLAllCollection::toNative(info.Holder()); -
trunk/Source/WebCore/bindings/v8/custom/V8HTMLCollectionCustom.cpp
r117381 r117873 66 66 67 67 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) 68 return notHandledByInterceptor();68 return v8::Handle<v8::Value>(); 69 69 if (info.Holder()->HasRealNamedCallbackProperty(name)) 70 return notHandledByInterceptor();70 return v8::Handle<v8::Value>(); 71 71 72 72 HTMLCollection* imp = V8HTMLCollection::toNative(info.Holder()); -
trunk/Source/WebCore/bindings/v8/custom/V8HTMLFormElementCustom.cpp
r114927 r117873 49 49 RefPtr<Node> formElement = form->elements()->item(index); 50 50 if (!formElement) 51 return notHandledByInterceptor();51 return v8::Handle<v8::Value>(); 52 52 return toV8(formElement.release(), info.GetIsolate()); 53 53 } … … 66 66 imp->getNamedElements(v, elements); 67 67 if (elements.isEmpty()) 68 return notHandledByInterceptor();68 return v8::Handle<v8::Value>(); 69 69 } 70 70 -
trunk/Source/WebCore/bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp
r114927 r117873 58 58 return toV8(frame->domWindow(), info.GetIsolate()); 59 59 } 60 return notHandledByInterceptor();60 return v8::Handle<v8::Value>(); 61 61 } 62 62 -
trunk/Source/WebCore/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp
r115068 r117873 122 122 RefPtr<Node> result = collection->item(index); 123 123 if (!result) 124 return notHandledByInterceptor();124 return v8::Handle<v8::Value>(); 125 125 126 126 return toV8(result.release(), info.GetIsolate()); -
trunk/Source/WebCore/bindings/v8/custom/V8HTMLPlugInElementCustom.cpp
r117732 r117873 51 51 ScriptInstance scriptInstance = imp->getInstance(); 52 52 if (!scriptInstance) 53 return notHandledByInterceptor();53 return v8::Handle<v8::Value>(); 54 54 55 55 v8::Local<v8::Object> instance = v8::Local<v8::Object>::New(scriptInstance->instance()); 56 56 if (instance.IsEmpty()) 57 return notHandledByInterceptor();57 return v8::Handle<v8::Value>(); 58 58 59 59 return npObjectGetNamedProperty(instance, name, info); … … 66 66 ScriptInstance scriptInstance = imp->getInstance(); 67 67 if (!scriptInstance) 68 return notHandledByInterceptor();68 return v8::Handle<v8::Value>(); 69 69 70 70 v8::Local<v8::Object> instance = v8::Local<v8::Object>::New(scriptInstance->instance()); 71 71 if (instance.IsEmpty()) 72 return notHandledByInterceptor();72 return v8::Handle<v8::Value>(); 73 73 74 74 return npObjectSetNamedProperty(instance, name, value, info); … … 136 136 ScriptInstance scriptInstance = imp->getInstance(); 137 137 if (!scriptInstance) 138 return notHandledByInterceptor();138 return v8::Handle<v8::Value>(); 139 139 140 140 v8::Local<v8::Object> instance = v8::Local<v8::Object>::New(scriptInstance->instance()); 141 141 if (instance.IsEmpty()) 142 return notHandledByInterceptor();142 return v8::Handle<v8::Value>(); 143 143 144 144 return npObjectGetIndexedProperty(instance, index, info); … … 152 152 ScriptInstance scriptInstance = imp->getInstance(); 153 153 if (!scriptInstance) 154 return notHandledByInterceptor();154 return v8::Handle<v8::Value>(); 155 155 156 156 v8::Local<v8::Object> instance = v8::Local<v8::Object>::New(scriptInstance->instance()); 157 157 if (instance.IsEmpty()) 158 return notHandledByInterceptor();158 return v8::Handle<v8::Value>(); 159 159 160 160 return npObjectSetIndexedProperty(instance, index, value, info); -
trunk/Source/WebCore/bindings/v8/custom/V8HTMLSelectElementCustom.cpp
r115068 r117873 52 52 RefPtr<Node> result = V8HTMLSelectElement::toNative(info.Holder())->item(index); 53 53 if (!result) 54 return notHandledByInterceptor();54 return v8::Handle<v8::Value>(); 55 55 56 56 return toV8(result.release(), info.GetIsolate()); -
trunk/Source/WebCore/bindings/v8/custom/V8NamedNodeMapCustom.cpp
r115372 r117873 50 50 RefPtr<Node> result = imp->item(index); 51 51 if (!result) 52 return notHandledByInterceptor();52 return v8::Handle<v8::Value>(); 53 53 54 54 return toV8(result.release(), info.GetIsolate()); … … 60 60 61 61 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) 62 return notHandledByInterceptor();62 return v8::Handle<v8::Value>(); 63 63 if (info.Holder()->HasRealNamedCallbackProperty(name)) 64 return notHandledByInterceptor();64 return v8::Handle<v8::Value>(); 65 65 66 66 NamedNodeMap* imp = V8NamedNodeMap::toNative(info.Holder()); 67 67 RefPtr<Node> result = imp->getNamedItem(toWebCoreString(name)); 68 68 if (!result) 69 return notHandledByInterceptor();69 return v8::Handle<v8::Value>(); 70 70 71 71 return toV8(result.release(), info.GetIsolate()); -
trunk/Source/WebCore/bindings/v8/custom/V8NodeListCustom.cpp
r114932 r117873 55 55 RefPtr<Node> result = list->itemWithName(key); 56 56 if (!result) 57 return notHandledByInterceptor();57 return v8::Handle<v8::Value>(); 58 58 59 59 return toV8(result.release(), info.GetIsolate()); -
trunk/Source/WebCore/bindings/v8/custom/V8StorageCustom.cpp
r117734 r117873 62 62 return v8String(storage->getItem(name)); 63 63 64 return notHandledByInterceptor();64 return v8::Handle<v8::Value>(); 65 65 } 66 66 … … 76 76 INC_STATS("DOM.Storage.NamedPropertyGetter"); 77 77 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) 78 return notHandledByInterceptor();78 return v8::Handle<v8::Value>(); 79 79 return storageGetter(name, info); 80 80 } … … 104 104 105 105 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(v8Name).IsEmpty()) 106 return notHandledByInterceptor();106 return v8::Handle<v8::Value>(); 107 107 108 108 ExceptionCode ec = 0; -
trunk/Source/WebCore/bindings/v8/custom/V8StyleSheetListCustom.cpp
r114972 r117873 45 45 46 46 if (info.Holder()->HasRealNamedProperty(name)) 47 return notHandledByInterceptor();47 return v8::Handle<v8::Value>(); 48 48 49 49 // Search style sheet. … … 51 51 HTMLStyleElement* item = imp->getNamedItem(toWebCoreString(name)); 52 52 if (!item) 53 return notHandledByInterceptor();53 return v8::Handle<v8::Value>(); 54 54 55 55 return toV8(item->sheet(), info.GetIsolate()); -
trunk/Source/WebCore/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
r117736 r117873 276 276 if (args.Length() > 0 && !isUndefinedOrNull(args[0]) && !V8WebGLProgram::HasInstance(args[0])) { 277 277 V8Proxy::throwTypeError(); 278 return notHandledByInterceptor();278 return v8::Handle<v8::Value>(); 279 279 } 280 280 WebGLProgram* program = V8WebGLProgram::HasInstance(args[0]) ? V8WebGLProgram::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0; … … 359 359 if (args.Length() > 0 && !isUndefinedOrNull(args[0]) && !V8WebGLProgram::HasInstance(args[0])) { 360 360 V8Proxy::throwTypeError(); 361 return notHandledByInterceptor();361 return v8::Handle<v8::Value>(); 362 362 } 363 363 WebGLProgram* program = V8WebGLProgram::HasInstance(args[0]) ? V8WebGLProgram::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0; … … 388 388 if (args.Length() > 0 && !isUndefinedOrNull(args[0]) && !V8WebGLShader::HasInstance(args[0])) { 389 389 V8Proxy::throwTypeError(); 390 return notHandledByInterceptor();390 return v8::Handle<v8::Value>(); 391 391 } 392 392 WebGLShader* shader = V8WebGLShader::HasInstance(args[0]) ? V8WebGLShader::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0; … … 431 431 if (args.Length() > 0 && !isUndefinedOrNull(args[0]) && !V8WebGLProgram::HasInstance(args[0])) { 432 432 V8Proxy::throwTypeError(); 433 return notHandledByInterceptor();433 return v8::Handle<v8::Value>(); 434 434 } 435 435 WebGLProgram* program = V8WebGLProgram::HasInstance(args[0]) ? V8WebGLProgram::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0; … … 437 437 if (args.Length() > 1 && !isUndefinedOrNull(args[1]) && !V8WebGLUniformLocation::HasInstance(args[1])) { 438 438 V8Proxy::throwTypeError(); 439 return notHandledByInterceptor();439 return v8::Handle<v8::Value>(); 440 440 } 441 441 bool ok = false; … … 507 507 if (args.Length() > 0 && !isUndefinedOrNull(args[0]) && !V8WebGLUniformLocation::HasInstance(args[0])) { 508 508 V8Proxy::throwTypeError(); 509 return notHandledByInterceptor();509 return v8::Handle<v8::Value>(); 510 510 } 511 511 location = toWebGLUniformLocation(args[0], ok); … … 536 536 if (args[1].IsEmpty() || !args[1]->IsArray()) { 537 537 V8Proxy::throwTypeError(); 538 return notHandledByInterceptor();538 return v8::Handle<v8::Value>(); 539 539 } 540 540 v8::Handle<v8::Array> array = … … 545 545 // FIXME: consider different / better exception type. 546 546 V8Proxy::setDOMException(SYNTAX_ERR, args.GetIsolate()); 547 return notHandledByInterceptor();547 return v8::Handle<v8::Value>(); 548 548 } 549 549 ExceptionCode ec = 0; … … 583 583 if (args.Length() > 0 && !isUndefinedOrNull(args[0]) && !V8WebGLUniformLocation::HasInstance(args[0])) { 584 584 V8Proxy::throwTypeError(); 585 return notHandledByInterceptor();585 return v8::Handle<v8::Value>(); 586 586 } 587 587 bool ok = false; … … 606 606 if (args[1].IsEmpty() || !args[1]->IsArray()) { 607 607 V8Proxy::throwTypeError(); 608 return notHandledByInterceptor();608 return v8::Handle<v8::Value>(); 609 609 } 610 610 v8::Handle<v8::Array> array = … … 615 615 // FIXME: consider different / better exception type. 616 616 V8Proxy::setDOMException(SYNTAX_ERR, args.GetIsolate()); 617 return notHandledByInterceptor();617 return v8::Handle<v8::Value>(); 618 618 } 619 619 ExceptionCode ec = 0; … … 698 698 if (args.Length() > 0 && !isUndefinedOrNull(args[0]) && !V8WebGLUniformLocation::HasInstance(args[0])) { 699 699 V8Proxy::throwTypeError(); 700 return notHandledByInterceptor();700 return v8::Handle<v8::Value>(); 701 701 } 702 702 bool ok = false; … … 721 721 if (args[2].IsEmpty() || !args[2]->IsArray()) { 722 722 V8Proxy::throwTypeError(); 723 return notHandledByInterceptor();723 return v8::Handle<v8::Value>(); 724 724 } 725 725 v8::Handle<v8::Array> array = … … 730 730 // FIXME: consider different / better exception type. 731 731 V8Proxy::setDOMException(SYNTAX_ERR, args.GetIsolate()); 732 return notHandledByInterceptor();732 return v8::Handle<v8::Value>(); 733 733 } 734 734 ExceptionCode ec = 0;
Note: See TracChangeset
for help on using the changeset viewer.