Index: samples/third_party/dromaeo/htmlrunner.js |
diff --git a/samples/third_party/dromaeo/htmlrunner.js b/samples/third_party/dromaeo/htmlrunner.js |
index 84f0065e237335553af52e91dc6cb7c4f5550313..8f565c45ff54a876bc4ddadda6ee08a4b70bfa08 100644 |
--- a/samples/third_party/dromaeo/htmlrunner.js |
+++ b/samples/third_party/dromaeo/htmlrunner.js |
@@ -39,7 +39,7 @@ function _postMessage(command, data) { |
if (data) { |
payload['data'] = data; |
} |
- window.top.postMessage(JSON.stringify(payload), '*'); |
+ window.parent.postMessage(JSON.stringify(payload), '*'); |
} |
function test(name, fn) { |