Re: Nested scrolling behavior

2015-01-20 Thread Botond Ballo
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 #in? > > Not sure how relevant this is but

Nested scrolling behavior

2015-01-20 Thread Paul Rouget
Is it possible to make a container scroll before its child? Example: 2 nested divs. #out and #in. #in is inside #out. Both overflow. When scrolling (mouse wheel), #in scrolls first. Once #in reached its max scroll, #out starts scrolling. See it in action here: http://jsbin.com/puxenibotu Is th

Re: Migrating defaults from other browsers

2015-01-20 Thread Gavin Sharp
+firefox-dev (more relevant to that list than dev-platform, IMO) I would certainly support an audit of what we're migrating, I bet a lot could be cleaned up. Gavin On Tue, Jan 20, 2015 at 2:40 PM, Justin Dolske wrote: > On 1/19/15 4:58 AM, Henri Sivonen wrote: > >> I think this leads to a more

Re: Migrating defaults from other browsers

2015-01-20 Thread Justin Dolske
On 1/19/15 4:58 AM, Henri Sivonen wrote: I think this leads to a more general question: Is it really a good idea that our profile migrators migrate settings from other browsers when those settings have been left to the defaults of those browsers? My assumption was that we're only migrating cus

Re: JavaScript code coverage

2015-01-20 Thread Nick Fitzgerald
I recommend reading https://developer.mozilla.org/en-US/docs/Tools/Debugger-API or js/src/doc/Debugger/ for more information. On Tue, Jan 20, 2015 at 1:29 PM, Nick Fitzgerald wrote: > ​On Mon, Jan 19, 2015 at 12:36 PM, Joshua Cranmer [image: 🐧] < > pidgeo...@gmail.com> wrote: > >> Getting good c

Re: JavaScript code coverage

2015-01-20 Thread Nick Fitzgerald
​On Mon, Jan 19, 2015 at 12:36 PM, Joshua Cranmer 🐧 wrote: > Getting good code coverage (line and branch coverage) ultimately requires > fine-grained instrumentation (ideally bytecode-level) not presented by the > current Debugger. > ​I think you can get fine-grained enough data with the existi

MemShrink Meeting - Today, 20 Jan 2015 at 2:00pm PST

2015-01-20 Thread Jet Villegas
The next Memshrink meeting is is brought to you by proper shutdown when IPC messages are dropped: https://bugzilla.mozilla.org/show_bug.cgi?id=1091766 The wiki page for this meeting is at: https://wiki.mozilla.org/Performance/MemShrink Agenda: * Prioritize unprioritized MemShrink bugs. * Discu

Re: JavaScript code coverage

2015-01-20 Thread Philipp Kewisch
On 1/20/15 5:34 PM, Joshua Cranmer 🐧 wrote: > On 1/20/2015 4:37 AM, Nicolas B. Pierron wrote: >> Maybe some potential users will show up and mention that they are >> willing to get their hand dirty if we were to implement an Analysis >> API as discussed back in June. In which case we might be able

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

2015-01-20 Thread Boris Zbarsky
On 1/20/15 11:42 AM, Tomasz wrote: cgThings.append(CGGeneric('nsPIDOMWindow* cwindow = xpc::WindowGlobalOrNull(obj);\n')) Yep, that looks good. error: cannot convert 'nsGlobalWindow*' to 'nsPIDOMWindow*' in initialization Right, because WindowGlobalOrNull returns nsGlobalWindow*, but the

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

2015-01-20 Thread Ehsan Akhgari
On 2015-01-20 11:42 AM, Tomasz wrote: You can do something similar to the beginning of mozilla::dom::CheckPermissions to get an nsPIDOMWindow*, and then call GetDocumentURI() on it. Thank you Ehsan. I tried to do that, but I did not afford to make that working. Probably, because I have total

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

2015-01-20 Thread Tomasz
> You can do something similar to the beginning of > mozilla::dom::CheckPermissions to get an nsPIDOMWindow*, and then call > GetDocumentURI() on it. Thank you Ehsan. I tried to do that, but I did not afford to make that working. Probably, because I have totally no experience with Firefox code

Re: JavaScript code coverage

2015-01-20 Thread Joshua Cranmer 🐧
On 1/20/2015 4:37 AM, Nicolas B. Pierron wrote: This "general design" is a pragmatic approach to help people implement different variant of taint-analysis without having to implement taint analysis in SpiderMonkey. Identically for code-coverage, how much time do you want to spend at doing code

Re: [blink-dev] Fwd: [Bug 441414] Treerows need a way to hold richer content

2015-01-20 Thread Yonggang Luo
2015-01-17 21:55 GMT+08:00 Philipp Kewisch : > On 1/16/15 7:09 PM, 罗勇刚(Yonggang Luo) wrote: > > Is that really the case? The current XUL tree may have some graphics >> optimizations, but as long as DOM nodes are re-used in lazy loading, I >> don't see why it couldn't be done in a library. After the

Re: Extracting session cookies from Firefox

2015-01-20 Thread Ted Mielczarek
On Tue, Jan 20, 2015, at 07:22 AM, Florian Weimer wrote: > I would like to extract session cookies from a running Firefox > instance. Is there are a supported mechanism to do this? I don't know the definitive answer, but I strongly suspect the answer is "no". We don't really have any supported AP

Extracting session cookies from Firefox

2015-01-20 Thread Florian Weimer
I would like to extract session cookies from a running Firefox instance. Is there are a supported mechanism to do this? Somewhat surprisingly (to users, I mean—but obviously, something like this is required if you want to do crash restarts without a supervisor process), the session cookies are wr

Re: JavaScript code coverage

2015-01-20 Thread Nicolas B. Pierron
On 01/19/2015 09:36 PM, Joshua Cranmer 🐧 wrote: I've seen people bring up supporting this sort of stuff in the past, which usually tends to generate a flurry of "+1 this would be wonderful!" but ultimately everything peters out before anything gets done. The problem was not the solution, but th

Re: JS-Ctype IRC Room

2015-01-20 Thread helpcrypto helpcrypto
Is there a maillist for jsctypes? Wouldn't that be better than an irc channel? On Tue, Jan 20, 2015 at 5:39 AM, Philip Chee wrote: > On 20/01/2015 07:21, noitid...@gmail.com wrote: > > New irc room we're trying to establish. #jsctypes > > > > > https://client00.chat.mibbit.com/?url=irc%3A%2F%2F