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

Unified Diff: sky/tests/mutation-observer/observe-attributes.sky

Issue 697773002: Remove Element#attributes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix template binding. Created 6 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: sky/tests/mutation-observer/observe-attributes.sky
diff --git a/sky/tests/mutation-observer/observe-attributes.sky b/sky/tests/mutation-observer/observe-attributes.sky
index e85651110e098b3cb875d8da30b91dd34751e250..9710bf0e513c7fcf15fd58c9206e36cf7d299481 100644
--- a/sky/tests/mutation-observer/observe-attributes.sky
+++ b/sky/tests/mutation-observer/observe-attributes.sky
@@ -563,38 +563,6 @@ describe('MutationObserver.observe on attributes', function() {
start();
});
-
- it('should create records when mutating through the attribute collection', function(done) {
- var observer;
- var mutations;
- var div;
-
- function start() {
- observer = new MutationObserver(function(records) {
- mutations = records;
- });
-
- div = document.createElement('div');
- div.setAttribute('data-test', 'foo');
- observer.observe(div, { attributes: true, attributeOldValue: true });
- div.attributes['data-test'].value = 'bar';
-
- setTimeout(finish, 0);
- }
-
- function finish() {
- assert.equal(mutations.length, 1);
- assert.equal(mutations[0].target, div);
- assert.equal(mutations[0].type, "attributes");
- assert.equal(mutations[0].attributeName, "data-test");
- assert.equal(mutations[0].oldValue, "foo");
-
- observer.disconnect();
- done();
- }
-
- start();
- });
});
</script>
</body>
« no previous file with comments | « sky/tests/lowlevel/attribute-collection-expected.txt ('k') | sky/tests/mutation-observer/observe-attributes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698