- From: Dave Raggett <dsr@w3.org>
- Date: Tue, 21 Feb 2012 18:13:29 +0000
- To: Paul Kinlan <paulkinlan@google.com>
- CC: "public-web-intents@w3.org" <public-web-intents@w3.org>
On 21/02/12 15:34, Paul Kinlan wrote: > The latest version of the spec if here: > http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html Thanks. That page doesn't explicitly define the onSuccess and onFailure call backs. By looking at postResults, and postFailure which take a single argument 'data', I presume, onSuccess and onFailure are the same, right? How does the client page determine the type of the result? This seems important as a service page could data in a number of formats, and the JavaScript typeof operator wouldn't be likely to be sufficient. It might be worth considering a means to convey an optional MIME type for the result, mirroring the ability to set the MIME type of the data passed from the client page to the service page. -- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
Received on Tuesday, 21 February 2012 18:13:54 UTC