| 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 'undefined' and is. | 4 PASS: document.namespaceURI should be 'undefined' and is. |
| 5 | 5 |
| 6 Test2: document.createElement().namespaceURI | 6 Test2: document.createElement().namespaceURI |
| 7 *** FAIL: document.createElement("div").namespaceURI should be 'null' but instea
d is http://www.w3.org/1999/xhtml. *** | 7 PASS: document.createElement("div").namespaceURI should be 'null' 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 |
| OLD | NEW |