This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1393642 - Remove nsIAtom/nsIAtomService usage from script in edit…
…or/. r=masayuki. nsIHTMLEditor has several scriptable methods (addDefaultProperty(), removeDefaultProperty(), etc.) that have nsIAtom parameters. We're in the process of deCOMtaminating nsIAtom (bug 1392883) so these methods need to be changed. This patch does the following. - It changes those methods to take an AString instead of an nsIAtom. - For each existing method, it adds to HTMLEditor a new C++ method of the same name that takes an nsIAtom parameter. - It updates TextEditorTest.cpp to use strings instead of atoms, in order to keep using the XPIDL methods. - It updates test_bug1140105.html to pass strings instead of atoms to getInlineProperty(). This removes the use of nsIAtomService.
- Loading branch information
1 parent
fbb810c
commit 87e58e4
Showing
6 changed files
with
113 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters