mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-20 08:20:25 +00:00
fix(scenarioRunner): navigateTo should use prop('contentWindow')
... instead of attr('contentWindow')
This commit is contained in:
parent
6883e8c7a0
commit
9acf45127e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue