4 messages in org.mozilla.lists.dev-extensionsRe: copy image to clipboard
FromSent OnAttachments
telegaOct 27, 2007 12:38 am 
NeilOct 27, 2007 8:03 am 
telegaOct 27, 2007 12:31 pm 
NeilOct 27, 2007 4:23 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: copy image to clipboardActions...
From:Neil (ne@parkwaycc.co.uk)
Date:Oct 27, 2007 4:23:13 pm
List:org.mozilla.lists.dev-extensions

telega wrote:

var sstream = Components.classes["@mozilla.org/io/string-input-stream;1"] .createInstance(Components.interfaces.nsIStringInputStream); sstream.setData(image, image.length);

I seem to recall that string input streams are not null-safe, maybe that is your problem.