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

Unified Diff: samples/third_party/dromaeo/htmlrunner.js

Issue 178223008: Replace run_selenium.py with Dart script that uses the browser controller for performance tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
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) {
« no previous file with comments | « samples/third_party/dromaeo/generate_perf_and_dart2js_tests.py ('k') | samples/third_party/dromaeo/tests/RunnerSuite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698