[Bug 26401] Key message destinationURL usage is not reflected in examples

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26401

--- Comment #3 from David Dorwin <ddorwin@google.com> ---
Example 8.2 expects a single message per session^. As I noted in comment #1,
this is case #1 and the message is generated by createSession(). Thus,
event.destinationURL is NULL.

^ This example is not robust and would likely fail in some real world
scenarios. We could consider making the examples more robust, but the goal is
to explain usage of the APIs without being overly complex. Maybe a simple
comment that a real application should handle multiple messages would be
sufficient.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 18 August 2014 21:38:55 UTC