Title: [160795] trunk/Source/WebKit2
- Revision
- 160795
- Author
- [email protected]
- Date
- 2013-12-18 14:02:15 -0800 (Wed, 18 Dec 2013)
Log 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:]):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (160794 => 160795)
--- trunk/Source/WebKit2/ChangeLog 2013-12-18 21:36:19 UTC (rev 160794)
+++ trunk/Source/WebKit2/ChangeLog 2013-12-18 22:02:15 UTC (rev 160795)
@@ -1,3 +1,13 @@
+2013-12-18 Anders Carlsson <[email protected]>
+
+ 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:]):
+
2013-12-18 Gavin Barraclough <[email protected]>
Fix page visibility api test, initialization in WebKit2
Modified: trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectRegistry.mm (160794 => 160795)
--- trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectRegistry.mm 2013-12-18 21:36:19 UTC (rev 160794)
+++ trunk/Source/WebKit2/Shared/API/Cocoa/WKRemoteObjectRegistry.mm 2013-12-18 22:02:15 UTC (rev 160795)
@@ -156,7 +156,13 @@
NSLog(@"Exception caught during decoding of message: %@", exception);
}
- // FIXME: Invoke the invocation.
+ invocation.target = interfaceAndObject.first.get();
+
+ @try {
+ [invocation invoke];
+ } @catch (NSException *exception) {
+ NSLog(@"%@: Warning: Exception caught during invocation of received message, dropping incoming message .\nException: %@", self, exception);
+ }
}
@end
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes