Ignore:
Timestamp:
Jan 29, 2007, 1:58:31 PM (18 years ago)
Author:
kmccullo
Message:

JavaScriptCore:

Reviewed by Geoff and Oliver.

  • rdar://problem/4955561
  • missusing JavaScript shouldn't crash webkit. Now it doesn't, in this case.
  • bindings/objc/objc_runtime.mm: (ObjcFallbackObjectImp::callAsFunction):
  • bindings/runtime_method.cpp: (RuntimeMethod::callAsFunction):
  • bindings/runtime_object.cpp: (RuntimeObjectImp::callAsFunction):

LayoutTests:

Reviewed by Geoff and Oliver.

  • rdar://problem/4955561
  • missusing JavaScript shouldn't crash webkit. Now it doesn't in this case.
  • plugins/call-as-function-test-expected.txt: Added.
  • plugins/call-as-function-test.html: Added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bindings/runtime_object.cpp

    r15969 r19234  
    188188    instance->begin();
    189189
    190     JSValue *aValue = getInternalInstance()->invokeDefaultMethod(exec, args);
     190    JSValue *aValue = instance->invokeDefaultMethod(exec, args);
    191191   
    192192    instance->end();
Note: See TracChangeset for help on using the changeset viewer.