Skip to content
  • andersca@apple.com's avatar
    Implement NP_RemoveProperty and NP_Enumerate · 46e6d372
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=49046
    
    Reviewed by Oliver Hunt.
    
    WebKit2:
    
    * Shared/Plugins/NPObjectMessageReceiver.cpp:
    (WebKit::NPObjectMessageReceiver::removeProperty):
    Call the removeProperty NPClass function.
    
    (WebKit::NPObjectMessageReceiver::enumerate):
    Call the enumerate NPClass function.
    
    * Shared/Plugins/NPObjectMessageReceiver.messages.in:
    Add RemoveProperty and Enumerate messages.
    
    * Shared/Plugins/NPObjectProxy.cpp:
    (WebKit::NPObjectProxy::removeProperty):
    Send the RemoveProperty message.
    
    (WebKit::NPObjectProxy::enumerate):
    Send the Enumerate message.
    
    (WebKit::NPObjectProxy::NP_RemoveProperty):
    Call removeProperty.
    
    (WebKit::NPObjectProxy::NP_Enumerate):
    Call enumerate.
    
    LayoutTests:
    
    Remove now passing tests.
    
    * platform/mac-wk2/Skipped:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    46e6d372