Make accessible use mozilla::PresShell directly rather than via nsIPresShell
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(2 files)
Assignee | ||
Comment 1•7 years ago
|
||
This patch makes accessible module use mozilla::PresShell
directly rather
than via nsIPresShell
. Additionally, marks some nsCoreUtils methods as
MOZ_CAN_RUN_SCRIPT
to guarantee lifetime of their arguments.
Note that in DocAccessible
and its sub classes, PresShell
needs to be
mozilla::PresShell
for avoiding conflict with DocAccessible::PresShell()
.
Assignee | ||
Comment 2•7 years ago
|
||
This patch marks some methods of nsCoreUtils which are found at writing the
following patches, as MOZ_CAN_RUN_SCRIPT
.
Due to bug 1543294, some of them are marked as MOZ_CAN_RUN_SCRIPT_BOUNDARY
because MOZ_CAN_RUN_SCRIPT
requires to change base class, but that's
other licenses header or used in our code too many places.
Updated•7 years ago
|
![]() |
||
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7f7f40328e31
https://hg.mozilla.org/mozilla-central/rev/5e25c3854986
Description
•