Enable feature detection of declarative Shadow DOM
To enable feature detection, this CL enables this: HTMLTemplateElement.prototype.hasOwnProperty("shadowRoot") This is as documented in the explainer, at [1]. [1] https://github.com/mfreed7/declarative-shadow-dom/blob/master/README.md#feature-detection-and-polyfilling Bug: 1042130 Change-Id: I529af9ce952b4d2e162e099c7ca703af8f3c4791 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2166466 Commit-Queue: Mason Freed <masonfreed@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#763495}
Showing
Please register or sign in to comment