diff options
| author | Igor Minar | 2011-09-16 00:06:19 +0200 |
|---|---|---|
| committer | Igor Minar | 2011-09-16 02:44:35 +0200 |
| commit | 9acf45127e96051e23f28af7650778fe444d8c86 (patch) | |
| tree | 935dc023b827f389bd9f167b165b949b98e59c11 | |
| parent | 6883e8c7a0c121319ced63596718d34e3ab650a8 (diff) | |
| download | angular.js-9acf45127e96051e23f28af7650778fe444d8c86.tar.bz2 | |
fix(scenarioRunner): navigateTo should use prop('contentWindow')
... instead of attr('contentWindow')
| -rw-r--r-- | src/scenario/Application.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
