зеркало из https://github.com/mozilla/gecko-dev.git
3bd62fb08a
This patch marks `ScrollContentIntoView()` as `MOZ_CAN_RUN_SCRIPT` and changing some callers of them to guarantee thar their parent callers are also safe. Additionally, this patch moves it from `nsIPresShell` to `PresShell` because all callers can refer `PresShell` directly. Unfortunately, this patch changes a lot of methods in autocomplete and satchel since this patch needs to mark some interface methods as `can_run_script` and they are called each other. This means that autocomplete module is really sensitive like editor module. Perhaps, autocomplete and satchel should do scroll asynchronously and unmark some of them as `MOZ_CAN_RUN_SCRIPT` again. Differential Revision: https://phabricator.services.mozilla.com/D28320 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
XULAlertAccessible.cpp | ||
XULAlertAccessible.h | ||
XULComboboxAccessible.cpp | ||
XULComboboxAccessible.h | ||
XULElementAccessibles.cpp | ||
XULElementAccessibles.h | ||
XULFormControlAccessible.cpp | ||
XULFormControlAccessible.h | ||
XULListboxAccessible.cpp | ||
XULListboxAccessible.h | ||
XULMenuAccessible.cpp | ||
XULMenuAccessible.h | ||
XULSelectControlAccessible.cpp | ||
XULSelectControlAccessible.h | ||
XULTabAccessible.cpp | ||
XULTabAccessible.h | ||
XULTreeAccessible.cpp | ||
XULTreeAccessible.h | ||
XULTreeGridAccessible.cpp | ||
XULTreeGridAccessible.h | ||
moz.build |