OLD | NEW |
1 This test was written to address rdar://problem/4976879. And tests how namespac
eURI's are assigned. | 1 This test was written to address rdar://problem/4976879. And tests how namespac
eURI's are assigned. |
2 | 2 |
3 Test1: document.namespaceURI | 3 Test1: document.namespaceURI |
4 PASS: document.namespaceURI should be 'null' and is. | 4 PASS: document.namespaceURI should be 'undefined' and is. |
5 | 5 |
6 Test2: document.createElement().namespaceURI | 6 Test2: document.createElement().namespaceURI |
7 PASS: document.createElement("div").namespaceURI should be 'http://www.w3.org/19
99/xhtml' and is. | 7 PASS: document.createElement("div").namespaceURI should be 'http://www.w3.org/19
99/xhtml' and is. |
8 | 8 |
9 Test3: script tag.namespaceURI | 9 Test3: script tag.namespaceURI |
10 PASS: myScriptTag.namespaceURI should be 'http://www.w3.org/1999/xhtml' and is. | 10 PASS: myScriptTag.namespaceURI should be 'http://www.w3.org/1999/xhtml' and is. |
11 | 11 |
12 Test4: created document.namespaceURI | 12 Test4: created document.namespaceURI |
13 PASS: newDoc.namespaceURI should be 'null' and is. | 13 PASS: newDoc.namespaceURI should be 'undefined' and is. |
14 | 14 |
15 Test5: created document.createElement.namespaceURI | 15 Test5: created document.createElement.namespaceURI |
16 PASS: newDoc.createElement("div").namespaceURI should be 'http://www.w3.org/1999
/xhtml' and is. | 16 PASS: newDoc.createElement("div").namespaceURI should be 'http://www.w3.org/1999
/xhtml' and is. |
17 | 17 |
OLD | NEW |