Skip to content

Commit

Permalink
Shorten "containerTab" flag to "container"
Browse files Browse the repository at this point in the history
so that it fits better in the Flags column, even with a scrollbar.
  • Loading branch information
Rob--W committed Oct 23, 2018
1 parent 5c5b6d3 commit 9ff08aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cookie-manager.css
Expand Up @@ -321,7 +321,7 @@ td:nth-child(even) {
.col_valu { width: auto; } /* take the rest of the space - min width is enforced in table's min-width */
.col_doma { width: 20ch; } /* domains are significant, try to fit them all */
.col_fpdo { width: 20ch; } /* first-party domain, if enabled (may be non-existent) */
.col_flag { width: 11ch; } /* big enough to fit httpOnly, private, secure and containerTab */
.col_flag { width: 11ch; } /* big enough to fit httpOnly, private, secure and container */
.col_expi { width: 11ch; } /* big enough to fit a date and split the time to the next line */
.col_butt { width: 8ch; } /* big enough to fit a edit/restore button. */
.cell-content {
Expand Down
2 changes: 1 addition & 1 deletion cookie-manager.js
Expand Up @@ -2061,7 +2061,7 @@ function renderCookie(row, cmApi) {
if (cookie.httpOnly) extraInfo.push('httpOnly');
if (cookie.storeId === '1') extraInfo.push('incognito');
else if (cookie.storeId === 'firefox-private') extraInfo.push('private');
else if (/^firefox-container-/.test(cookie.storeId)) extraInfo.push('containerTab');
else if (/^firefox-container-/.test(cookie.storeId)) extraInfo.push('container');
if (cookie.sameSite === 'lax') extraInfo.push('SameSite=lax');
else if (cookie.sameSite === 'strict') extraInfo.push('SameSite=strict');
// When first-party isolation is disabled, we don't show a column, so add a flag.
Expand Down

0 comments on commit 9ff08aa

Please sign in to comment.