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

Side by Side Diff: sky/tests/mutation-observer/callback-arguments.html

Issue 685623002: Move the tests from .html to .sky (Closed) Base URL: https://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
(Empty)
1 <html>
2 <link rel="import" href="../resources/chai.html" />
3 <link rel="import" href="../resources/mocha.html" />
4 <script>
5 describe('MutationObserver', function() {
6 it('should pass the callback and observer arguments', function(done) {
7 var mutationObserver = new MutationObserver(function(mutations, observer ) {
8 assert.equal(this, mutationObserver);
9 assert.equal(mutationObserver, observer);
10 done();
11 });
12 var div = document.createElement('div');
13 mutationObserver.observe(div, {attributes: true});
14 div.setAttribute('foo', 'bar');
15 });
16 });
17 </script>
18 </html>
OLDNEW
« no previous file with comments | « sky/tests/modules/resources/pass.sky ('k') | sky/tests/mutation-observer/callback-arguments.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698