Intent to ship: selectionchange for input/textarea

2020-08-14 Thread Kagami Rosylight
Summary: selectionchange for text controls has been behind the flag 
`dom.select_events.textcontrols.enabled`, while the behaviour was different 
from Chrome’s as the events fired at each element instead of `document`. I 
intend to modify the behaviour to make the events fire at `document` and thus 
follow Chrome’s behaviour.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1648944 and 
https://bugzilla.mozilla.org/show_bug.cgi?id=1309626 

Standard: https://github.com/w3c/selection-api/issues/53 

Platform coverage: All

Preference: Enabled by default, but still controlled by 
`dom.select_events.textcontrols.selectionchange.enabled`. Note that the flag is 
changed to enable `selectstart` separately in the future.

Other browsers: 
•   Chrome: Shipped
•   Safari: Shipped

web-platform-tests: There is no wpt coverage yet.
•   Blocked by test_driver not allowing intermediate mouse state 
https://github.com/web-platform-tests/wpt/issues/24944 

Secure contexts: No, as other browsers already shipped this without restriction

Is this feature enabled by default in sandboxed iframes?: Yes
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Intent to ship: selectionchange for input/textarea

2020-08-20 Thread Kagami Rosylight
Summary: selectionchange for text controls has been behind the flag `dom.select_events.textcontrols.enabled`, while the behaviour was different from Chrome’s as the events fired at each element instead of `document`. I intend to modify the behaviour to make the events fire at `document` and thus follow Chrome’s behaviour.Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1648944 and https://bugzilla.mozilla.org/show_bug.cgi?id=1309626 Standard: https://github.com/w3c/selection-api/issues/53 Platform coverage: AllPreference: Enabled by default, but still controlled by `dom.select_events.textcontrols.selectionchange.enabled`. Note that the flag is changed to enable `selectstart` separately in the future.Other browsers: Chrome: ShippedSafari: Shippedweb-platform-tests: There is no wpt coverage yet.Blocked by test_driver not allowing intermediate mouse state https://github.com/web-platform-tests/wpt/issues/24944 Secure contexts: No, as other browsers already shipped this without restrictionIs this feature enabled by default in sandboxed iframes?: Yes 
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Intent to unship: HTML element and the context menu feature

2020-12-08 Thread Kagami Rosylight
It was removed from the HTML spec in 2017 because of the lack of implementer 
interest (https://github.com/whatwg/html/pull/2742). There is no other browser 
that implements this feature.

Items to be removed:

* ``
* The `type` attribute of ``
* The `onshow` event handler
* The `contextMenu` attribute of HTMLElement

It will first be hidden behind the flag `dom.menuitem.enabled` and later will 
be completely removed.

Bug to remove: https://bugzilla.mozilla.org/show_bug.cgi?id=1680596 and 
https://bugzilla.mozilla.org/show_bug.cgi?id=1372276.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Intent to unship: cross-context @@hasInstance in IDL interfaces

2021-03-04 Thread Kagami Rosylight
https://github.com/heycam/webidl/pull/356 removed custom hasInstance behavior 
in 2017, and the feature has only been shipped by Firefox.

Dropping the support means that JavaScript `instanceof` operator will return 
false when the contexts of the object and the constructor don't match, e.g. the 
object is from an iframe and the constructor is from the top window.

The change will initially be only on Nightly to make sure there won't be any 
significant breakages, and then will propagate to stable versions.

Tracking bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1360715
WPT: https://wpt.live/WebIDL/ecmascript-binding/has-instance.html
Relevant flag: dom.webidl.crosscontext_hasinstance.enabled
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Intent to ship: AbortSignal.abort()

2021-03-15 Thread Kagami Rosylight
I intend to implement and ship AbortSignal.abort() on all platforms. This is a 
shortcut function to create an aborted AbortSignal, similar to Promise.reject().

Standard: https://github.com/whatwg/dom/pull/960
WPT: https://github.com/web-platform-tests/wpt/pull/28003
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1698468
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform