Re: getCssRules() on nsIDOMCSSStyleSheet fail
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > However the released version somehow reverted that. It reverted because of https://bugzilla.mozilla.org/show_bug.cgi?id=386939#c9 > Does anyone know how to work around this? Many thanks. You could try pushing an appropriate JSContext on the stack... Note that you might need to do this anyway, because there might be JS running while your code runs (above your code on the callstack), so even if we went back to allowing the get if the subject principal is null it would randomly fail depending on what JS was calling you. -Boris