sysapps / runtime

Runtime and Security Model for Hosted Web Applications and Packaged Applications
6 stars 13 forks source link

Give a way to clear all system messages registered for a certain type #50

Open mounirlamouri opened 11 years ago

mounirlamouri commented 11 years ago

It seems that the Telephony API might need that.

jmajnert commented 11 years ago

It would certainly be useful for any type of system message.

jmajnert commented 11 years ago

How about we add a method:

void flushPendingMessages(DOMString type); Description: "The method MUST remove all messages pending in the pool of messages for the given type"

Would that solve this issue?

jmajnert commented 11 years ago

Proposed the above change in pull request https://github.com/sysapps/runtime/pull/104

jmajnert commented 11 years ago

@mounirlamouri WDYT? If this is ok with you, could we merge it before #105 ?