On Tue, Apr 19, 2016 at 11:44 PM, Sebastian Zartner <
sebastia...@gmail.com> wrote:
> On 20 April 2016 at 00:15, William Bamberg <
wbam...@mozilla.com> wrote:
>
>> On 19 April 2016 at 01:36, William Bamberg <
wbam...@mozilla.com> wrote:
>>>
>>>> On Mon, Apr 18, 2016 at 10:06 AM, Chris Mills <
cmi...@mozilla.com>
>>>> wrote:
>>>>
>>>> > I find it surprising that other mobile browsers can’t yet support
>>>> > WebExtensions (what about Mobile Chrome?)
>>>>
>>>>
>>>> As far as I know, no.
>>>>
>>>
>>> Even when it's the case that only Firefox supports these features at the
>>> moment, I believe the other ones should be listed, too. Otherwise the
>>> statement about them is unclear, as it can either mean they don't have them
>>> implemented or their implementation status is unknown. Also, it doesn't
>>> allow to add notes for them.
>>>
>>
>>
>> On the particular topic of which browsers should be included in the
>> tables *today*: this was discussed back in November when I first built
>> these tables, and the consensus was the current set (plus Firefox OS, which
>> I have now removed).
>>
>> The conversation did not happen in dev-mdc, so you didn't get to speak on
>> it, Sebastian. That was my fault, and I'm sorry about that.
>>
>
> No problem. Therefore I have the chance to speak up now.
>
> However, I still not convinced that we should include every browser in
>> these tables.
>>
>> We *should* document somewhere which browsers offer any support for
>> WebExtensions at all. But documenting it by writing "No" 300 times for
>> every such browser feels like overkill, and I think it would make the
>> tables harder to use for their actual purpose.
>>
>> This is not like CSS, where every browser has some kind of support. Many
>> browsers currently don't support WebExtensions at all, and some probably
>> never will.
>>
>
I don't think these are analogous to this situation.
scroll-snap-points-x is one single, deprecated, property in a technology
(CSS) that has very widespread browser support in general. A WebExtensions
analogue of scroll-snap-points-x would be something like
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/extension/sendRequest,
which will never be supported in Firefox - but I'm not proposing to remove
Firefox from the compat table here.
The Audio Channels API is actually now under /Mozilla, not /Web, so I *do*
think having cross-browser compatibility tables is not helpful (I think it
used to have them when we expected that the API might become standardised,
so other browsers might support it. Now we are fairly sure they won't, yes,
we should remove them IMO).
A closer analogue would be something like, why don't we include Lynx in
browser compat tables for CSS?
>
> In my opinion the compatibility tables should display the main browsers
> everywhere by default (i.e. always have the same amount of columns like on
>
caniuse.com). The user may have the opportunity to (persistently)
> customize the columns and display to his or her needs.
>
I feel as if customization is a bit of a red herring here. I don't have the
ability to implement this (it would take platform support) and as we all
know, defaults are powerful things, so even if it were possible, choosing
optimal defaults would still be worth arguing over :).
>
> For example: the new-style tables (
>>
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#Browser_compatibility)
>> include 13 different browsers. Only 5 of these currently support
>> WebExtensions at all, and 3-5 of them probably never will.
>>
>> That's a lot of extra data, which doesn't convey very much extra
>> information.
>>
>> (I could say, it would introduce the other sort of confusion, where
>> someone might think that because a table for an API includes a column for,
>> say, Safari on iOS, then Safari on iOS does have some kind of support for
>> WebExtensions, and some other APIs might be supported.)
>>
>
'when only a few browsers are shown' - do you mean, by default show all
browsers, but let the user exclude browsers, and if they exclude enough to
fit the API name on the same line, then do so?
But that means that by default, the aggregate table is not scannable. This
just doesn't seem like a good experience.
>
>
>> * this is more of a personal thing, but I like having the name of the
>> browser visible, not just an icon.
>>
>
> Same for me, actually I prefer text plus icons. That might be part of the
> customization options.
>
> When BrowserCompat happens properly, we will have a single table design,
>> and WebExtensions will use that, for sure. In the meantime, sticking closer
>> to the other tables seems like a better idea.
>>
>
> I see your macro as a first step towards a new approach to BrowserCompat.
> That's the reason why I think using the new layout for them already makes
> sense. Though it'd be ok for me to stick with the current table layout for
> now for consistency reasons. We could still go the same direction as
> {{EmbedCompatTable}} and only show the new layout to a selected group of
> people and generate the old layout for the others.
>
I'm very happy to be an early adopter of the BC project, and to help
provide feedback for the team implementing it. But right now, the BC
project is not active, and we don't know when or if it will restart. So I
don't think this is the time to adopt the beta table design.
I'm not sure where to go from here. Although I don't personally agree with
including all browsers in the WebExtension tables, I would go along with it
if the feedback from add-on developer was to do this. But the only feedback
I have had from the add-ons side (thanks Mindaugas!) is in favour of
including only browsers that have any support for WebExtensions, and that
tips me further in that direction.
Will