Changeset 160795 in webkit


Ignore:
Timestamp:
Dec 18, 2013 2:02:15 PM (10 years ago)
Author:
andersca@apple.com
Message:

WKRemoteObjectRegistry should invoke invocations
https://bugs.webkit.org/show_bug.cgi?id=125945

Reviewed by Tim Horton.

  • Shared/API/Cocoa/WKRemoteObjectRegistry.mm:

(-[WKRemoteObjectRegistry _invokeMessageWithInterfaceIdentifier:encodedInvocation:]):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r160790 r160795  
     12013-12-18  Anders Carlsson  <andersca@apple.com>
     2
     3        WKRemoteObjectRegistry should invoke invocations
     4        https://bugs.webkit.org/show_bug.cgi?id=125945
     5
     6        Reviewed by Tim Horton.
     7
     8        * Shared/API/Cocoa/WKRemoteObjectRegistry.mm:
     9        (-[WKRemoteObjectRegistry _invokeMessageWithInterfaceIdentifier:encodedInvocation:]):
     10
    1112013-12-18  Gavin Barraclough  <barraclough@apple.com>
    212
  • trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectRegistry.mm

    r160787 r160795  
    157157    }
    158158
    159     // FIXME: Invoke the invocation.
     159    invocation.target = interfaceAndObject.first.get();
     160
     161    @try {
     162        [invocation invoke];
     163    } @catch (NSException *exception) {
     164        NSLog(@"%@: Warning: Exception caught during invocation of received message, dropping incoming message .\nException: %@", self, exception);
     165    }
    160166}
    161167
Note: See TracChangeset for help on using the changeset viewer.