Re: Intent to implement: Frame Timing API

2015-05-11 Thread Paul Rouget
DevTools bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1163901 On Tue, May 12, 2015 at 6:02 AM, Boris Zbarsky wrote: > On 5/11/15 7:03 PM, Ilya Grigorik wrote: >> >> Boris, any chance you can also take a look at scenario in: >> https://github.com/w3c/frame-timing/issues/40#issuecomment-97

Re: Intent to implement: Frame Timing API

2015-05-11 Thread Boris Zbarsky
On 5/11/15 7:03 PM, Ilya Grigorik wrote: Boris, any chance you can also take a look at scenario in: https://github.com/w3c/frame-timing/issues/40#issuecomment-9795 For the situation described there, it seems like the right mitigation, conceptually, is to repaint the link when the href chan

Re: PSA: New C++11 features made available by dropping support for gcc-4.6 in Gecko 38

2015-05-11 Thread Joshua Cranmer 🐧
On 5/11/2015 2:29 PM, Ehsan Akhgari wrote: On 2015-04-30 7:57 AM, Xidorn Quan wrote: On Thu, Apr 30, 2015 at 10:14 PM, Robert O'Callahan wrote: On Sat, Mar 21, 2015 at 4:14 AM, wrote: * member initializers Should we have any rules around these, or should we use them indiscriminately? I

PSA: Gecko Profiler Addon and Cleopatra temporarily broken

2015-05-11 Thread Shu-yu Guo
I landed bug 1154115 today, which changes the format of the JSON spit out by the Gecko profiler. If the patches stick, the Gecko Profiler Addon and Cleopatra will be broken until they are updated. I have submitted pull requests to the two repos. In the meantime, you may elect to use my version of

Re: Intent to implement: Frame Timing API

2015-05-11 Thread Brian Birtles
On 2015/05/12 4:58, Boris Zbarsky wrote: On 5/11/15 3:32 PM, Ehsan Akhgari wrote: You can have style like: >> ... And then time the painting/compositing of the said content. No, you can't. We explicitly forbid that, precisely because of side-channel timing attacks. dbaron has a good writeu

Re: Intent to implement: Frame Timing API

2015-05-11 Thread Ilya Grigorik
FWIW, we have a tracking issue for this on GH: https://github.com/w3c/frame-timing/issues/40 On Mon, May 11, 2015 at 12:58 PM, Boris Zbarsky wrote: > No, you can't. We explicitly forbid that, precisely because of > side-channel timing attacks. dbaron has a good writeup about how the > :visited

Re: PSA: New C++11 features made available by dropping support for gcc-4.6 in Gecko 38

2015-05-11 Thread Xidorn Quan
On Tue, May 12, 2015 at 7:29 AM, Ehsan Akhgari wrote: > On 2015-04-30 7:57 AM, Xidorn Quan wrote: > >> On Thu, Apr 30, 2015 at 10:14 PM, Robert O'Callahan > > >> wrote: >> >> On Sat, Mar 21, 2015 at 4:14 AM, wrote: >>> >>> * member initializers >>> Should we have any rules around the

Re: Intent to implement: Frame Timing API

2015-05-11 Thread Boris Zbarsky
On 5/11/15 3:32 PM, Ehsan Akhgari wrote: You can have style like: some content that is expensive to paint/composite and then have; a { display: none; } a:visited { display: inline; } And then time the painting/compositing of the said content. No, you can't. We explicitly forbid that

Re: Intent to implement: Frame Timing API

2015-05-11 Thread Ehsan Akhgari
On 2015-04-28 1:38 AM, Brian Birtles wrote: On 2015/04/28 10:43, Jonas Sicking wrote: Please make sure to do a security review so that this doesn't expose any sensitive information accidentally. In particular, is there any way to use this API to use :visited hacks along with timing information t

Re: PSA: New C++11 features made available by dropping support for gcc-4.6 in Gecko 38

2015-05-11 Thread Ehsan Akhgari
On 2015-04-30 7:57 AM, Xidorn Quan wrote: On Thu, Apr 30, 2015 at 10:14 PM, Robert O'Callahan wrote: On Sat, Mar 21, 2015 at 4:14 AM, wrote: * member initializers Should we have any rules around these, or should we use them indiscriminately? I wonder particularly about initializers which

Re: Using rust in Gecko. rust-url compatibility

2015-05-11 Thread manishsmail
> Or can the Rust code be called from multiple threads simultaneously > without causing race issues? AFAICT the Rust code doesn't change any state; it just parses an input to provide a Url object (and vice versa). The Url object needs to be put in a mutex if you wish to mutate it from multiple