Closing Service Tab after Posting Intent Result

*TL;DR: Should the browser close the service tab after the service posts
the result?*
*
*
Hi Web Intents!

I have a question on the expected behavior when a service tab posts the
Intent result back to the client tab. Should the browser close the service
tab? I believe so.

Some of Web Intents service examples use JavaScript to close the service
window after posting the result, whereas others do not close their own
window. This causes inconsistent behavior that is confusing to users.

Here is what inspirationmator.com does:

window.intent.postResult(this.src);
setTimeout(function() { window.close(); }, 1000);

So, should the browser close the service tab after the service posts the
result?

Cheers,
Rouslan

Received on Friday, 21 September 2012 16:09:02 UTC