+ Made the Groups.killNewTabGroup test a little tighter (in case someone has made a group called "new tabs")

+ Worked around bug 575672 (CSS transition assert)

--HG--
extra : rebase_source : 6f758e737c2092214ec3185be847f2c5da406be0
This commit is contained in:
Ian Gilman 2010-08-09 14:57:34 -07:00
parent b75e7cb875
commit 80b2ae42e5
2 changed files with 4 additions and 2 deletions

View File

@ -1798,7 +1798,7 @@ window.GroupItems = {
// Removes the New Tab Group, which is now defunct. See bug 575851 and comments therein. // Removes the New Tab Group, which is now defunct. See bug 575851 and comments therein.
killNewTabGroup: function() { killNewTabGroup: function() {
this.groupItems.forEach(function(groupItem) { this.groupItems.forEach(function(groupItem) {
if (groupItem.getTitle() == 'New Tabs') { if (groupItem.getTitle() == 'New Tabs' && groupItem.locked.title) {
groupItem.removeAll(); groupItem.removeAll();
groupItem.close(); groupItem.close();
} }

View File

@ -542,7 +542,9 @@ iQClass.prototype = {
options = {}; options = {};
let easings = { let easings = {
tabviewBounce: "cubic-bezier(0.0, 0.63, .6, 1.29)", tabviewBounce: "cubic-bezier(0.0, 0.63, .6, 1.0)",
// TODO: change 1.0 above to 1.29 after bug 575672 is fixed
easeInQuad: 'ease-in', // TODO: make it a real easeInQuad, or decide we don't care easeInQuad: 'ease-in', // TODO: make it a real easeInQuad, or decide we don't care
fast: 'cubic-bezier(0.7,0,1,1)' fast: 'cubic-bezier(0.7,0,1,1)'
}; };