Index: LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-distributed-child-is-not-inert.html |
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-distributed-child-is-not-inert.html b/LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-distributed-child-is-not-inert.html |
index e64e1990e22041fa3a391079b3c75eb1a5fd5b27..eba625b8abf55eb7527159d161a2e73ec3c46ec4 100644 |
--- a/LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-distributed-child-is-not-inert.html |
+++ b/LayoutTests/fast/dom/HTMLDialogElement/modal-dialog-distributed-child-is-not-inert.html |
@@ -25,7 +25,7 @@ jsTestIsAsync = true; |
description('Tests that nodes transposed into the dialog are not inert. The test passes if you can click the button.'); |
dialog = document.querySelector('dialog'); |
-root = document.querySelector('#host').webkitCreateShadowRoot(); |
+root = document.querySelector('#host').createShadowRoot(); |
root.appendChild(dialog); |
dialog.showModal(); |