Index: tools/dom/src/Isolates.dart |
diff --git a/tools/dom/src/Isolates.dart b/tools/dom/src/Isolates.dart |
index 116ca4f8be821f98992a15c0894c5aa2ff7bf7e6..3c6e5079cd1e0005f3e16cd93ac0d57013d08962 100644 |
--- a/tools/dom/src/Isolates.dart |
+++ b/tools/dom/src/Isolates.dart |
@@ -217,7 +217,8 @@ class ReceivePortSync { |
get _isolateId => ReceivePortSync._isolateId; |
void _dispatchEvent(String receiver, var message) { |
- var event = new CustomEvent(receiver, false, false, json.stringify(message)); |
+ var event = new CustomEvent(receiver, canBubble: false, cancelable:false, |
+ detail: json.stringify(message)); |
window.$dom_dispatchEvent(event); |
} |