From 7460a7ef618a274607ea99aecae99fb158115c36 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Wed, 15 Jun 2011 22:58:32 +0200 Subject: Fix test for scenario.Application - should remove old iframe This behavior was changed by e83465c362c53ac7451183a775456f3112262f6e So this commit should have been part of e83465c362c53ac7451183a775456f3112262f6e Also removed hiding and navigating to about:blank as it makes no sense now... --- src/scenario/Application.js | 1 - test/scenario/ApplicationSpec.js | 12 +++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/scenario/Application.js b/src/scenario/Application.js index c94581e2..28561ed3 100644 --- a/src/scenario/Application.js +++ b/src/scenario/Application.js @@ -57,7 +57,6 @@ angular.scenario.Application.prototype.navigateTo = function(url, loadFn, errorF frame.attr('src', url); this.executeAction(loadFn); } else { - frame.css('display', 'none').attr('src', 'about:blank'); frame.remove(); this.context.find('#test-frames').append('