Intent to Ship: Shadow DOM and Custom Elements

I'm planning to keep Shadow DOM and Custom Elements turned on on beta/release builds.
Target release is Firefox 63.
prefs are dom.webcomponents.customelements.enabled and dom.webcomponents.shadowdom.enabled.

Custom elements has been enabled in Nightly since January and Shadow DOM since late May.

Bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=1471947 (Shadow DOM)
https://bugzilla.mozilla.org/show_bug.cgi?id=1471948 (Custom Elements)

Even though the APIs are totally distinct, web pages expect either neither be there or both, so they
need to ship together.



-Olli
0
smaug
8/10/2018 2:49:23 PM
mozilla.dev.platform 6454 articles. 0 followers. Post Follow

10 Replies
17 Views

Similar Articles

[PageSpeed] 15

On Friday, August 10, 2018 at 5:49:31 PM UTC+3, smaug wrote:
> I'm planning to keep Shadow DOM and Custom Elements turned on on beta/release builds.
> Target release is Firefox 63.
> prefs are dom.webcomponents.customelements.enabled and dom.webcomponents.shadowdom.enabled.
> 
> Custom elements has been enabled in Nightly since January and Shadow DOM since late May.
> 
> Bugs:
> https://bugzilla.mozilla.org/show_bug.cgi?id=1471947 (Shadow DOM)
> https://bugzilla.mozilla.org/show_bug.cgi?id=1471948 (Custom Elements)
> 
> Even though the APIs are totally distinct, web pages expect either neither be there or both, so they
> need to ship together.
> 
> 
> 
> -Olli

0
mustafasamedkasal
8/10/2018 8:54:41 PM
Do we have sufficient tests for this to guarantee webcompat and interop
with other browsers?

David

On 10 August 2018 at 15:49, smaug <smaug@welho.com> wrote:

> I'm planning to keep Shadow DOM and Custom Elements turned on on
> beta/release builds.
> Target release is Firefox 63.
> prefs are dom.webcomponents.customelements.enabled and
> dom.webcomponents.shadowdom.enabled.
>
> Custom elements has been enabled in Nightly since January and Shadow DOM
> since late May.
>
> Bugs:
> https://bugzilla.mozilla.org/show_bug.cgi?id=1471947 (Shadow DOM)
> https://bugzilla.mozilla.org/show_bug.cgi?id=1471948 (Custom Elements)
>
> Even though the APIs are totally distinct, web pages expect either neither
> be there or both, so they
> need to ship together.
>
>
>
> -Olli
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
0
David
8/13/2018 9:25:40 AM
I, for one, would like to say: "Huzzah!"

On Fri, Aug 10, 2018 at 4:54 PM, <mustafasamedkasal@gmail.com> wrote:

> On Friday, August 10, 2018 at 5:49:31 PM UTC+3, smaug wrote:
> > I'm planning to keep Shadow DOM and Custom Elements turned on on
> beta/release builds.
> > Target release is Firefox 63.
> > prefs are dom.webcomponents.customelements.enabled and
> dom.webcomponents.shadowdom.enabled.
> >
> > Custom elements has been enabled in Nightly since January and Shadow DOM
> since late May.
> >
> > Bugs:
> > https://bugzilla.mozilla.org/show_bug.cgi?id=1471947 (Shadow DOM)
> > https://bugzilla.mozilla.org/show_bug.cgi?id=1471948 (Custom Elements)
> >
> > Even though the APIs are totally distinct, web pages expect either
> neither be there or both, so they
> > need to ship together.
> >
> >
> >
> > -Olli
>
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>



-- 

Eric Shepherd
Senior Technical Writer
Mozilla
Blog: http://www.bitstampede.com/
Twitter: http://twitter.com/sheppy
Check my Availability <https://freebusy.io/eshepherd@mozilla.com>
0
Eric
8/13/2018 1:12:32 PM
On 08/13/2018 12:25 PM, David Burns wrote:
> Do we have sufficient tests
There are some tests, but as always, not enough. And there are areas which are not spec'ed, like
dir-attribute handling on HTML elements with Shadow DOM and session history of iframes which are in shadow DOM.

> for this to guarantee webcompat and interop
> with other browsers?CustomElements is easier, since it doesn't really change much, just adds a way to add couple of callbacks to user defined elements.
And the behavior of those callbacks is somewhat easy to test.

Shadow DOM is trickier, since the specs aren't always quite up-to-date, or leave things undefined.

Also, in general web components are relatively rarely used feature. Google has been a big user, but it relies on
v0 implementations, meaning basically Blink, and uses polyfills with other browsers.

So, there is definitely some risk breaking web sites, but there isn't too much we can do other than trying to ship.



> 
> David
> 
> On 10 August 2018 at 15:49, smaug <smaug@welho.com> wrote:
> 
>> I'm planning to keep Shadow DOM and Custom Elements turned on on
>> beta/release builds.
>> Target release is Firefox 63.
>> prefs are dom.webcomponents.customelements.enabled and
>> dom.webcomponents.shadowdom.enabled.
>>
>> Custom elements has been enabled in Nightly since January and Shadow DOM
>> since late May.
>>
>> Bugs:
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1471947 (Shadow DOM)
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1471948 (Custom Elements)
>>
>> Even though the APIs are totally distinct, web pages expect either neither
>> be there or both, so they
>> need to ship together.
>>
>>
>>
>> -Olli
>> _______________________________________________
>> dev-platform mailing list
>> dev-platform@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-platform
>>

0
smaug
8/14/2018 9:42:46 AM
When it ships in version 63 will shadowdom and webcomponent be shipped disabled or enabled by default? The beta is throwing me off. 

Thank you,
-Darin
0
darin
8/14/2018 6:43:07 PM
On 08/14/2018 09:43 PM, darin.hensley@gmail.com wrote:
> When it ships in version 63 will shadowdom and webcomponent be shipped disabled or enabled by default? The beta is throwing me off.
> 
> Thank you,
> -Darin
> 


Current beta is FF62. The aim is to ship in FF63, which goes to beta early September.
0
smaug
8/15/2018 10:54:24 AM
On 08/15/2018 01:54 PM, smaug wrote:
> On 08/14/2018 09:43 PM, darin.hensley@gmail.com wrote:
>> When it ships in version 63 will shadowdom and webcomponent be shipped disabled or enabled by default? The beta is throwing me off.
>>
>> Thank you,
>> -Darin
>>
> 
> 
> Current beta is FF62. The aim is to ship in FF63, which goes to beta early September.


And "ship" means, enabled by default. Most of the code has been there for several months even in release builds, but just disabled.

0
smaug
8/15/2018 10:56:01 AM
On Wednesday, August 15, 2018 at 5:56:06 AM UTC-5, smaug wrote:
> On 08/15/2018 01:54 PM, smaug wrote:
> > On 08/14/2018 09:43 PM, darin wrote:
> >> When it ships in version 63 will shadowdom and webcomponent be shipped disabled or enabled by default? The beta is throwing me off.
> >>
> >> Thank you,
> >> -Darin
> >>
> > 
> > 
> > Current beta is FF62. The aim is to ship in FF63, which goes to beta early September.
> 
> 
> And "ship" means, enabled by default. Most of the code has been there for several months even in release builds, but just disabled.


Why does https://caniuse.com/#feat=shadowdomv1 show Firefox 63 show not supported by default? 
0
darin
8/15/2018 3:06:59 PM
On 08/15/2018 06:06 PM, darin.hensley@gmail.com wrote:
> On Wednesday, August 15, 2018 at 5:56:06 AM UTC-5, smaug wrote:
>> On 08/15/2018 01:54 PM, smaug wrote:
>>> On 08/14/2018 09:43 PM, darin wrote:
>>>> When it ships in version 63 will shadowdom and webcomponent be shipped disabled or enabled by default? The beta is throwing me off.
>>>>
>>>> Thank you,
>>>> -Darin
>>>>
>>>
>>>
>>> Current beta is FF62. The aim is to ship in FF63, which goes to beta early September.
>>
>>
>> And "ship" means, enabled by default. Most of the code has been there for several months even in release builds, but just disabled.
> 
> 
> Why does https://caniuse.com/#feat=shadowdomv1 show Firefox 63 show not supported by default?
> 



No idea. I don't know who maintains caniuse and when the they update it. Please report to them that they may want to update the page.
0
smaug
8/15/2018 4:04:15 PM
On 2018-08-15 9:04 AM, smaug wrote:
>>
>> Why does https://caniuse.com/#feat=shadowdomv1 show Firefox 63 show 
>> not supported by default?
>>
> 
> 
> 
> No idea. I don't know who maintains caniuse and when the they update it. 
> Please report to them that they may want to update the page.


The caniuse data is manually maintained on GitHub:

https://github.com/Fyrd/caniuse

0
Chris
8/15/2018 8:54:51 PM
Reply: