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

Unified Diff: tests/html/measurement_test.dart

Issue 10951016: Fixing up measurement test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removing static modifier from isMutationObserverSupported. Created 8 years, 3 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
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/measurement_test.dart
diff --git a/tests/html/measurement_test.dart b/tests/html/measurement_test.dart
index 384136cf1c27110d15f52d7cab40b0d28e0cc226..175e92f4644ae0bce88faf6637a752ee5f0cbdfd 100644
--- a/tests/html/measurement_test.dart
+++ b/tests/html/measurement_test.dart
@@ -12,16 +12,14 @@ main() {
test('measurement is async but before setTimout 0', () {
final element = document.body;
- bool timeout0 = false;
bool fnComplete = false;
- bool animationFrame = false;
+ bool timeout0 = false;
window.setTimeout(() { timeout0 = true; }, 0);
final computedStyle = element.computedStyle;
computedStyle.then(expectAsync1((style) {
expect(style.getPropertyValue('left'), equals('auto'));
expect(fnComplete);
expect(timeout0, isFalse);
- expect(animationFrame, isFalse);
}));
Expect.isFalse(computedStyle.isComplete);
fnComplete = true;
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698