Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #32380 from jedireza/new-private-window-activity-m…
Browse files Browse the repository at this point in the history
…anager

Bug 1211792 - The new private browser opened from task manager does not show the advice page or start page. r=mcav
  • Loading branch information
BavarianTomcat committed Oct 13, 2015
2 parents 537898c + 5e00416 commit c24b1b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/system/js/task_manager.js
Expand Up @@ -616,6 +616,7 @@ TaskManager.prototype = {
url: 'app://search.gaiamobile.org/newtab.html?private=1',
});
config.isPrivate = true;
config.isMockPrivate = true;
config.oop = true;
} else {
config = new BrowserConfigHelper({
Expand Down
3 changes: 2 additions & 1 deletion apps/system/test/marionette/task_manager_test.js
Expand Up @@ -194,7 +194,8 @@ marionette('Task Manager', function() {
var appWindow = system.waitForBrowser(
'app://search.gaiamobile.org/newtab.html?private=1');
client.waitFor(function() {
return appWindow.getAttribute('mozprivatebrowsing') === 'true';
return appWindow.getAttribute('src') ===
'app://search.gaiamobile.org/newtab.html?private=1';
});
});
});
Expand Down

0 comments on commit c24b1b3

Please sign in to comment.