Re: Network Predictive Actions re-enabled on Nightly

2015-01-21 Thread Patrick Cloke
On 1/21/2015 1:10 PM, Nicholas Hurley wrote: So for a quick answer to your question, yes, there is a frecency-like algorithm for this. It's even tuneable (to an extent) via prefs! (I'm working on a blog post about this feature that will go into more detail on this, keep an eye on Planet Mozilla,

Web APIs documentation meeting Friday at 10 AM PST

2015-01-21 Thread Eric Shepherd (Sheppy)
The Web APIs documentation meeting is Friday at 10 AM Pacific Time (see http://bit.ly/APIdocsMDN for your time zone). Everyone's welcome to attend; if you're interested in ensuring that all Web APIs are properly documented, we'd love your input. We have an agenda, as well as details on how to join

Re: Network Predictive Actions re-enabled on Nightly

2015-01-21 Thread Chris Peterson
On 1/21/15 10:10 AM, Nicholas Hurley wrote: So for a quick answer to your question, yes, there is a frecency-like algorithm for this. It's even tuneable (to an extent) via prefs! (I'm working on a blog post about this feature that will go into more detail on this, keep an eye on Planet Mozilla, h

Re: Network Predictive Actions re-enabled on Nightly

2015-01-21 Thread Nicholas Hurley
On Mon, Jan 19, 2015 at 4:56 PM, wrote: > My point was that just because it is in my history, does not necessarily > mean I intentionally visited it. Maybe I lent my computer to someone else > or clicked on a link by mistake. (By the way, I fully understand why the > assumption that if it's in th

Re: Does anybody know how to modify the source code in order to log the executions of the JavaScript functions?

2015-01-21 Thread Boris Zbarsky
On 1/21/15 11:22 AM, Tomasz wrote: --- 2:18.70 /home/tomasz/CPPProjects/mozilla-central/obj-x86_64-unknown-linux-gnu/dom/bindings/TestDictionaryBinding.cpp:11:28: fatal error: nsGlobalWindow.h: No such file or directory 2:1

Re: Does anybody know how to modify the source code in order to log the executions of the JavaScript functions?

2015-01-21 Thread Tomasz
> You can add nsGlobalWindow.h to the list at > http://mxr.mozilla.org/mozilla-central/source/dom/base/moz.build#42 to > rectify this. Thank you, this is fixed. However, the second problem still exists. Including nsGlobalWindow.h (only that, without any other modifications) causes the follow

Re: Does anybody know how to modify the source code in order to log the executions of the JavaScript functions?

2015-01-21 Thread Josh Matthews
On 2015-01-21 11:22 AM, Tomasz wrote: What you need to do is to make sure that nsGlobalWindow.h is included in each generated binding file. The simplest way to do that is to add the line bindingHeaders["nsGlobalWindow.h"] = True where all the other such lines are (e.g. right after th

Re: Does anybody know how to modify the source code in order to log the executions of the JavaScript functions?

2015-01-21 Thread Tomasz
> What you need to do is to make sure that nsGlobalWindow.h is included in > each generated binding file. The simplest way to do that is to add the line > > bindingHeaders["nsGlobalWindow.h"] = True > > where all the other such lines are (e.g. right after the line that sets > bindingH

Re: Nested scrolling behavior

2015-01-21 Thread Paul Rouget
It has nothing to do with scrollgrab. Scrolling overflowing remote iframes doesn't work on osx + apzc. Paul Rouget wrote: > Apparently, the issue is when I use an iframe. > > My code: > > > > >hi > >http://paulrouget.com";> > > > > > > document.querySelector('#out').scrollgrab = true;

Re: Nested scrolling behavior

2015-01-21 Thread Paul Rouget
Apparently, the issue is when I use an iframe. My code: > >hi >http://paulrouget.com";> > > > document.querySelector('#out').scrollgrab = true; > > #out { > padding: 10px; > background-color: #6F0; > width: 200px; > height: 250px; > overflow: scroll; > } > > #in { > width

Re: Nested scrolling behavior

2015-01-21 Thread Paul Rouget
I managed to make my example work. So it must be a thing in my original code that doesn't play well with this. I'll investigate. Paul Rouget wrote: > I set scrollgrab on the container. > But now, I can't scroll anything. > > This is the layout: > > >// height: 50px; >// height: 100vh;

Re: Nested scrolling behavior

2015-01-21 Thread Paul Rouget
I set scrollgrab on the container. But now, I can't scroll anything. This is the layout: // height: 50px; // height: 100vh; So #scrollable overflows by 50px. We can't see the 50 last pixels of the iframe (expected). I set scrollable.scrollgrab = true. And now, I can't scroll anything. T

Re: Nested scrolling behavior

2015-01-21 Thread Paul Rouget
Botond Ballo wrote: > On Wed, Jan 21, 2015 at 1:37 AM, Paul Rouget wrote: > > Is it possible to make a container scroll before its child? > > > > Example: > > > > 2 nested divs. #out and #in. #in is inside #out. Both overflow. > > > > [...] > > > > Is there a way to make #out scroll first, then #i