Re: Intent to Implement and Ship: Permissions API

2015-08-22 Thread Jonas Sicking
I'm less psyched about Permissions.request, but looking forward to
having .query ship!

Does it also work in workers?

/ Jonas

On Sat, Aug 22, 2015 at 5:03 AM, Birunthan Mohanathas
birunt...@mohanathas.com wrote:
 Hi,

 navigator.permissions.query has been Nightly-only for a few weeks. We
 are going to let it ride the trains. Other parts of the spec (such as
 Permissions.request) will be implemented when the spec is complete.

 Summary: The Permissions API allows a web application to be aware of
 the status of a given permission, to know whether it is granted,
 denied or if the user will be asked whether the permission should be
 granted.

 Use cases: See 
 https://docs.google.com/document/d/12xnZ_8P6rTpcGxBHiDPPCe7AUyCar-ndg8lh2KwMYkM/preview?pli=1#heading=h.yeaa13evs6re

 Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1105827

 Spec: https://w3c.github.io/permissions/

 Platform coverage: All platforms

 Target release: Firefox 43

 Other vendor implementations: Supported by Chrome (43)

 Cheers,
 Biru
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Intent to Implement and Ship: Permissions API

2015-08-22 Thread Birunthan Mohanathas
On 22 August 2015 at 06:24, Jonas Sicking jo...@sicking.cc wrote:
 Does it also work in workers?

Not yet, that was left for bug 1193373.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


How to avoid mozilla firefox remote debugger to ignore specific files

2015-08-22 Thread Yonggang Luo
I wanna to ignore some files when debugging .

-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: How to avoid mozilla firefox remote debugger to ignore specific files

2015-08-22 Thread Andrew Sutherland

On 08/22/2015 10:57 AM, 罗勇刚(Yonggang Luo) wrote:

I wanna to ignore some files when debugging .


https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Black_box_a_source

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Rewriting YouTube's Flash video embedding code to use HTML video?

2015-08-22 Thread Mike Taylor

On 8/21/15 6:31 PM, Hubert Figuière wrote:

On 21/08/15 06:17 PM, Chris Peterson wrote:

Bug 769117 discusses whether Gecko should detect YouTube's old embedding
boilerplate and automatically rewrite it to use the current code.
Firefox and Safari extensions [1] [2] already do this, but should Gecko
include this feature directly? It would improve users' video experience
and fix dead links if/when Firefox or YouTube stop supporting Flash.
OTOH, this is a site-specific workaround and thus might not belong in
Gecko itself.


It think that it is a feature that could be implemented in Firefox:

1. make it so that the rules are rewritable without updating the
browser, or at least touching the core. ESR comes to mind as a reason
why we'd love to update these.


This sounds like a good use case for a system addon described by the 
Go Faster initiative. [1]



2. make it cross platform. Mobile (including FirefoxOS) would completely
benefit from that. Case in point, Safari on iOS has been doing that for
a very long time.


+1.

[1] 
https://wiki.mozilla.org/Firefox/Go_Faster#Project_1:_Ship_features_as_system_add-ons


--
Mike Taylor
Web Compat, Mozilla
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform