Index: lib/html/templates/html/dartium/html_dartium.darttemplate |
diff --git a/lib/html/templates/html/dartium/html_dartium.darttemplate b/lib/html/templates/html/dartium/html_dartium.darttemplate |
index 1f7c6bed8d21ec1c7f4ff1e9b0f493e3adb8af4d..a4d92148f32a293571b7c64b0b3e18950511e045 100644 |
--- a/lib/html/templates/html/dartium/html_dartium.darttemplate |
+++ b/lib/html/templates/html/dartium/html_dartium.darttemplate |
@@ -69,7 +69,7 @@ var _callPortLastResult = null; |
_callPortSync(num id, var message) { |
if (!_callPortInitialized) { |
window.on['js-result'].add((event) { |
- _callPortLastResult = JSON.parse(event.data); |
+ _callPortLastResult = JSON.parse(_getPortSyncEventData(event)); |
}, false); |
_callPortInitialized = true; |
} |