Closed Bug 1549925 Opened 6 years ago Closed 6 years ago

Mark all methods of nsIDocumentStateListener as can_run_script

Categories

(Core :: DOM: Editor, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

nsIDocumentStateListener is a scriptable interface and each method may run any script. So, we should mark them as can_run_script. Then, we need to mark a lot of editing methods because we need to mark EditorBase::EndTransactionInternal() and EditorBase::DoTransactionInternal() as MOZ_CAN_RUN_SCRIPT.

nsIDocumentStateListener is a scriptable interface and each method may run
any script. So, we should mark them as can_run_script. Then, we need to
mark a lot of editing methods because we need to mark
EditorBase::EndTransactionInternal() and EditorBase::DoTransactionInternal()
as MOZ_CAN_RUN_SCRIPT.

Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/182cddeb1d5c Mark all methods of nsIDocumentStateListener as can_run_script r=m_kato
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: