On 3/27/13 8:00 AM, jeremy.ral...@gmx.ch wrote:
In nsScriptLoader::ProcessRequest I wish to gain access to the values of the 
class attribute of the current script tag and analyse them. What would be the 
best/easiest way to do this?

Change the type of "scriptElem" to nsCOMPtr<Element>, and then use either scriptElem->GetAttr() or scriptElem->GetClassList() depending on whether you want the string or the tokenized version.

-Boris
_______________________________________________
dev-security mailing list
dev-security@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-security

Reply via email to