Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: sky/tests/lowlevel/dom-implementation-create-document.sky

Issue 694423002: Replace <link rel="import"> with <import> (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <script> 4 <script>
5 describe('DOMImplementation', function() { 5 describe('DOMImplementation', function() {
6 it('should let you create a document', function() { 6 it('should let you create a document', function() {
7 var doc = document.implementation.createDocument(); 7 var doc = document.implementation.createDocument();
8 assert.isNotNull(doc, 'createDocument should return a value'); 8 assert.isNotNull(doc, 'createDocument should return a value');
9 assert.doesNotThrow(function() { 9 assert.doesNotThrow(function() {
10 doc.registerElement('x-foo'); 10 doc.registerElement('x-foo');
11 }, 'new document should have a registration context'); 11 }, 'new document should have a registration context');
12 }); 12 });
13 }); 13 });
14 </script> 14 </script>
15 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698