Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Henri Sivonen
On Tue, Apr 15, 2014 at 1:41 AM, Vladimir Vukicevic vladim...@gmail.com wrote: 1. Check in the LibOVR sources as-is, in other-licenses/oculus. Add a configure flag, maybe --disable-non-free, that disables building it. Build and ship it as normal in our builds. I think this would a) set a

Re: Is there any replacement for Domain Policy in CAPS ( Bug 913734 )

2014-04-15 Thread xunxun
于 2014/4/15 星期二 4:06, Bobby Holley 写道: On Mon, Apr 14, 2014 at 11:12 AM, xunxun xunxun1...@gmail.com mailto:xunxun1...@gmail.com wrote: I want to use a configurable way like https://developer.mozilla.org/en-US/docs/Midas/Security_preferences, which can solve some strange issues on

Re: Is there any replacement for Domain Policy in CAPS ( Bug 913734 )

2014-04-15 Thread xunxun
于 2014/4/15 星期二 6:46, Neil 写道: xunxun wrote: For example, I use the policy by default on my custom build: pref(capability.policy.policynames, pcxnojs); pref(capability.policy.pcxnojs.sites, http://nsclick.baidu.com;); pref(capability.policy.pcxnojs.javascript.enabled, noAccess);

Re: B2G emulator issues

2014-04-15 Thread Vicamo Yang
I ran crashtest/reftest/marionette/xpcshell/mochitest on emulator-x86-kk, have filed related bugs and make them block bug 753928. Basically: 1) need to carry --emulator x86 automatically (bug 996443) 2) to add x86 emulator for xpcshell tests (bug 996473) 3) PROCESS-CRASH at the end of

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Mike de Boer
I’d like to add voice to Henri’s opinion here, because it’s important. The pivotal part of this discussion is about the precedent this establishes and the long-term repercussions it will have. On 15 Apr 2014, at 02:35, Vladimir Vukicevic vladim...@gmail.com wrote: Yes -- perhaps

Re: Is XPath still a thing?

2014-04-15 Thread Anne van Kesteren
On Mon, Apr 14, 2014 at 10:54 PM, Jorge Villalobos jo...@mozilla.com wrote: FWIW, many add-ons use XPath. If there's anything we should be recommending add-on developers to migrate to, please let me know. It would be interesting to know what they use it for and why querySelector() et al don't

Re: Is XPath still a thing?

2014-04-15 Thread gNeandr
On 15.04.2014 12:17, Anne van Kesteren wrote: On Mon, Apr 14, 2014 at 10:54 PM, Jorge Villalobos jo...@mozilla.com wrote: FWIW, many add-ons use XPath. If there's anything we should be recommending add-on developers to migrate to, please let me know. It would be interesting to know what they

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Robert O'Callahan
On Tue, Apr 15, 2014 at 10:41 AM, Vladimir Vukicevic vladim...@gmail.comwrote: I have a prototype of VR display and sensor integration with the web, along with an implementation for the Oculus VR. Despite there really being only one vendor right now, there is a lot of interest in VR. I'd

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Thomas Zimmermann
Hi 1. Check in the LibOVR sources as-is, in other-licenses/oculus. Add a configure flag, maybe --disable-non-free, that disables building it. Build and ship it as normal in our builds. '--with-non-free' But actually I'd support the option of keeping the SDK separated and dlopen'ing the

Re: Is XPath still a thing?

2014-04-15 Thread Andreas Tolfsen
On 15/04/2014 11:17, Anne van Kesteren wrote: On Mon, Apr 14, 2014 at 10:54 PM, Jorge Villalobos jo...@mozilla.com wrote: FWIW, many add-ons use XPath. If there's anything we should be recommending add-on developers to migrate to, please let me know. It would be interesting to know what they

Re: Policy for disabling tests which run on TBPL

2014-04-15 Thread jmaher
I want to express my thanks to everyone who contributed to this thread. We have a lot of passionate and smart people who care about this topic- thanks again for weighing in so far. Below is a slightly updated policy from the original, and following that is an attempt to summarize the thread

Re: Is XPath still a thing?

2014-04-15 Thread Gijs Kruitbosch
On 15/04/2014 14:21, Andreas Tolfsen wrote: On 15/04/2014 11:17, Anne van Kesteren wrote: On Mon, Apr 14, 2014 at 10:54 PM, Jorge Villalobos jo...@mozilla.com wrote: FWIW, many add-ons use XPath. If there's anything we should be recommending add-on developers to migrate to, please let me know.

Re: Policy for disabling tests which run on TBPL

2014-04-15 Thread Kyle Huey
On Tue, Apr 15, 2014 at 6:21 AM, jmaher joel.ma...@gmail.com wrote: This policy will define an escalation path for when a single test case is identified to be leaking or failing and is causing enough disruption on the trees. Disruption is defined as: 1) Test case is on the list of top 20

Re: B2G emulator issues

2014-04-15 Thread Randell Jesup
I ran crashtest/reftest/marionette/xpcshell/mochitest on emulator-x86-kk, have filed related bugs and make them block bug 753928. Basically: 1) need to carry --emulator x86 automatically (bug 996443) 2) to add x86 emulator for xpcshell tests (bug 996473) 3) PROCESS-CRASH at the end of

Re: Policy for disabling tests which run on TBPL

2014-04-15 Thread jmaher
On Tuesday, April 15, 2014 9:42:25 AM UTC-4, Kyle Huey wrote: On Tue, Apr 15, 2014 at 6:21 AM, jmaher joel.ma...@gmail.com wrote: This policy will define an escalation path for when a single test case is identified to be leaking or failing and is causing enough disruption on the trees.

Re: Is XPath still a thing?

2014-04-15 Thread Andreas Tolfsen
On 15/04/2014 14:33, Gijs Kruitbosch wrote: On 15/04/2014 14:21, Andreas Tolfsen wrote: On 15/04/2014 11:17, Anne van Kesteren wrote: It would be interesting to know what they use it for and why querySelector() et al don't meet their needs, but there's no immediate threat of what we have going

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Mike Hoye
On 2014-04-15, 12:47 AM, Andreas Gal wrote: Vlad asked a specific question in the first email. Are we comfortable using another open (albeit not open enough for MPL) license on trunk while we rewrite the library? Can we compromise on trunk in order to innovate faster and only ship to GA once

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Mike Hoye
On 2014-04-15, 10:25 AM, Mike Hoye wrote: On 2014-04-15, 12:47 AM, Andreas Gal wrote: Vlad asked a specific question in the first email. Are we comfortable using another open (albeit not open enough for MPL) license on trunk while we rewrite the library? Can we compromise on trunk in order to

Re: B2G emulator issues

2014-04-15 Thread Vicamo Yang
於 4/15/14, 9:42 PM, Randell Jesup 提到: I ran crashtest/reftest/marionette/xpcshell/mochitest on emulator-x86-kk, have filed related bugs and make them block bug 753928. Basically: 1) need to carry --emulator x86 automatically (bug 996443) 2) to add x86 emulator for xpcshell tests (bug 996473)

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Benoit Jacob
2014-04-14 18:41 GMT-04:00 Vladimir Vukicevic vladim...@gmail.com: 3. We do nothing. This option won't happen: I'm tired of not having Gecko and Firefox at the forefront of web technology in all aspects. Is VR already Web technology i.e. is another browser vendor already exposing this, or

Re: Is there any replacement for Domain Policy in CAPS ( Bug 913734 )

2014-04-15 Thread Bobby Holley
On Tue, Apr 15, 2014 at 1:01 AM, xunxun xunxun1...@gmail.com wrote: Thanks. I haven't read how to write a firefox extension yet, and I also want to find a method that do not depent on another extension. That may or may not be possible. You could try Neil's suggestion. If I revert the

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Ehsan Akhgari
On 2014-04-15, 6:52 AM, Robert O'Callahan wrote: I'd like to get this checked in so that we can either have it enabled by default in nightlies (and nightlies only), or at least allow it enabled via a pref. However, there's one issue -- the LibOVR library has a not-fully-free-software license

Re: Recommendations on source control and code review

2014-04-15 Thread Chris Peterson
On 4/14/14, 10:31 AM, smaug wrote: As a reviewer I usually want to see _also_ a patch which contains all the changes. Otherwise it can be very difficult to see the big picture. But sure, having large patches split to smaller pieces may help. btw, if you have opinions about code review tools,

Re: Enhancing product security with CSP for internal pages

2014-04-15 Thread Frederik Braun
On 15.04.2014 00:43, Neil wrote: Frederik Braun wrote: A few months ago I had the idea to add a Content Security Policy (CSP) to our internal pages, like about:newtab for example. So this just applies to about: pages? Primarily yes. I think some people are already working on other bits

Re: Is there any replacement for Domain Policy in CAPS ( Bug 913734 )

2014-04-15 Thread Neil
xunxun wrote: 于 2014/4/15 星期二 6:46, Neil 写道: xunxun wrote: For example, I use the policy by default on my custom build: pref(capability.policy.policynames, pcxnojs); pref(capability.policy.pcxnojs.sites, http://nsclick.baidu.com;); pref(capability.policy.pcxnojs.javascript.enabled,

Re: Enhancing product security with CSP for internal pages

2014-04-15 Thread Neil
Frederik Braun wrote: On 15.04.2014 00:43, Neil wrote: Frederik Braun wrote: A few months ago I had the idea to add a Content Security Policy (CSP) to our internal pages, like about:newtab for example. So this just applies to about: pages? Primarily yes. I think some people are

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Neil
Mike Hoye wrote: the window-close button being right next to the send button in Thunderbird turns into a real problem after your third coffee, let me tell you. Don't you mean before your third coffee? -- Warning: May contain traces of nuts. ___

Re: Enhancing product security with CSP for internal pages

2014-04-15 Thread Frederik Braun
On 15.04.2014 22:45, Neil wrote: Frederik Braun wrote: On 15.04.2014 00:43, Neil wrote: Frederik Braun wrote: A few months ago I had the idea to add a Content Security Policy (CSP) to our internal pages, like about:newtab for example. So this just applies to about: pages? Primarily

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread K. Gadd
Arguably if you wait for other vendors to expose VR before you do it, you'll end up having to implement a sub-standard proprietary API like you did with Web Audio. If you're first to the market (even with a prototype that's preffed off), you can exert a lot more pressure on how things turn out,

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Robert O'Callahan
On Wed, Apr 16, 2014 at 3:14 AM, Benoit Jacob jacob.benoi...@gmail.comwrote: If VR is not yet a thing on the Web, could you elaborate on why you think it should be? I'm asking because the Web has so far mostly been a common denominator, conservative platform. For example, WebGL stays at a

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Gijs Kruitbosch
On 15/04/2014 22:34, K. Gadd wrote: Arguably if you wait for other vendors to expose VR before you do it, you'll end up having to implement a sub-standard proprietary API like you did with Web Audio. We had an alternative implementation + API ( https://wiki.mozilla.org/Audio_Data_API ). I

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Ehsan Akhgari
On 2014-04-15, 5:34 PM, K. Gadd wrote: Arguably if you wait for other vendors to expose VR before you do it, you'll end up having to implement a sub-standard proprietary API like you did with Web Audio. If you're first to the market (even with a prototype that's preffed off), you can exert a lot

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Ehsan Akhgari
On 2014-04-15, 5:58 PM, Gijs Kruitbosch wrote: On 15/04/2014 22:34, K. Gadd wrote: Arguably if you wait for other vendors to expose VR before you do it, you'll end up having to implement a sub-standard proprietary API like you did with Web Audio. We had an alternative implementation + API (

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Andreas Gal
You can’t beat the competition by fast following the competition. Our competition are native, closed, proprietary ecosystems. To beat them, the Web has to be on the bleeding edge of technology. I would love to see VR support in the Web platform before its available as a builtin capability in

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Trevor Saunders
On Tue, Apr 15, 2014 at 10:33:51AM -0400, Mike Hoye wrote: On 2014-04-15, 10:25 AM, Mike Hoye wrote: On 2014-04-15, 12:47 AM, Andreas Gal wrote: Vlad asked a specific question in the first email. Are we comfortable using another open (albeit not open enough for MPL) license on trunk while we

Using rr to track down intermittent test failures

2014-04-15 Thread Robert O'Callahan
We just released rr 1.2 and I think this would be a good time for people to try to use it for one of the tasks it was designed for: debugging intermittent test failures. Consult http://rr-project.org for more information, but the gist is this: you can use rr to record the execution of Firefox

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Vladimir Vukicevic
On Tuesday, April 15, 2014 5:57:13 PM UTC-4, Robert O'Callahan wrote: On Wed, Apr 16, 2014 at 3:14 AM, Benoit Jacob jacob.benoi...@gmail.comwrote: I'm asking because the Web has so far mostly been a common denominator, conservative platform. For example, WebGL stays at a distance behind the

Re: Using rr to track down intermittent test failures

2014-04-15 Thread Gijs Kruitbosch
On 16/04/2014 00:05, Robert O'Callahan wrote: We just released rr 1.2 and I think this would be a good time for people to try to use it for one of the tasks it was designed for: debugging intermittent test failures. This is awesome! Three questions: 1) Is anyone working on something similar

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Benoit Jacob
2014-04-15 18:28 GMT-04:00 Andreas Gal andreas@gmail.com: You can’t beat the competition by fast following the competition. Our competition are native, closed, proprietary ecosystems. To beat them, the Web has to be on the bleeding edge of technology. I would love to see VR support in

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread K. Gadd
The following is all my opinion, of course: Arguably many of the wins currently being seen in web games were only possible because your biggest competitor (Google, w/NaCL) basically ceded the market by failing to ship promptly and failing to support their developers. I don't think the asm.js

Re: Using rr to track down intermittent test failures

2014-04-15 Thread Robert O'Callahan
On Wed, Apr 16, 2014 at 11:05 AM, Robert O'Callahan rob...@ocallahan.orgwrote: 4) Create a script somewhere called rr-record that does exec ~/rr/bin/rr record $* Sorry; this script, of course, needs to exec rr from wherever it was installed. Rob -- Jtehsauts tshaei dS,o n Wohfy Mdaon

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Andreas Gal
On Apr 15, 2014, at 4:17 PM, Benoit Jacob jacob.benoi...@gmail.com wrote: 2014-04-15 18:28 GMT-04:00 Andreas Gal andreas@gmail.com: You can’t beat the competition by fast following the competition. Our competition are native, closed, proprietary ecosystems. To beat them, the Web

Re: Using rr to track down intermittent test failures

2014-04-15 Thread Ehsan Akhgari
On 2014-04-15, 7:14 PM, Gijs Kruitbosch wrote: On 16/04/2014 00:05, Robert O'Callahan wrote: We just released rr 1.2 and I think this would be a good time for people to try to use it for one of the tasks it was designed for: debugging intermittent test failures. This is awesome! Three

Re: Using rr to track down intermittent test failures

2014-04-15 Thread Robert O'Callahan
On Wed, Apr 16, 2014 at 11:05 AM, Robert O'Callahan rob...@ocallahan.orgwrote: 1) Install rr on a Westmere-or-later Linux system (or VM with performance counters virtualized), build 32-bit Firefox (opt or debug) and verify that recording Firefox works for you. If it doesn't, please file a

Re: Policy for disabling tests which run on TBPL

2014-04-15 Thread Karl Tomlinson
Thank you for putting this together. It is important. jmaher writes: This policy will define an escalation path for when a single test case is identified to be leaking or failing and is causing enough disruption on the trees. Exceptions: 1) If this test has landed (or been modified) in

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Ehsan Akhgari
On 2014-04-15, 7:14 PM, Vladimir Vukicevic wrote: On Tuesday, April 15, 2014 5:57:13 PM UTC-4, Robert O'Callahan wrote: On Wed, Apr 16, 2014 at 3:14 AM, Benoit Jacob jacob.benoi...@gmail.comwrote: I'm asking because the Web has so far mostly been a common denominator, conservative platform.

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Rob Manson
I know I'm lobbing in from the sidelines on what is essentially a licensing debate internal to Mozilla...but wouldn't any VR implementation like Vlad described be best done as an extension of existing open web standards where possible. The 6dof data that comes from the Oculus Rift is

Re: Using rr to track down intermittent test failures

2014-04-15 Thread Robert O'Callahan
On Wed, Apr 16, 2014 at 11:14 AM, Gijs Kruitbosch gijskruitbo...@gmail.comwrote: 1) Is anyone working on something similar that works for frontend code (particularly, chrome JS)? I realize we have a JS debugger, but sometimes activating the debugger at the wrong time makes the bug go away, and

Re: Using rr to track down intermittent test failures

2014-04-15 Thread Ted Mielczarek
On 4/15/2014 7:05 PM, Robert O'Callahan wrote: The steps to get started doing this are roughly as follows: 1) Install rr on a Westmere-or-later Linux system (or VM with performance counters virtualized), build 32-bit Firefox (opt or debug) and verify that recording Firefox works for you. If

Re: Using rr to track down intermittent test failures

2014-04-15 Thread Nathan Froyd
- Original Message - Do you have any idea on a timeframe for x86-64 support? I have a 64-bit Ubuntu install, and historically it's a bit of a pain to get 32-bit Firefox running. (Alternately, if someone wants to figure out instructions for getting a 32-bit Firefox built and running on

Re: Using rr to track down intermittent test failures

2014-04-15 Thread Robert O'Callahan
On Wed, Apr 16, 2014 at 12:24 PM, Ted Mielczarek t...@mielczarek.org wrote: Do you have any idea on a timeframe for x86-64 support? It's technically not that hard, but it's a reasonably large project so it's not going to happen right away. Rob -- Jtehsauts tshaei dS,o n Wohfy Mdaon yhoaus

Re: Oculus VR support somehwat-non-free code in the tree

2014-04-15 Thread Andreas Gal
On Apr 15, 2014, at 9:00 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Wed, Apr 16, 2014 at 11:14 AM, Vladimir Vukicevic vladim...@gmail.comwrote: Note that for purposes of this discussion, VR support is minimal.. some properties to read to get some info about the output device