Platform help needed for Firefox OS L10n/Intl

2015-09-18 Thread Zibi Braniecki
Hi all, There are two things in the platform that need a developer, which would significantly help Firefox OS L10n/Intl work. 1) Move navigator.mozHour12 to platform This is a shim [0] that currently requires us to give all apps that want to properly display time to elevate its privileges to h

Re: API request: MutationObserver with querySelector

2015-09-18 Thread Zibi Braniecki
Reported: https://github.com/whatwg/dom/issues/77 zb. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Changes in chrome JS code due to ES6 global lexical scope

2015-09-18 Thread Tom Schuster
I think that would fail as well, because the let would be shadowing the global x, which isn't allowed. On Sep 18, 2015 2:25 PM, "Neil" wrote: > Shu-yu Guo wrote: > > Good catch and thanks for the correction! The take-home from the example is >> that: due to the global lexical scope, a TDZ error c

Re: Changes in chrome JS code due to ES6 global lexical scope

2015-09-18 Thread Gervase Markham
On 17/09/15 19:59, Shu-yu Guo wrote: > ​Because ​until now, our global 'let' semantics have been identical to > those of 'var', I have already landed a patch that mass replaces global > 'let' with 'var' as part of bug 1202902. I think someone should make you a "var is the new let" t-shirt... Gerv

Re: Intent to ship: Canvas CaptureStream

2015-09-18 Thread Randell Jesup
>On Fri, Sep 18, 2015 at 9:02 PM, Ms2ger wrote: > >> That bug does not seem to support the claim that they intend to ship >> this feature. No intent-to-ship is mentioned, and it appears the >> intent-to-implement has not been sent. >> > >Here's evidence they intend to implement: >https://docs.goog

Re: Changes in chrome JS code due to ES6 global lexical scope

2015-09-18 Thread Neil
Shu-yu Guo wrote: Good catch and thanks for the correction! The take-home from the example is that: due to the global lexical scope, a TDZ error could arise later due to newly introduced bindings. So for that I guess the code would have to look like this? var x; function f() { dump(x); } f()

Re: API request: MutationObserver with querySelector

2015-09-18 Thread smaug
On 09/18/2015 06:30 AM, Zibi Braniecki wrote: Hi, One of the major use cases for MutationObserver is all kinds of libraries that either shim APIs or provide intrinsic modifications to DOM experience. Examples of such libraries may be: * A library that provides Date/Time pickers only caring ab

Re: Intent to ship: Canvas CaptureStream

2015-09-18 Thread Robert O'Callahan
On Fri, Sep 18, 2015 at 9:02 PM, Ms2ger wrote: > That bug does not seem to support the claim that they intend to ship > this feature. No intent-to-ship is mentioned, and it appears the > intent-to-implement has not been sent. > Here's evidence they intend to implement: https://docs.google.com/do

Re: Intent to ship: Canvas CaptureStream

2015-09-18 Thread Ms2ger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andreas, On 09/18/2015 04:39 AM, Andreas Pehrson wrote: > Other UAs intending to ship it are at least Chromium/Blink, who > have started work in this bug: > https://code.google.com/p/chromium/issues/detail?id=524218. > That bug does not seem to