mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
31821e1fc4
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
36 lines
873 B
Python
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')
|