gecko-dev/editor/moz.build
Emilio Cobos Álvarez 31821e1fc4 Bug 1449522 - Remove nsIEditorStyleSheets. r=masayuki,m_kato
Users have much better, easier alternatives, like
DOMWindowUtils.{loadSheetUsingURIString,removeSheet}, which we use to
replace the only caller that exists in mozilla-central (the editor
element, which loads EditorOverride.css).

This allows to clean up the style system and editor. There are other
callers in comm-central, but it seems they can switch to DOMWindowUtils
trivially, as the DOMWindowUtils APIs also use the system principal and
thus they can load any URL.

I'll make sure to give them some time with the migration and/or help
out of course.

Differential Revision: https://phabricator.services.mozilla.com/D71263
2020-04-17 22:54:48 +00:00

36 lines
873 B
Python

# -*- 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 http://mozilla.org/MPL/2.0/.
DIRS += [
'libeditor',
'spellchecker',
'txmgr',
'composer',
]
XPIDL_SOURCES += [
'nsIDocumentStateListener.idl',
'nsIEditActionListener.idl',
'nsIEditor.idl',
'nsIEditorMailSupport.idl',
'nsIEditorObserver.idl',
'nsIEditorSpellCheck.idl',
'nsIHTMLAbsPosEditor.idl',
'nsIHTMLEditor.idl',
'nsIHTMLInlineTableEditor.idl',
'nsIHTMLObjectResizer.idl',
'nsITableEditor.idl',
]
XPIDL_MODULE = 'editor'
TESTING_JS_MODULES += [
'AsyncSpellCheckTestHelper.jsm',
]
with Files('**'):
BUG_COMPONENT = ('Core', 'DOM: Editor')