gecko-dev/browser/components/sessionstore
Chris Peterson e3153e78e2 Bug 1366870 - Part 2: Set initial tab title to URL's hostname until we know the actual page title. r=dao
We currently show a full URL as the initial tab title (e.g. "https://www.mozilla.org/en-US/") until the page loads and we know the actual page title. When loading multiple tabs, such as during session restore, many tabs will have the same undifferentiated tab title prefix like "https://www....". Since the URL scheme and "www." subdomain are not meaningful to users, just show the URL's hostname without any "www." prefix (e.g. "mozilla.org").

Other browsers' initial tab titles for comparison:

* Firefox 54 uses "Connecting...".
* IE11 uses the same "hostname without www" placeholder as this changeset.
* Edge uses "Blank page".
* Chrome uses "Loading..." on Windows and "Untitled" on Mac.
* Safari uses "Untitled".

MozReview-Commit-ID: JxLxvBjpIBh

--HG--
extra : rebase_source : b57987e2d61b2798b4e85045ac03a0a33965d138
2017-06-10 12:39:18 -07:00
..
content Bug 1362058 - Further limit the amount of sessionStorage data we store and serialize r=mikedeboer 2017-05-05 12:17:09 +02:00
test Bug 1366870 - Part 2: Set initial tab title to URL's hostname until we know the actual page title. r=dao 2017-06-10 12:39:18 -07:00
ContentRestore.jsm Bug 1361387 - Update callsites of loadURI() within browser/ to pass a triggeringPrincipal. r=gijs 2017-05-03 10:23:59 +02:00
DocShellCapabilities.jsm Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws 2017-03-10 19:51:20 +00:00
FrameTree.jsm Bug 1355542 - [2.0] Remove unused web progress callbacks and add missing progress filters. r=felipe 2017-04-13 23:20:17 +02:00
GlobalState.jsm Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws 2017-03-10 19:51:20 +00:00
jar.mn
moz.build Bug 1340828 - Part 1 - Move SessionHistory.jsm to toolkit. r=mikedeboer 2017-02-18 20:54:09 +01:00
nsISessionStartup.idl
nsISessionStore.idl
nsSessionStartup.js Bug 1369467 - Move a few module imports off of app-startup, r=mconley. 2017-06-02 22:08:21 +02:00
nsSessionStore.js Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws 2017-03-10 19:51:20 +00:00
nsSessionStore.manifest Bug 1250603 - update comments blaming WebappRT to blame xpcshell instead; r=gps 2016-04-15 17:17:15 -07:00
PageStyle.jsm Bug 1311347 - Enable eslint of browser/components/sessionstore/. Manual fixes. r=jaws 2017-03-13 10:32:03 +00:00
PrivacyFilter.jsm Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws 2017-03-10 19:51:20 +00:00
RecentlyClosedTabsAndWindowsMenuUtils.jsm Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws 2017-03-10 19:51:20 +00:00
RunState.jsm Bug 1276884 - fix nits in RunState.jsm. r=ttaubert 2016-06-01 14:48:16 +02:00
SessionCookies.jsm Bug 1356605 - Part 2: Use the new sessionEnumerator to iterate only the cookies we need. r=mikedeboer 2017-05-10 12:14:31 +08:00
SessionFile.jsm Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
SessionMigration.jsm Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
SessionSaver.jsm Bug 1359429 - Remove superfluous telemetry probes r=mikedeboer f=bsmedberg 2017-04-25 21:48:22 +02:00
SessionStorage.jsm Bug 1362058 - Further limit the amount of sessionStorage data we store and serialize r=mikedeboer 2017-05-05 12:17:09 +02:00
SessionStore.jsm Bug 1370652 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop 2017-06-06 21:15:42 +01:00
SessionWorker.js Bug 1311347 - Enable eslint of browser/components/sessionstore/. Manual fixes. r=jaws 2017-03-13 10:32:03 +00:00
SessionWorker.jsm
StartupPerformance.jsm Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
TabAttributes.jsm Backed out changeset 888dc371081a (bug 1347791) 2017-05-17 08:11:05 +02:00
TabState.jsm Backed out changeset 888dc371081a (bug 1347791) 2017-05-17 08:11:05 +02:00
TabStateCache.jsm Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws 2017-03-10 19:51:20 +00:00
TabStateFlusher.jsm Bug 1352183 - Preserve lazy browsers' lazy state when closing the window. r=dao 2017-04-04 13:34:26 +02:00