gecko-dev/layout/forms
Masayuki Nakano 2fde14a338 Bug 1623918 - part 2: Mark `nsINode::GetSelectionRootContent()` and its root callers as `MOZ_CAN_RUN_SCRIPT` as far as possible r=smaug
This patch tries to mark root callers of `nsINode::GetSelectionRootContent()`
which calls `nsINode::GetAnonymousRootElementOfTextEditor()` as far as possible
(and reasonable).

It's used by `ContentEventHandler` so that a lot of methods of
`EventStateManager`, `ContentEventHandler`, `IMEContentObserver` which are main
users of it are also marked as `MOZ_CAN_RUN_SCRIPT`.  I think that this is
reasonable.

On the other hand, it might not be reasonable to mark `IMEStateManager` methods
as `MOZ_CAN_RUN_SCRIPT` for initializing `IMEContentObserver` because
`IMEStateManager` may be able to initialize `IMEContentObserver` asynchronously
and its root callers are in XUL layout code.  Therefore, this patch uses
`MOZ_CAN_RUN_SCRIPT_BOUNDARY` for `IMEStateManager` at least for now.

Differential Revision: https://phabricator.services.mozilla.com/D92730
2020-10-09 02:37:47 +00:00
..
crashtests
test Bug 1648149 - Move GeckoViewContent to Actor. r=snorp 2020-08-14 14:48:37 +00:00
moz.build Bug 558594 - Implement layout for <input type='search'>. r=emilio,masayuki 2020-07-27 12:09:40 +00:00
nsButtonFrameRenderer.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
nsButtonFrameRenderer.h Bug 1630704 - Part 28: Remove nsFrame r=emilio 2020-07-06 22:38:11 +00:00
nsCheckboxRadioFrame.cpp Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsCheckboxRadioFrame.h Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsColorControlFrame.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsColorControlFrame.h
nsComboboxControlFrame.cpp Bug 1667594 - Avoid including nsLayoutUtils.h in nsContainerFrame.h. r=emilio 2020-09-26 18:19:14 +00:00
nsComboboxControlFrame.h Bug 1667594 - Avoid including nsLayoutUtils.h in nsContainerFrame.h. r=emilio 2020-09-26 18:19:14 +00:00
nsDateTimeControlFrame.cpp Bug 1667510 - Make nsDateTimeControlFrame not do math on nscoord_MAX. r=dholbert 2020-09-28 18:31:20 +00:00
nsDateTimeControlFrame.h Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsFieldSetFrame.cpp Bug 1667594 - Avoid including nsLayoutUtils.h in nsContainerFrame.h. r=emilio 2020-09-26 18:19:14 +00:00
nsFieldSetFrame.h Bug 1667594 - Avoid including nsLayoutUtils.h in nsContainerFrame.h. r=emilio 2020-09-26 18:19:14 +00:00
nsFileControlFrame.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
nsFileControlFrame.h
nsGfxButtonControlFrame.cpp Bug 1630704 - Part 27: Remove nsFrame from inheritance chain r=emilio 2020-07-06 22:29:42 +00:00
nsGfxButtonControlFrame.h
nsHTMLButtonControlFrame.cpp Bug 1651171 - Convert NS_SUBTREE_DIRTY to an inline method of nsIFrame. r=jfkthame 2020-07-09 18:29:15 +00:00
nsHTMLButtonControlFrame.h Bug 1662813 - Factor out the "should print backgrounds" checks to nsIFrame. r=mats 2020-09-02 21:30:59 +00:00
nsIFormControlFrame.h
nsISelectControlFrame.h
nsITextControlFrame.h
nsImageControlFrame.cpp Bug 1630704 - Part 27: Remove nsFrame from inheritance chain r=emilio 2020-07-06 22:29:42 +00:00
nsLegendFrame.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsLegendFrame.h
nsListControlFrame.cpp Bug 1649278 - Don't do PreventDefault for escape key if <select> dropdown is not shown r=smaug 2020-07-15 19:00:30 +00:00
nsListControlFrame.h
nsMeterFrame.cpp Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsMeterFrame.h Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsNumberControlFrame.cpp Bug 1655430 - Deduplicate a bit code to create anonymous elements in ns{Number,Search,Text}ControlFrame. r=jfkthame 2020-07-27 13:55:15 +00:00
nsNumberControlFrame.h Bug 1655430 - Deduplicate a bit code to create anonymous elements in ns{Number,Search,Text}ControlFrame. r=jfkthame 2020-07-27 13:55:15 +00:00
nsProgressFrame.cpp Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsProgressFrame.h Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsRangeFrame.cpp Bug 1668905 - Replace the nsRangeFrame dummy listener with setting a flag on CompositorHitTestInfo directly. r=miko 2020-10-07 19:48:23 +00:00
nsRangeFrame.h Bug 1668905 - Replace the nsRangeFrame dummy listener with setting a flag on CompositorHitTestInfo directly. r=miko 2020-10-07 19:48:23 +00:00
nsSearchControlFrame.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
nsSearchControlFrame.h Bug 1655430 - Deduplicate a bit code to create anonymous elements in ns{Number,Search,Text}ControlFrame. r=jfkthame 2020-07-27 13:55:15 +00:00
nsSelectsAreaFrame.cpp Bug 1637130 - Rename visual overflow to ink overflow. r=dbaron 2020-07-20 20:17:36 +00:00
nsSelectsAreaFrame.h
nsTextControlFrame.cpp Bug 1168478 Part 1 - Combine the border and padding argument for nsIFrame::ComputeAutoSize(). r=dholbert 2020-09-14 20:39:17 +00:00
nsTextControlFrame.h Bug 1623918 - part 2: Mark `nsINode::GetSelectionRootContent()` and its root callers as `MOZ_CAN_RUN_SCRIPT` as far as possible r=smaug 2020-10-09 02:37:47 +00:00