Drop scriptable API which are used only by BlueGriffon
Categories
(Core :: DOM: Editor, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 2 open bugs)
Details
Attachments
(8 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
BlueGriffon refers mozilla-centrall at April 27 2017.
https://github.com/therealglazou/bluegriffon/blob/master/config/mozilla_central_revision.txt
https://hg.mozilla.org/mozilla-central/rev/c0d35b1c5ab5fa9bb2f5661aa0454a1ce31b50e0
And there is this issue:
https://github.com/therealglazou/bluegriffon/issues/99
but nobody replied to say "no".
Perhaps, we could delete scriptable APIs which is used only by BlueGriffon now.
The list of APIs:
nsIEditor.doTransaction()
nsIEditor.addEditorObserver()
nsIHTMLAbsPosEditor.refreshGrabber()
nsIHTMLEditor.getInlineProperty()
nsIHTMLEditor.pasteNoFormatting()
nsIHTMLEditor.setCaretAfterElement()
nsIHTMLInlineTableEditor.refreshInlineTableEditingUI()
nsIHTMLObjectResizer.refreshResizers()
Especially, the first 2 methods are too bad for mozilla-central.
glazou: Do you have any plan to keep updating BlueGriffon?
Comment 1•4 years ago
|
||
pasteNoFormatting() is used in Thunderbird as well, and quite handy so you don't get junk into the compose window.
Comment 2•4 years ago
|
||
Ah, I see, the actual function isn't called.
Assignee | ||
Comment 3•4 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #2)
Ah, I see, the actual function isn't called.
Yes, using cmd_*
is fine for now.
Assignee | ||
Comment 4•4 years ago
|
||
(And personally, I'd like to merge all interfaces rerated to nsIHTMLEditor
in the future. It reduces the footprint and cuts QI cost in chrome script.)
Assignee | ||
Comment 5•4 years ago
|
||
No reply from BlueGriffon side. Let's get rid of them for now.
Assignee | ||
Comment 6•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
Depends on D118797
Assignee | ||
Comment 8•4 years ago
|
||
Depends on D118798
Assignee | ||
Comment 9•4 years ago
|
||
Only test_bug1140105.html
is its user, but it can be replaced with
getInlinePropertyWithAttrValue()
since they do exactly same things:
https://searchfox.org/mozilla-central/rev/fc95c6ad297d9d257f05599d01741503f3f57326/editor/libeditor/HTMLStyleEditor.cpp#1685-1687,1719-1721
Depends on D118799
Assignee | ||
Comment 10•4 years ago
|
||
Depends on D118800
Assignee | ||
Comment 11•4 years ago
|
||
Depends on D118801
Assignee | ||
Comment 12•4 years ago
|
||
Depends on D118802
Assignee | ||
Comment 13•4 years ago
|
||
Depends on D118803
Comment 14•4 years ago
|
||
Comment 15•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/302135e6f782
https://hg.mozilla.org/mozilla-central/rev/504a1b28770c
https://hg.mozilla.org/mozilla-central/rev/88fb5db3ed3b
https://hg.mozilla.org/mozilla-central/rev/e7c97cafeec0
https://hg.mozilla.org/mozilla-central/rev/91882492033a
https://hg.mozilla.org/mozilla-central/rev/10c27ce19e42
https://hg.mozilla.org/mozilla-central/rev/0cfa164a81a1
https://hg.mozilla.org/mozilla-central/rev/2689403bd0d2
Assignee | ||
Updated•4 years ago
|
Description
•