Re: [JS-internals] Scrolltop implementation in firefox

2016-04-20 Thread merecol16
Scrolltop is a property,from who is it calculated? ___ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Re: [JS-internals] Scrolltop implementation in firefox

2016-04-20 Thread Jim Blandy
The code is here: https://dxr.mozilla.org/mozilla-central/source/dom/base/Element.cpp#766 I just went to dxr.mozilla.org and typed "function:scrolltop". On Wed, Apr 20, 2016 at 8:08 AM, wrote: > Hi guys. Could someone of you tell me how does firefox find scrolltop > value of an element using

Re: [JS-internals] js/JS namespace

2016-04-20 Thread Jeff Walden
On 04/20/2016 06:41 AM, Ehsan Akhgari wrote: > About Unbox specifically, what are the methods that you're suggesting to > use? For example thinking about BooleanObject, I can't find any other > public API that allows me to extract the boolean primitive inside it... Hypothetical future public APIs

[JS-internals] Scrolltop implementation in firefox

2016-04-20 Thread merecol16
Hi guys. Could someone of you tell me how does firefox find scrolltop value of an element using its own implementation?I'm becoming mad trying to understand that... ___ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla

Re: [JS-internals] js/JS namespace

2016-04-20 Thread Ehsan Akhgari
On 2016-04-19 11:48 PM, Jeff Walden wrote: > On 04/19/2016 08:37 PM, Ehsan Akhgari wrote: >> As far as I understand, the js namespace is used internally in >> SpiderMonkey, and the JS namespace contains the public API symbols. >> However, I occasionally come across things in the public headers in >