On Thursday, March 10, 2016 at 2:50:10 PM UTC-5, Kris Maglione wrote:
> On Thu, Mar 10, 2016 at 10:44:24AM -0800, Devan Shah wrote:
> >This happens in side extension only (works fine on web standalone), i will 
> >try to extract a simple reproducible scenario.
> >
> >Is there any way to simulate a extension env on web?
> 
> If your problem is happening in an extension, then filing a bug 
> and attaching a testcase add-on is your best bet.
> 
> If I had to guess based on what you've told us so far, I'd say 
> your problem has something to do with X-ray security 
> wrappers[1]. In general, properties that you add to X-ray 
> wrappers aren't visible to code running in other globals. I.e., 
> if you're accessing a web page from an SDK content script, your 
> view of the DOM nodes are different from the view the web page 
> sees. This also has implications for properties that you add to 
> prototypes.
> 
> I don't know of any changes that would have significantly 
> changed the behavior in 45 vs previous versions, though, so a 
> testcase would be useful.
> 
> [1]: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Xray_vision

Thanks Kris, I will take a look at Xray_vision and see if I can use it to 
create a simple reproducible testcase
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to