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

Unified Diff: sky/tests/mutation-observer/clear-transient-without-delivery.sky

Issue 920343002: Delete Sky tests that we're not going to run with Dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/clear-transient-without-delivery.sky
diff --git a/sky/tests/mutation-observer/clear-transient-without-delivery.sky b/sky/tests/mutation-observer/clear-transient-without-delivery.sky
deleted file mode 100644
index 60938dcb85a160e1dc1b840f355905a291b8b73b..0000000000000000000000000000000000000000
--- a/sky/tests/mutation-observer/clear-transient-without-delivery.sky
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<import src="../resources/chai.sky" />
-<import src="../resources/mocha.sky" />
-<script>
-describe('Transient registrations', function() {
- it('should be cleared even without delivery', function(done) {
- var mutationsDelivered = false;
- var observer = new MutationObserver(function(mutations) {
- mutationsDelivered = true;
- });
- var div = document.createElement('div');
- var span = div.appendChild(document.createElement('span'));
- observer.observe(div, {attributes: true, subtree: true});
- div.removeChild(span);
- setTimeout(function() {
- // By the time this function runs the transient registration should
- // be cleared, so we expect not to be notified of this attribute
- // mutation.
- span.setAttribute('bar', 'baz');
- setTimeout(function() {
- assert.notOk(mutationsDelivered);
- done();
- }, 0);
- }, 0);
- });
-});
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698