gecko/browser/base/content
Ehsan Akhgari d8c25f9e30 Bug 816527 - Disable switch to tab for private windows in per-window private browsing builds; r=gavin
This patch makes sure that when you have a tab open in a private window,
we would never switch to it from either a private or non-private window.
Also, this disabled switching to tabs inside private windows.

This patch uses the autocompletesearchparam attribute to convey whether
the autocomplete search is coming from a private window, to disable
finding open pages in nsPlacesAutoComplete.  It also changes the
behavior of switchToTabHavingURI to make sure that switch to tab
actually fails if somehow attempted (this is used in the test.)  It also
prevents pages opened in a private window to be registered with
nsPlacesAutoComplete as open pages, in order to make sure that those
pages do not appear as switch to tab entries in the autocomplete list
for other windows.

The test for this patch is based on browser_bug555767.js, and tests all
of the four possible interactions here.
2012-11-30 02:40:47 -05:00
..
abouthome Bug 805325 - Use the actual search engine name for logo's alt text on about:home, instead of the string "undefined". r=mak 2012-10-25 07:18:07 -07:00
newtab Bug 798516 - Remove support for gPrivateBrowsingUI.privateWindow; r=jdm 2012-10-05 19:25:52 -04:00
overrides
pageinfo Back out ed72449453b4 (bug 715075) for browser-chrome orange 2012-11-15 20:40:49 -08:00
sync Merge mozilla-central into services-central 2012-09-24 13:33:43 -07:00
test Bug 816527 - Disable switch to tab for private windows in per-window private browsing builds; r=gavin 2012-11-30 02:40:47 -05:00
aboutDialog.css
aboutDialog.js Bug 785015 - Check for this.aus in appUpdater.removeDownloadListener. r=bbondy 2012-10-24 20:39:51 +02:00
aboutDialog.xul
aboutRobots-icon.png
aboutRobots-widget-left.png
aboutRobots.xhtml Bug 739092 - Neterror icon should not be visible behind robot in about:robots. r=dao 2012-08-20 17:43:00 +12:00
aboutSocialError.xhtml Bug 804910 - Part 2. Watch for error notification and display recovery UI. r=jaws 2012-10-30 13:10:04 -07:00
baseMenuOverlay.xul
blockedSite.xhtml Bug 778608 - Move SafeBrowsing.jsm to toolkit. r=gavin 2012-10-29 17:26:41 -07:00
browser-addons.js bug 814383 - fix javascript strict-mode warnings in browser.js. r=gavin 2012-11-26 16:18:25 +00:00
browser-appmenu.inc Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-30 08:07:59 +00:00
browser-charsetmenu.inc
browser-context.inc Bug 456884 - Provide a way to open a link into private browsing mode; r=dao ui-r=madhava 2012-11-27 10:09:24 -05:00
browser-doctype.inc Backed out changeset 132d2e88ef03 (bug 788977) for talos regression. 2012-11-27 10:39:10 +00:00
browser-feeds.js Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 21:09:29 +02:00
browser-fullScreen.js bug 814383 - fix javascript strict-mode warnings in browser.js. r=gavin 2012-11-26 16:18:25 +00:00
browser-fullZoom.js Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan] 2012-11-28 18:26:39 -06:00
browser-menubar.inc Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-30 08:07:59 +00:00
browser-places.js Bug 785225 - Part 2: Minimize Engines singleton usage; r=rnewman 2012-08-29 14:43:40 -07:00
browser-plugins.js bug 746374 - differentiate click-to-play plugin permissions by type and vulnerability status r=jaws r=joshmoz 2012-11-27 10:09:10 -08:00
browser-safebrowsing.js Bug 792968 - Replace some regular expression string matches with String.startsWith and replace /^https?/ URI scheme tests with /^https?$/. r=dao 2012-09-23 21:09:29 +02:00
browser-sets.inc Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-30 08:07:59 +00:00
browser-social.js Bug 813834 - Character corruption on Facebook messenger with Social API. r=jaws 2012-11-29 15:14:48 +09:00
browser-syncui.js Bug 785225 - Part 3: Don't expose ErrorHandler as a singleton; r=rnewman 2012-08-29 14:43:40 -07:00
browser-tabPreviews.js Bug 774009 - uncaught JS exception while running browser_overflowScroll.js (TypeError: aTab.linkedBrowser is null). r=gavin 2012-09-29 17:59:43 +02:00
browser-tabPreviews.xml
browser-tabview.js Bug 791683 - Remove legacy code parts from Panorama; r=felipe 2012-09-21 11:26:43 +02:00
browser-thumbnails.js Bug 798516 - Remove support for gPrivateBrowsingUI.privateWindow; r=jdm 2012-10-05 19:25:52 -04:00
browser.css Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-30 08:07:59 +00:00
browser.js Bug 816527 - Disable switch to tab for private windows in per-window private browsing builds; r=gavin 2012-11-30 02:40:47 -05:00
browser.xul Bug 790752 - Investigate more comprehensive measures of tab switching speed that includes event handler responsiveness. r=gavin 2012-11-28 22:56:56 -06:00
browserMountPoints.inc
content.js Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin 2012-08-10 14:20:25 -06:00
downloadManagerOverlay.xul
global-scripts.inc
hiddenWindow.xul
highlighter.css Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-30 08:07:59 +00:00
jsConsoleOverlay.xul
macBrowserOverlay.xul Bug 574229: Open new window in the current OS X space when opening from the dock menu. r=gavin 2012-08-07 15:28:16 -04:00
nsContextMenu.js Merge mozilla-central to mozilla-inbound 2012-11-30 13:20:05 -05:00
openLocation.js Bug 781973 - Use filepicker's open() instead of the obsolete show() in /browser. r=bbondy 2012-09-19 17:21:38 -06:00
openLocation.xul Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin 2012-08-10 14:20:25 -06:00
report-phishing-overlay.xul Bug 778608 - Move SafeBrowsing.jsm to toolkit. r=gavin 2012-10-29 17:26:41 -07:00
safeMode.css
safeMode.js Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin 2012-08-10 14:20:25 -06:00
safeMode.xul Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin 2012-08-10 14:20:25 -06:00
sanitize.js Backout f077ad362ca3 (bug 722859) for bustage 2012-11-16 10:44:20 +00:00
sanitize.xul
sanitizeDialog.css
sanitizeDialog.js
social-icon.png Bug 801951: update social provider manifest and whitelist, r=jaws 2012-10-15 17:27:48 -07:00
socialchat.xml Bug 808235 - give chatbox focus when restored. r=jaws 2012-11-20 12:54:50 +11:00
softwareUpdateOverlay.xul
tabbrowser.css Bug 776928 - When doing lazy tab restoration, set the <browser>s in question to display:none until restored. r=dao 2012-09-05 07:52:31 +02:00
tabbrowser.xml Bug 816527 - Disable switch to tab for private windows in per-window private browsing builds; r=gavin 2012-11-30 02:40:47 -05:00
urlbarBindings.xml Bug 814264 - Restore the ability to call openUILink without an event parameter. 2012-11-27 17:06:17 +01:00
utilityOverlay.js Followup for bug 456884 - Fix the variable name to match the surrounding ones 2012-11-30 11:32:36 -05:00
viewSourceOverlay.xul
web-panels.js Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin 2012-08-10 14:20:25 -06:00
web-panels.xul
win6BrowserOverlay.xul Bug 325901 - fix unnecessarily preprocessed files in browser/, r=gavin 2012-08-10 14:20:25 -06:00