| OLD | NEW |
| 1 <html> | 1 <html> |
| 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 <body> | 4 <body> |
| 5 <div id="container"></div> | 5 <div id="container"></div> |
| 6 <script> | 6 <script> |
| 7 describe('document.registerElement()', function() { | 7 describe('document.registerElement()', function() { |
| 8 it('should have basic behaviors', function() { | 8 it('should have basic behaviors', function() { |
| 9 function createRegisterParameters() | 9 function createRegisterParameters() |
| 10 { | 10 { |
| 11 return { | 11 return { |
| 12 prototype: Object.create(HTMLElement.prototype, { thisIsPrototype: {
value: true } }) | 12 prototype: Object.create(HTMLElement.prototype, { thisIsPrototype: {
value: true } }) |
| 13 }; | 13 }; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 // Constructors shouldn't interfere with each other | 93 // Constructors shouldn't interfere with each other |
| 94 assert.equal((new fooConstructor).tagName, "x-foo"); | 94 assert.equal((new fooConstructor).tagName, "x-foo"); |
| 95 assert.equal((new barConstructor).tagName, "x-bar"); | 95 assert.equal((new barConstructor).tagName, "x-bar"); |
| 96 assert.equal((new bazConstructor).tagName, "x-baz"); | 96 assert.equal((new bazConstructor).tagName, "x-baz"); |
| 97 }); | 97 }); |
| 98 }); | 98 }); |
| 99 </script> | 99 </script> |
| 100 </body> | 100 </body> |
| 101 </html> | 101 </html> |
| OLD | NEW |