Added some same-origin-domain checks.

This commit is contained in:
Alan Jeffrey 2017-02-09 14:28:37 -06:00
parent 628cd7de6d
commit 1f61a549a3
45 changed files with 223 additions and 348 deletions

View file

@ -1,5 +0,0 @@
[templates-copy-document-owner.html]
type: testharness
[ownerDocument of cloned template content is set to template content owner. Test loading HTML document from file]
expected: FAIL

View file

@ -1,8 +0,0 @@
[template-contents-owner-document-type.html]
type: testharness
[The template contents owner document type is HTML document (case when document has browsing context and the template is created by HTML parser)]
expected: FAIL
[The template contents owner document type is HTML document (case when document has browsing context and the template is created by createElement())]
expected: FAIL

View file

@ -1,12 +0,0 @@
[template-contents-owner-test-002.html]
type: testharness
disabled: https://github.com/servo/servo/issues/9723
[The template contents owner document must be different from template owner document, which has browsing context. Template element is created by createElement()]
expected: FAIL
[The template contents owner document must be different from template owner document, which has browsing context. Template element is created via innerHTML]
expected: FAIL
[The template contents owner document must be different from template owner document, which has browsing context. Template element is created by HTML parser]
expected: FAIL

View file

@ -1,14 +0,0 @@
[template-contents.html]
type: testharness
[The template contents must be a DocumentFragment (the empty template tag inside HTML file loaded in iframe)]
expected: FAIL
[The template contents must be a DocumentFragment (non empty template tag inside HTML file loaded in iframe)]
expected: FAIL
[The template contents must be a DocumentFragment (the template tag with some text inside HTML file loaded in iframe)]
expected: FAIL
[The template contents must be a DocumentFragment (the template tag with nested template tag inside HTML file loaded in iframe)]
expected: FAIL

View file

@ -1,5 +0,0 @@
[innerhtml.html]
type: testharness
[innerHTML of template element replaces all referenced by the content attribute. Test loading of HTML document from a file]
expected: FAIL

View file

@ -1,8 +0,0 @@
[content-attribute.html]
type: testharness
[Content attribute of template element is read-only. Text value of content attribute of template tag should be ignored, when loading document from a file]
expected: FAIL
[Content attribute of template element is read-only. Test content attribute of a document loaded from a file]
expected: FAIL

View file

@ -1,11 +0,0 @@
[node-document-changes.html]
type: testharness
[Changing of template element's node document. Test document loaded from a file]
expected: FAIL
[Changing of template element's node document. Test the case when both old and new owner documents of template element have browsing context]
expected: FAIL
[Changing of template element's node document. Adobt template element into a document that has a browsing context]
expected: FAIL

View file

@ -1,5 +0,0 @@
[template-content-node-document.html]
type: testharness
[Node document of the template content attribute must be template contents owner. Load HTML file with multiple template elements]
expected: FAIL

View file

@ -1,5 +0,0 @@
[template-descendant-body.html]
type: testharness
[Template element as a descendant of the body element. Test loading from a file]
expected: FAIL

View file

@ -1,11 +0,0 @@
[template-descendant-frameset.html]
type: testharness
[Template element as a descendant of the frameset element. Test loading from a file]
expected: FAIL
[Template element as a descendant of the frameset element. Test template element is assigned to frameset's innerHTML)]
expected: FAIL
[Template element as a descendant of the frameset element. Test template element appended to frameset by appendChild()]
expected: FAIL

View file

@ -1,5 +0,0 @@
[template-descendant-head.html]
type: testharness
[Template element as a descendant of the head element. Test loading from a file]
expected: FAIL