Skip to content
  • andersca@apple.com's avatar
    Implement NPN_Invoke · e8bdca25
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=43158
    
    Reviewed by Sam Weinig.
    
    WebKit2:
    
    * WebProcess/Plugins/NPJSObject.cpp:
    (WebKit::NPJSObject::hasMethod):
    Use the free getCallData function.
    
    (WebKit::NPJSObject::invoke):
    Get the JavaScript function and call it.
    
    (WebKit::NPJSObject::NP_Invoke):
    Call NPJSObject::invoke.
    
    * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
    (WebKit::NPN_Invoke):
    Call the NPClass::invoke function.
    
    LayoutTests:
    
    * platform/mac-wk2/Skipped:
    Remove plugins/npruntime/invoke.html.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e8bdca25