From 9acf45127e96051e23f28af7650778fe444d8c86 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 16 Sep 2011 00:06:19 +0200 Subject: fix(scenarioRunner): navigateTo should use prop('contentWindow') ... instead of attr('contentWindow') --- src/scenario/Application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scenario/Application.js b/src/scenario/Application.js index 24f5a8c4..1a87141f 100644 --- a/src/scenario/Application.js +++ b/src/scenario/Application.js @@ -33,7 +33,7 @@ angular.scenario.Application.prototype.getFrame_ = function() { * @return {Object} the window of the frame */ angular.scenario.Application.prototype.getWindow_ = function() { - var contentWindow = this.getFrame_().attr('contentWindow'); + var contentWindow = this.getFrame_().prop('contentWindow'); if (!contentWindow) throw 'Frame window is not accessible.'; return contentWindow; -- cgit v1.2.3