author Dão Gottwald <>
Fri, 12 May 2017 13:35:44 +0200
changeset 358256 9f3f63f8acb7f71ecda9d6d44cdad3af54fb9944
parent 353897 36a32dc30701240e5d92ce48e33f457fcea547f5
child 359401 a65577f40ebd1ef2dd1b0bd81347e1e171815448
permissions -rw-r--r--
Bug 1364127 - Set the initial tab label to the URL for new tabs and to the saved title for restored tabs, and make sure that label doesn't subsequently get clobbered with a placeholder r=past MozReview-Commit-ID: 9t07uAVE13H

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

if CONFIG['MOZ_DEVTOOLS'] and CONFIG['MOZ_DEVTOOLS'] not in ('all', 'server'):
    error('Unsupported MOZ_DEVTOOLS value: %s' % (CONFIG['MOZ_DEVTOOLS']))

if CONFIG['MOZ_DEVTOOLS'] == 'all':
    DIRS += [

DIRS += [

# /browser uses DIST_SUBDIR.  We opt-in to this treatment when building
# DevTools for the browser to keep the root omni.ja slim for use by external XUL
# apps.  Mulet also uses this since it includes /browser.
if CONFIG['MOZ_BUILD_APP'] == 'browser':
    DIST_SUBDIR = 'browser'

with Files('**'):
    BUG_COMPONENT = ('Firefox', 'Developer Tools')

with Files('docs/**'):
    BUG_COMPONENT = ('Firefox', 'Developer Tools')

with Files('docs/tools/'):
    BUG_COMPONENT = ('Firefox', 'Developer Tools: Memory')

with Files('docs/tools/'):
    BUG_COMPONENT = ('Firefox', 'Developer Tools: Debugger')

with Files('docs/backend/'):
    BUG_COMPONENT = ('Firefox', 'Developer Tools: Debugger')

with Files('docs/tools/'):
    BUG_COMPONENT = ('Firefox', 'Developer Tools: Console')

with Files('docs/tools/'):
    BUG_COMPONENT = ('Firefox', 'Developer Tools: Inspector')