Index: sky/tests/framework/basic.sky |
diff --git a/sky/tests/framework/basic.sky b/sky/tests/framework/basic.sky |
index 244057a6420f02b35d0b80c7184fe367fbc62fdd..efe8e0cff43e367f4070c06393402dd43a0e0549 100644 |
--- a/sky/tests/framework/basic.sky |
+++ b/sky/tests/framework/basic.sky |
@@ -8,7 +8,13 @@ import 'dart:sky.internals' as internals; |
void main() { |
new TestApp(); |
runAfterDisplay(() { |
- internals.notifyTestComplete(serializeNode(document.lastChild.previousSibling) + serializeNode(document.lastChild)); |
+ var result = serializeNode(document.lastChild.previousSibling) + serializeNode(document.lastChild); |
+ try { |
+ internals.notifyTestComplete(result); |
+ } catch (e) { |
+ print(e); |
+ print(result); |
+ } |
}); |
} |
</script> |