| OLD | NEW |
| 1 <test> | 1 <test> |
| 2 <link rel="import" href="../resources/chai.sky" /> | 2 <import src="../resources/chai.sky" /> |
| 3 <link rel="import" href="../resources/mocha.sky" /> | 3 <import src="../resources/mocha.sky" /> |
| 4 <script> | 4 <script> |
| 5 describe('createElementNS tests from mozilla, attached to webkit bug 16833', fun
ction() { | 5 describe('createElementNS tests from mozilla, attached to webkit bug 16833', fun
ction() { |
| 6 it('should behave like mozilla', function() { | 6 it('should behave like mozilla', function() { |
| 7 function stringForExceptionCode(c) | 7 function stringForExceptionCode(c) |
| 8 { | 8 { |
| 9 var exceptionName; | 9 var exceptionName; |
| 10 switch(c) { | 10 switch(c) { |
| 11 case DOMException.INVALID_CHARACTER_ERR: | 11 case DOMException.INVALID_CHARACTER_ERR: |
| 12 exceptionName = "INVALID_CHARACTER_ERR"; | 12 exceptionName = "INVALID_CHARACTER_ERR"; |
| 13 break; | 13 break; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 } | 103 } |
| 104 } | 104 } |
| 105 } | 105 } |
| 106 | 106 |
| 107 var doc = document.implementation.createDocument(); | 107 var doc = document.implementation.createDocument(); |
| 108 runNSTests(allNoNSTests, doc, "createElement"); | 108 runNSTests(allNoNSTests, doc, "createElement"); |
| 109 }); | 109 }); |
| 110 }); | 110 }); |
| 111 </script> | 111 </script> |
| 112 </test> | 112 </test> |
| OLD | NEW |