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 id="body"> | 4 <body id="body"> |
5 <script> | 5 <script> |
6 document.body = document.getElementById("body"); | 6 document.body = document.getElementById("body"); |
7 | 7 |
8 describe('MutationObserver on character data', function() { | 8 describe('MutationObserver on character data', function() { |
9 it('should handle basic aspects of characterData observation', function(done
) { | 9 it('should handle basic aspects of characterData observation', function(done
) { |
10 var observer; | 10 var observer; |
11 var mutations; | 11 var mutations; |
12 var charDataNode; | 12 var charDataNode; |
13 | 13 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 assert.equal(mutations[0].oldValue, "foo"); | 220 assert.equal(mutations[0].oldValue, "foo"); |
221 observer.disconnect(); | 221 observer.disconnect(); |
222 done(); | 222 done(); |
223 } | 223 } |
224 | 224 |
225 start(); | 225 start(); |
226 }); | 226 }); |
227 }); | 227 }); |
228 </script> | 228 </script> |
229 </html> | 229 </html> |
OLD | NEW |