It finally works now. I had to put my code BEFORE // Step 14. in the HTML5 spec nsresult rv = NS_OK; nsRefPtr<nsScriptLoadRequest> request;
and everything was fine. However, I'd still like to understand why "request" gets dereferenced when my code stands below these lines. I just don't see it. And thanks for all the patient comments on my beginner's questions :-) Jeremy _______________________________________________ dev-security mailing list dev-security@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-security