diff --git a/dom/imptests/failures/html/html/browsers/the-window-object/named-access-on-the-window-object/Makefile.in b/dom/imptests/failures/html/html/browsers/the-window-object/named-access-on-the-window-object/Makefile.in new file mode 100644 index 00000000000..6c93e82a57e --- /dev/null +++ b/dom/imptests/failures/html/html/browsers/the-window-object/named-access-on-the-window-object/Makefile.in @@ -0,0 +1,16 @@ +# THIS FILE IS AUTOGENERATED BY parseFailures.py - DO NOT EDIT + +DEPTH := @DEPTH@ + +topsrcdir := @top_srcdir@ +srcdir := @srcdir@ +VPATH := @srcdir@ +relativesrcdir := @relativesrcdir@ + +include $(DEPTH)/config/autoconf.mk + +MOCHITEST_FILES := \ + test_window-null-names.html.json \ + $(NULL) + +include $(topsrcdir)/config/rules.mk diff --git a/dom/imptests/failures/html/html/browsers/the-window-object/named-access-on-the-window-object/moz.build b/dom/imptests/failures/html/html/browsers/the-window-object/named-access-on-the-window-object/moz.build new file mode 100644 index 00000000000..16e83110bc1 --- /dev/null +++ b/dom/imptests/failures/html/html/browsers/the-window-object/named-access-on-the-window-object/moz.build @@ -0,0 +1,4 @@ +# THIS FILE IS AUTOGENERATED BY parseFailures.py - DO NOT EDIT + +DIRS += [ +] diff --git a/dom/imptests/failures/html/html/browsers/the-window-object/named-access-on-the-window-object/test_window-null-names.html.json b/dom/imptests/failures/html/html/browsers/the-window-object/named-access-on-the-window-object/test_window-null-names.html.json new file mode 100644 index 00000000000..ee580a7e0bf --- /dev/null +++ b/dom/imptests/failures/html/html/browsers/the-window-object/named-access-on-the-window-object/test_window-null-names.html.json @@ -0,0 +1,3 @@ +{ + "Named access with null characters": true +} diff --git a/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/Makefile.in b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/Makefile.in index f68b87894fb..4ae7980240f 100644 --- a/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/Makefile.in +++ b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/Makefile.in @@ -10,11 +10,16 @@ relativesrcdir := @relativesrcdir@ include $(DEPTH)/config/autoconf.mk MOCHITEST_FILES := \ - test_document.body-getter-frameset-and-body.html.json \ + test_document.body-getter.html.json \ test_document.title-03.html.json \ test_document.title-04.xhtml.json \ test_document.title-06.html.json \ test_document.title-07.html.json \ + test_nameditem-02.html.json \ + test_nameditem-03.html.json \ + test_nameditem-04.html.json \ + test_nameditem-05.html.json \ + test_nameditem-06.html.json \ $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_document.body-getter-frameset-and-body.html.json b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_document.body-getter-frameset-and-body.html.json deleted file mode 100644 index 58b4fcd4848..00000000000 --- a/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_document.body-getter-frameset-and-body.html.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "document.body and framesets": true -} diff --git a/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_document.body-getter.html.json b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_document.body-getter.html.json new file mode 100644 index 00000000000..391cfc34469 --- /dev/null +++ b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_document.body-getter.html.json @@ -0,0 +1,8 @@ +{ + "Frameset followed by body inside the html element": true, + "Body followed by frameset inside a non-HTML html element": true, + "Frameset inside an x element followed by a frameset": true, + "Frameset as the root node": true, + "Body as the root node with a frameset child": true, + "Frameset as the root node with a body child": true +} diff --git a/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-02.html.json b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-02.html.json new file mode 100644 index 00000000000..c2d5686fef1 --- /dev/null +++ b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-02.html.json @@ -0,0 +1,8 @@ +{ + "If the only named item is an iframe, the contentWindow should be returned.": true, + "If there are two iframes, a collection should be returned.": true, + "If there are an iframe and another element (iframe first), a collection should be returned.": true, + "If there are an iframe and another element (iframe last), a collection should be returned.": true, + "If an iframe has a name and a different id, it should be returned by its name.": true, + "An iframe whose name looks like an array index should work.": true +} diff --git a/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-03.html.json b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-03.html.json new file mode 100644 index 00000000000..40de1f65d8d --- /dev/null +++ b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-03.html.json @@ -0,0 +1,6 @@ +{ + "If there are two applets, a collection should be returned. (name)": true, + "If there are two applets, a collection should be returned. (id)": true, + "If there are two applets, a collection should be returned. (name and id)": true, + "If there are two applets, a collection should be returned. (id and name)": true +} diff --git a/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-04.html.json b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-04.html.json new file mode 100644 index 00000000000..d17da27e491 --- /dev/null +++ b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-04.html.json @@ -0,0 +1,3 @@ +{ + "If there are two forms, a collection should be returned. (name)": true +} diff --git a/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-05.html.json b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-05.html.json new file mode 100644 index 00000000000..cca5728188d --- /dev/null +++ b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-05.html.json @@ -0,0 +1,6 @@ +{ + "If there are two embeds, a collection should be returned. (name)": true, + "If there is one embed, it should not be returned (id)": true, + "If there are two embeds, nothing should be returned. (id)": true, + "A name shouldn't affect getting an embed by id": true +} diff --git a/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-06.html.json b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-06.html.json new file mode 100644 index 00000000000..cdc069411af --- /dev/null +++ b/dom/imptests/failures/html/html/dom/documents/dom-tree-accessors/test_nameditem-06.html.json @@ -0,0 +1,5 @@ +{ + "If there are two imgs, a collection should be returned. (name)": true, + "If there is one img, it should not be returned (id)": true, + "If there are two imgs, nothing should be returned. (id)": true +} diff --git a/dom/imptests/failures/html/html/semantics/scripting-1/the-script-element/moz.build b/dom/imptests/failures/html/html/semantics/scripting-1/the-script-element/moz.build index d3ca36bedcb..16e83110bc1 100644 --- a/dom/imptests/failures/html/html/semantics/scripting-1/the-script-element/moz.build +++ b/dom/imptests/failures/html/html/semantics/scripting-1/the-script-element/moz.build @@ -1,4 +1,3 @@ -# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- # THIS FILE IS AUTOGENERATED BY parseFailures.py - DO NOT EDIT DIRS += [ diff --git a/dom/imptests/failures/html/old-tests/submission/Opera/microdata/moz.build b/dom/imptests/failures/html/old-tests/submission/Opera/microdata/moz.build index d3ca36bedcb..16e83110bc1 100644 --- a/dom/imptests/failures/html/old-tests/submission/Opera/microdata/moz.build +++ b/dom/imptests/failures/html/old-tests/submission/Opera/microdata/moz.build @@ -1,4 +1,3 @@ -# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- # THIS FILE IS AUTOGENERATED BY parseFailures.py - DO NOT EDIT DIRS += [ diff --git a/dom/imptests/html/html/browsers/the-window-object/moz.build b/dom/imptests/html/html/browsers/the-window-object/moz.build index 1147426c7da..5186ffbaa0b 100644 --- a/dom/imptests/html/html/browsers/the-window-object/moz.build +++ b/dom/imptests/html/html/browsers/the-window-object/moz.build @@ -1,4 +1,5 @@ # THIS FILE IS AUTOGENERATED BY importTestsuite.py - DO NOT EDIT DIRS += [ + 'named-access-on-the-window-object', ] diff --git a/dom/imptests/html/html/browsers/the-window-object/named-access-on-the-window-object/Makefile.in b/dom/imptests/html/html/browsers/the-window-object/named-access-on-the-window-object/Makefile.in new file mode 100644 index 00000000000..19233801ce3 --- /dev/null +++ b/dom/imptests/html/html/browsers/the-window-object/named-access-on-the-window-object/Makefile.in @@ -0,0 +1,16 @@ +# THIS FILE IS AUTOGENERATED BY importTestsuite.py - DO NOT EDIT + +DEPTH := @DEPTH@ + +topsrcdir := @top_srcdir@ +srcdir := @srcdir@ +VPATH := @srcdir@ +relativesrcdir := @relativesrcdir@ + +include $(DEPTH)/config/autoconf.mk + +MOCHITEST_FILES := \ + test_window-null-names.html \ + $(NULL) + +include $(topsrcdir)/config/rules.mk diff --git a/dom/imptests/html/html/browsers/the-window-object/named-access-on-the-window-object/moz.build b/dom/imptests/html/html/browsers/the-window-object/named-access-on-the-window-object/moz.build new file mode 100644 index 00000000000..1147426c7da --- /dev/null +++ b/dom/imptests/html/html/browsers/the-window-object/named-access-on-the-window-object/moz.build @@ -0,0 +1,4 @@ +# THIS FILE IS AUTOGENERATED BY importTestsuite.py - DO NOT EDIT + +DIRS += [ +] diff --git a/dom/imptests/html/html/browsers/the-window-object/named-access-on-the-window-object/test_window-null-names.html b/dom/imptests/html/html/browsers/the-window-object/named-access-on-the-window-object/test_window-null-names.html new file mode 100644 index 00000000000..77ceb219366 --- /dev/null +++ b/dom/imptests/html/html/browsers/the-window-object/named-access-on-the-window-object/test_window-null-names.html @@ -0,0 +1,20 @@ + + +