Commit Graph
8 Commits
Author SHA1 Message Date
Sylvestre Ledru 9f5cc05eee Bug 2023419 - Remove Emacs/Vim modelines from editor/ r=masayuki
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287844
2026-03-16 12:52:41 +00:00
Masayuki Nakano a27e993972 Bug 769207 - part 13: Get rid of MutationEvent r=smaug,dom-core,webidl
Differential Revision: https://phabricator.services.mozilla.com/D263064
2025-09-08 00:28:20 +00:00
Masayuki Nakano f8236195a0 Bug 769207 - part 3: Make nsIMutationObserver use AttrModType r=smaug,dom-core,firefox-style-system-reviewers,layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D263054
2025-09-08 00:27:40 +00:00
Masayuki Nakano 023d44a8d4 Bug 1973655 - part 3: Add logging code of mutation via HTMLEditor r=m_kato,smaug,dom-core
Half or more compatibility issues caused by unexpected DOM change by
web apps.  However, it's difficult to investigate the web apps' source
code because they are usually minified.  Therefore, I usually debug
the unexpected behavior with C++ debugger and adding break points into
`HTMLEditor`.

For saving the debug time and helping developers to understand what's
going on, `HTMLEditor` should log when it touches the DOM and when
unexpected DOM change occurs.

Differential Revision: https://phabricator.services.mozilla.com/D260589
2025-08-22 10:58:43 +00:00
Masayuki Nakano 60b1fae7d8 Bug 1973655 - part 2: Make HTMLEditorMutationObserver.cpp r=m_kato
This also renames `OnDocumentModified()` to
`RunOrScheduleOnModifyDocument()` because the name is usually confused
with `OnModifyDocument().

Differential Revision: https://phabricator.services.mozilla.com/D260588
2025-08-22 10:58:39 +00:00
Cristina Horotan 377e3caa70 Revert "Bug 1973655 - part 3: Add logging code of mutation via HTMLEditor r=m_kato,smaug,dom-core" for causing buuld bustages on HTMLEditorMutationObserver.cpp
This reverts commit 73d1ab198c.

Revert "Bug 1973655 - part 2: Make `HTMLEditorMutationObserver.cpp` r=m_kato"

This reverts commit 8603a23c33.

Revert "Bug 1973655 - part 1: Make the editor module not call DOM API to modify the DOM directly r=m_kato"

This reverts commit a8abe8d84c.
2025-08-22 08:01:45 +00:00
Masayuki Nakano 73d1ab198c Bug 1973655 - part 3: Add logging code of mutation via HTMLEditor r=m_kato,smaug,dom-core
Half or more compatibility issues caused by unexpected DOM change by
web apps.  However, it's difficult to investigate the web apps' source
code because they are usually minified.  Therefore, I usually debug
the unexpected behavior with C++ debugger and adding break points into
`HTMLEditor`.

For saving the debug time and helping developers to understand what's
going on, `HTMLEditor` should log when it touches the DOM and when
unexpected DOM change occurs.

Differential Revision: https://phabricator.services.mozilla.com/D260589
2025-08-22 03:31:04 +00:00
Masayuki Nakano 8603a23c33 Bug 1973655 - part 2: Make HTMLEditorMutationObserver.cpp r=m_kato
This also renames `OnDocumentModified()` to
`RunOrScheduleOnModifyDocument()` because the name is usually confused
with `OnModifyDocument().

Differential Revision: https://phabricator.services.mozilla.com/D260588
2025-08-22 03:31:00 +00:00