diff --git a/dom/l10n/tests/mochitest/dom_localization/test_connectRoot_webcomponent.html b/dom/l10n/tests/mochitest/dom_localization/test_connectRoot_webcomponent.html index 4da34e154ca8..efc1d7dead2e 100644 --- a/dom/l10n/tests/mochitest/dom_localization/test_connectRoot_webcomponent.html +++ b/dom/l10n/tests/mochitest/dom_localization/test_connectRoot_webcomponent.html @@ -11,8 +11,8 @@ class FluentWidget extends HTMLElement { constructor() { super(); - const shadowRoot = this.attachShadow({mode: 'open'}); - const t = document.querySelector('#fluent-widget-template'); + const shadowRoot = this.attachShadow({mode: "open"}); + const t = document.querySelector("#fluent-widget-template"); const instance = t.content.cloneNode(true); shadowRoot.appendChild(instance); } @@ -40,7 +40,7 @@ document.domLoc.setAttributes(label, "key1"); } } - customElements.define('fluent-widget', FluentWidget); + customElements.define("fluent-widget", FluentWidget);