New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 658285 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 671907
Owner:
Last visit > 30 days ago
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 671907



Sign in to add a comment

Console deprecation warning for createShadowRoot() -> attachShadow() usage.

Project Member Reported by ericbidelman@chromium.org, Oct 21 2016

Issue description

Version: 54
OS: all

Now that SD v1 is in stable, we should be logging a deprecation warning in the console for createShadowRoot() usage and point people to the V1 API.
 

Comment 1 by hayato@chromium.org, Oct 24 2016

Components: -Blink>WebComponents Blink>DOM>ShadowDOM
Owner: hayato@chromium.org
Status: Assigned (was: Untriaged)
Is polymer okay to deprecate (warning messages in console) Shadow DOM v0?

If deprecating v0 is fine to polymer, that would be a good news to me. :)
I am happy to start to deprecate Shadow DOM v0.

Cc: tjsavage@google.com
Perhaps once Polymer 2.0 with V1 support is out we can add the deprecation warning.

cc Taylor
That said, regardless of Polymer, I think we should encourage folks to start using the new API now that it's in Chrome. This will also be a forcing function for Polymer adoption and will help drive awareness that there's a new API :)

We did this for /deep/ and ::shadow before Polymer removed usage of it.

Comment 4 by hayato@chromium.org, Oct 27 2016

Thanks. I thought that I would start to deprecate Shadow DOM v0 sometime in the next year, however, I am feeling that it might be okay to do some actions to deprecate Shadow DOM v0 in this quarter. Sooner might be better, as you said.

Let me add this item to my TODO items of this quarter.

Blocking: 671907

Comment 6 by kochi@chromium.org, Apr 6 2018

Cc: hayato@chromium.org
Labels: -Pri-3 Pri-1
Owner: kochi@chromium.org
Status: Started (was: Assigned)

Comment 7 by kochi@chromium.org, Jun 4 2018

Mergedinto: 671907
Status: Duplicate (was: Started)
Merging to shadow dom v0 deprecation effort.

Sign in to add a comment