From f576d8f0fe2a2203e6ad5fdd1a319b8991322756 Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Mon, 20 Jan 2020 19:49:20 -0500 Subject: Bug 1396620 - Part 1: Remove created callback for custom elements Tag UXP Issue #1344 --- dom/tests/mochitest/webcomponents/mochitest.ini | 3 -- .../test_custom_element_adopt_callbacks.html | 29 ---------------- ...st_custom_element_clone_callbacks_extended.html | 40 ---------------------- ...ustom_element_import_node_created_callback.html | 34 ------------------ ..._custom_element_register_invalid_callbacks.html | 1 - .../test_document_shared_registry.html | 33 ------------------ 6 files changed, 140 deletions(-) delete mode 100644 dom/tests/mochitest/webcomponents/test_custom_element_adopt_callbacks.html delete mode 100644 dom/tests/mochitest/webcomponents/test_custom_element_clone_callbacks_extended.html delete mode 100644 dom/tests/mochitest/webcomponents/test_custom_element_import_node_created_callback.html (limited to 'dom/tests/mochitest') diff --git a/dom/tests/mochitest/webcomponents/mochitest.ini b/dom/tests/mochitest/webcomponents/mochitest.ini index b32e9999e..3559f33c1 100644 --- a/dom/tests/mochitest/webcomponents/mochitest.ini +++ b/dom/tests/mochitest/webcomponents/mochitest.ini @@ -8,16 +8,13 @@ support-files = [test_bug1176757.html] [test_bug1276240.html] [test_content_element.html] -[test_custom_element_adopt_callbacks.html] [test_custom_element_callback_innerhtml.html] skip-if = true # disabled - See bug 1390396 -[test_custom_element_clone_callbacks_extended.html] [test_custom_element_htmlconstructor.html] skip-if = os == 'android' # bug 1323645 support-files = htmlconstructor_autonomous_tests.js htmlconstructor_builtin_tests.js -[test_custom_element_import_node_created_callback.html] [test_custom_element_in_shadow.html] skip-if = true || stylo # disabled - See bug 1390396 and 1293844 [test_custom_element_register_invalid_callbacks.html] diff --git a/dom/tests/mochitest/webcomponents/test_custom_element_adopt_callbacks.html b/dom/tests/mochitest/webcomponents/test_custom_element_adopt_callbacks.html deleted file mode 100644 index 28597b7c6..000000000 --- a/dom/tests/mochitest/webcomponents/test_custom_element_adopt_callbacks.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - Test callbacks for adopted custom elements. - - - - - -Bug 1081039 - - - diff --git a/dom/tests/mochitest/webcomponents/test_custom_element_clone_callbacks_extended.html b/dom/tests/mochitest/webcomponents/test_custom_element_clone_callbacks_extended.html deleted file mode 100644 index b3531b0ea..000000000 --- a/dom/tests/mochitest/webcomponents/test_custom_element_clone_callbacks_extended.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Test callbacks for cloned extended custom elements. - - - - -Bug 1081039 - - - diff --git a/dom/tests/mochitest/webcomponents/test_custom_element_import_node_created_callback.html b/dom/tests/mochitest/webcomponents/test_custom_element_import_node_created_callback.html deleted file mode 100644 index f533b507c..000000000 --- a/dom/tests/mochitest/webcomponents/test_custom_element_import_node_created_callback.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - Test created callback order for imported custom element. - - - - - -Bug 1093680 - - - diff --git a/dom/tests/mochitest/webcomponents/test_custom_element_register_invalid_callbacks.html b/dom/tests/mochitest/webcomponents/test_custom_element_register_invalid_callbacks.html index d1b1b1e04..572579ba8 100644 --- a/dom/tests/mochitest/webcomponents/test_custom_element_register_invalid_callbacks.html +++ b/dom/tests/mochitest/webcomponents/test_custom_element_register_invalid_callbacks.html @@ -19,7 +19,6 @@ const testWindow = iframe.contentDocument.defaultView; // This is for backward compatibility. // We should do the same checks for the callbacks from v0 spec. [ - 'createdCallback', 'attributeChangedCallback', ].forEach(callback => { var c = class {}; diff --git a/dom/tests/mochitest/webcomponents/test_document_shared_registry.html b/dom/tests/mochitest/webcomponents/test_document_shared_registry.html index 76c2ea8ec..db72e1e6c 100644 --- a/dom/tests/mochitest/webcomponents/test_document_shared_registry.html +++ b/dom/tests/mochitest/webcomponents/test_document_shared_registry.html @@ -14,37 +14,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=783129