Follow to changes introduced by the bug 971630 (fix #685)

Changes introduced by this diff break TST.
http://hg.mozilla.org/mozilla-central/diff/6aef8ef7d775/browser/base/content/tabbrowser.xml
This commit is contained in:
YUKI Hiroshi 2014-04-17 20:01:35 +09:00
parent a92de60fd8
commit 8db6b008ae

View File

@ -512,6 +512,17 @@ var TreeStyleTabWindowHelper = {
/\.left/g, '[treeStyleTab.startProp]'
).replace(
/\.right/g, '[treeStyleTab.endProp]'
// replace such codes:
// tab = {left: tab.left, right: tab.right};
).replace(
/left\s*:/g, 'start:'
).replace(
/right\s*:/g, 'end:'
).replace(
/((tab|selected)\s*=\s*\{\s*start:[^\}]+\})/g,
'$1; $2[treeStyleTab.startProp] = $2.start; $2[treeStyleTab.endProp] = $2.end;'
).replace(
'!selected ||',
'$& treeStyleTab.scrollToNewTabMode == 1 && '