gecko-dev/accessible/xul
Masayuki Nakano 3bd62fb08a Bug 1543315 - part 11: Mark nsIPresShell::ScrollContentIntoView() as MOZ_CAN_RUN_SCRIPT r=smaug
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
2019-04-23 01:34:24 +00:00
..
XULAlertAccessible.cpp
XULAlertAccessible.h
XULComboboxAccessible.cpp
XULComboboxAccessible.h Bug 1543315 - part 11: Mark nsIPresShell::ScrollContentIntoView() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-04-23 01:34:24 +00:00
XULElementAccessibles.cpp
XULElementAccessibles.h
XULFormControlAccessible.cpp
XULFormControlAccessible.h
XULListboxAccessible.cpp
XULListboxAccessible.h
XULMenuAccessible.cpp Bug 1519502 - Convert menu bindings to a Custom Element r=surkov 2019-04-18 16:41:46 +00:00
XULMenuAccessible.h
XULSelectControlAccessible.cpp
XULSelectControlAccessible.h
XULTabAccessible.cpp
XULTabAccessible.h
XULTreeAccessible.cpp Bug 1543013 - part 1: Mark some methods of nsCoreUtils as MOZ_CAN_RUN_SCRIPT r=Jamie 2019-04-13 12:13:13 +00:00
XULTreeAccessible.h Bug 1543013 - part 1: Mark some methods of nsCoreUtils as MOZ_CAN_RUN_SCRIPT r=Jamie 2019-04-13 12:13:13 +00:00
XULTreeGridAccessible.cpp Bug 1543013 - part 1: Mark some methods of nsCoreUtils as MOZ_CAN_RUN_SCRIPT r=Jamie 2019-04-13 12:13:13 +00:00
XULTreeGridAccessible.h Bug 1543013 - part 1: Mark some methods of nsCoreUtils as MOZ_CAN_RUN_SCRIPT r=Jamie 2019-04-13 12:13:13 +00:00
moz.build