Re: Intent to ship: CSS Mask Image

2016-12-15 Thread L. David Baron
On Thursday 2016-12-15 15:05 +0800, Ku(顧思捷)CJ wrote: > After bug 1251161 landed, we turned CSS mask image on by default on all > platforms. It has been developed behind the MOZ_ENABLE_MASK_AS_SHORTHAND > compile flag. Chrome is already shipping this in version 29. > > (Original plan is to turn it

Intent to ship: NetworkInformation

2016-12-15 Thread Andrea Marchesini
Our implementation of the NetworkInformation interface does not follow the latest version of the spec. I'm planning to work on it. Then, I would like to enable this interface by default - currently it's behind pref. Related Bugs: worker implementation: https://bugzilla.mozilla.org/show_bug.cgi?id=

Who loves multiple selection feature in editor?

2016-12-15 Thread Masayuki Nakano
At investigating selection API behavior, I realized that non-Gecko engines don't support multiple selection. For example, document.getSelection().addRange(somethingNewRange) does nothing when the selection has a range. You can see the behavior with following testcases: 1. in editable content:

WoT Gateway Implementation

2016-12-15 Thread Benjamin Francis
Hi, In the last platform meeting we talked about kicking off the implementation of some of the key components of the platform, one of which is the WoT gateway implementation. As HomeWeb will initiall

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Boris Zbarsky
On 12/15/16 3:28 AM, Andrea Marchesini wrote: Spec: https://w3c.github.io/netinfo/ Is there any plan to have this turned into an actual spec, complete with IPR commitments, testcases, wider review, etc? Have we done a privacy review of this spec? Why should a webpage ever know whether I'm

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Eric Rescorla
On Thu, Dec 15, 2016 at 6:42 AM, Boris Zbarsky wrote: > On 12/15/16 3:28 AM, Andrea Marchesini wrote: > >> Spec: https://w3c.github.io/netinfo/ >> > > Is there any plan to have this turned into an actual spec, complete with > IPR commitments, testcases, wider review, etc? > > Have we done a priva

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Daniel Stenberg
On Thu, 15 Dec 2016, Boris Zbarsky wrote: Looking at the use cases document at , it seems like people generally care more about things like "bandwidth costs money" and "how much bandwidth do we expect?" than about the actual physical transport, no

Re: Intent to implement: OpenType Variation Fonts

2016-12-15 Thread Patrick Brosset
The inspector in DevTools has a Fonts panel already. For now, it only lists the fonts currently used by the selected element. It can also list all fonts used on the page. We would love to make this panel more useful and expose things like variations. As Xidorn said, if we could have an API that lis

Re: Intent to implement: OpenType Variation Fonts

2016-12-15 Thread Patrick Brosset
Here's the bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1323743 On Thu, Dec 15, 2016 at 4:02 PM, Patrick Brosset wrote: > The inspector in DevTools has a Fonts panel already. For now, it only > lists the fonts currently used by the selected element. It can also list > all fonts used on the

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Ben Kelly
On Thu, Dec 15, 2016 at 3:28 AM, Andrea Marchesini wrote: > Our implementation of the NetworkInformation interface does not follow the > latest version of the spec. I'm planning to work on it. Then, I would like > to enable this interface by default - currently it's behind pref. > I think we do

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Ben Kelly
On Thu, Dec 15, 2016 at 8:42 AM, Boris Zbarsky wrote: > On 12/15/16 3:28 AM, Andrea Marchesini wrote: > >> Spec: https://w3c.github.io/netinfo/ >> > > Is there any plan to have this turned into an actual spec, complete with > IPR commitments, testcases, wider review, etc? > What is an IPR commit

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Boris Zbarsky
On 12/15/16 11:00 AM, Ben Kelly wrote: What is an IPR commitment? IPR == "intellectual property rights". In the context of specs, mostly patent issues. It seems we can implement WPT tests. I don't know what you consider "an actual spec" Well, something that gets a wider look than WICG t

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Ben Kelly
On Thu, Dec 15, 2016 at 11:14 AM, Boris Zbarsky wrote: > OK, so how would one use this API in practice? if (navigator.connect.downlinkMax > 100) { // perform low-priority background downloads } ___ dev-platform mailing list dev-platform@lists.mozill

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Boris Zbarsky
On 12/15/16 11:23 AM, Ben Kelly wrote: if (navigator.connect.downlinkMax > 100) { // perform low-priority background downloads } Why is the downlinkMax the right thing to be checking here, though? Again, outside of the "cellphone on a cell network" case, the last-hop bandwidth tells you pre

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Ben Kelly
On Thu, Dec 15, 2016 at 12:06 PM, Boris Zbarsky wrote: > On 12/15/16 11:23 AM, Ben Kelly wrote: > >> if (navigator.connect.downlinkMax > 100) { >> // perform low-priority background downloads >> } >> > > Why is the downlinkMax the right thing to be checking here, though? Again, > outside of the

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Jonathan Kew
On 15/12/2016 17:20, Ben Kelly wrote: On Thu, Dec 15, 2016 at 12:06 PM, Boris Zbarsky wrote: On 12/15/16 11:23 AM, Ben Kelly wrote: if (navigator.connect.downlinkMax > 100) { // perform low-priority background downloads } Why is the downlinkMax the right thing to be checking here, thoug

Re: WoT Gateway Implementation

2016-12-15 Thread jedireza
On Thursday, December 15, 2016 at 3:57:50 AM UTC-8, Benjamin Francis wrote: > However, using two separate languages comes at a cost (both cognitive and > complexity-wise). I personally have zero experience of writing Rust and > while I know it's possible >

Re: WoT Gateway Implementation

2016-12-15 Thread Fabrice Desre
On 12/15/2016 03:57 AM, Benjamin Francis wrote: Reasons for using Node for WoT APIs: - NodeJS is now a very popular language for server side web development and has a huge existing community and collection of modules to draw from. Using NodeJS will help attract community contribution

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Patrick McManus
Hi All - Generally speaking releasing more information about what's behind the firewall is an anti-goal. I have the same reaction others in this thread have - this api is much more information than what is really needed, and the information it provides is of questionable usefulness anyhow. The de

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Ehsan Akhgari
On 2016-12-15 11:14 AM, Boris Zbarsky wrote: > On 12/15/16 11:00 AM, Ben Kelly wrote: >> We are shipping the connection type information on android already. >> Since >> FF32 as far as I can tell. > > That's... not great. Especially since there was no intent to ship at > the time. FWIW Chromium

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Ehsan Akhgari
On 2016-12-15 11:14 AM, Boris Zbarsky wrote: > On 12/15/16 11:00 AM, Ben Kelly wrote: >> We are shipping the connection type information on android already. >> Since >> FF32 as far as I can tell. > > That's... not great. Especially since there was no intent to ship at > the time. FWIW Chromium

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Boris Zbarsky
On 12/15/16 2:39 PM, Ehsan Akhgari wrote: FWIW I was one of the people who were involved in the discussions around this for Firefox OS. From what I remember, the argument for shipping this API was that web developers have been asking for this for years, and they are basically happy to know the d

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Boris Zbarsky
On 12/15/16 12:20 PM, Ben Kelly wrote: Its more information than nothing. I'm not sure it is. At least when you have nothing you _know_ you have nothing, so might think about other ways to find out what you want to know. This way you think you know something but you don't. Bluetooth netw

Re: Intent to implement: CSS {background,mask}-repeat-{x/y} properties

2016-12-15 Thread Mike Taylor
Hi Tommy, On 11/27/16 9:59 PM, Tommy Kuo wrote: Currently, for web compatibility, I think we should implement these properties. Do we know about any sites that are broken due to background-repeat-x/y? (apologies in advance if you link to a bug that has me commenting on it...) -- Mike Taylor

Re: WoT Gateway Implementation

2016-12-15 Thread Benjamin Francis
Oops, I sent this to the wrong platform list :) Moving to mozilla.dev@mozilla.org On 15 December 2016 at 11:57, Benjamin Francis wrote: > Hi, > > In the last platform meeting > > we talked abo

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Tantek Çelik
On Thu, Dec 15, 2016 at 11:51 AM, Boris Zbarsky wrote: > On 12/15/16 12:20 PM, Ben Kelly wrote: >> >> Its more information than nothing. > > > I'm not sure it is. At least when you have nothing you _know_ you have > nothing, so might think about other ways to find out what you want to know. > Thi

Re: Intent to ship: NetworkInformation

2016-12-15 Thread smaug
On 12/15/2016 09:53 PM, Boris Zbarsky wrote: On 12/15/16 2:39 PM, Ehsan Akhgari wrote: FWIW I was one of the people who were involved in the discussions around this for Firefox OS. From what I remember, the argument for shipping this API was that web developers have been asking for this for yea

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Ehsan Akhgari
On 2016-12-15 2:53 PM, Boris Zbarsky wrote: > On 12/15/16 2:39 PM, Ehsan Akhgari wrote: >> FWIW I was one of the people who were involved in the discussions around >> this for Firefox OS. From what I remember, the argument for shipping >> this API was that web developers have been asking for this

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Boris Zbarsky
On 12/15/16 6:15 PM, Ehsan Akhgari wrote: (I personally agree with most of what you said, except that I'm convinced that we should expose that one bit.) Exposing this one bit makes a lot of sense to me. From a more practical perspective, we have two shipping implementations of this API. What

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Martin Thomson
On Fri, Dec 16, 2016 at 10:28 AM, Boris Zbarsky wrote: > 2) Figure out a way to map the one bit of information we actually want to > expose into some sort of values that look like the existing API. Change the > spec as needed to allow tweaks we want to make here (e.g. to allow having > the max sp

Re: Rust required to build Gecko

2016-12-15 Thread Ralph Giles
Today we've pushed the change to enable rust language code by default in Firefox builds. The changes are on the autoland branch right now, so this will affect your builds from mozilla-central or gecko-dev starting tomorrow. This brings our default developer build in line with what we've been doing

Re: Intent to ship: NetworkInformation

2016-12-15 Thread Eric Rescorla
It seems pretty premature in this process to trying to hack around the API not expressing what we wanted to make. If what we want to express is "is this link free" then let's make the API say that. -Ekr On Thu, Dec 15, 2016 at 4:17 PM, Martin Thomson wrote: > On Fri, Dec 16, 2016 at 10:28 AM,

Re: Intent to implement: CSS {background,mask}-repeat-{x/y} properties

2016-12-15 Thread Tommy Kuo
Hi Mike,  There is a site[1] using these properties. And the related bug is here[2]. [1]: http://ocando.vnz.la/ [2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1273244 --  Tommy Kuo / Software Engineer ku...@mozilla.com Mozilla Taiwan On December 16, 2016 at 05:18:36, Mike Taylor (mi...@moz