I'm sorry, I meant that you can only use the 'data' attribute, if the data you want to associate with the notification is structured-cloneable. Which precludes lots of interesting stuff, like objects with attached methods, memoized functions, etc.
I'm aware that 'data' is structured-cloneable - I'm saying that's not sufficient for many uses. -atw On Mon, Sep 29, 2014 at 12:34 PM, Jonas Sicking <jo...@sicking.cc> wrote: > On Mon, Sep 29, 2014 at 3:10 AM, Andrew Wilson <atwil...@google.com> > wrote: > > That only works if 'data' is a structured-cloneable data structure. > > Per spec it is yes. > > / Jonas >