Created attachment 624596 [details] [diff] [review] fix v1.0 nsIPluginStreamListener is unnecessary and complicates our stream handling. We can simplify things by removing it. The trickiest part is that we use QI to figure out what type of stream data we put in NPStream's 'ndata' field. With my patch we always use the same type of stream wrapper object for 'ndata' diffstat: 13 files changed, 147 insertions(+), 275 deletions(-)
Doing this should also allow us to remove nsIPluginStreamInfo easily.
Created attachment 624768 [details] [diff] [review] fix v1.1 nsNPAPIStreamWrapper doesn't need to be a COM object either.
pushed to mozilla-central https://hg.mozilla.org/mozilla-central/rev/12020cb10ace