]> git.eshelyaron.com Git - emacs.git/commit
Disable track-changes while reloading pages in EWW
authorJim Porter <jporterbugs@gmail.com>
Sun, 20 Jul 2025 20:11:32 +0000 (13:11 -0700)
committerEshel Yaron <me@eshelyaron.com>
Fri, 25 Jul 2025 08:10:46 +0000 (10:10 +0200)
commite5fbd6f5bdb949a5cd61b81462e18c070cf01452
treea297e245fc54343703f560cb6122d83b22d7ef59
parentda1b4f552064c85f6da82775979a00670c9137a8
Disable track-changes while reloading pages in EWW

This makes sure 'eww--track-changes' doesn't interfere with the initial
rendering process.  Previously, this caused problems like <textareas>
consuming the rest of the page when reloading the document.

* lisp/net/eww.el (eww--change-tracker-id): New variable.
(eww-display-document): Temporarily unregister our change tracker.

* test/lisp/net/eww-tests.el (eww-test/tag/textarea/reload): New test.

(cherry picked from commit dc38f05757520f3cae61ae1b3c204728d8b1d6c7)
lisp/net/eww.el
test/lisp/net/eww-tests.el