Boris Zbarsky於 2014年9月8日星期一UTC+8下午11時51分04秒寫道:
> >> dictionary AvailableChangeEventInit : EventInit {
> 
> >>    boolean available;
> 
> 
> 
> This needs a default value.

I'm not quite sure about this,
Since it's an optional argument for AvailableChangeEvent.
I assume it would be used in the scenario when controlling page is created 
after the presenting page has already notified its availability.
So the UA of controlling page should be able to discover 2nd screen by itself, 
and synthesize a signal to notify the availability.

> 
> 
> 
> >> interface SocketChannelWithATwist { // temporary name
> 
> 
> 
> Should this inherit from EventTarget?  Seems like it, given the 
> 
> EventHandler attributes it has.  Or does it not trigger those via 
> 
> dispatching events to itself?
> 

Yes, I missed it ! 
This interface should inherits from EventTarget.
Will be added :)

> 
> 
> Will this be implemented behind a preference or some other means of 
> 
> disabling it by default?
> 

Yes, sure.
There will be a preference like [Pref="dom.presentation.enabled"] to control 
the ability. And it will be disabled by default 

> 
> 
> -Boris

It's really nice to get feedback from you, Boris.
Thanks :)
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to