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)
Core
DOM: Editor
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
.
Assignee | ||
Comment 1•6 years ago
|
||
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
Updated•6 years ago
|
Priority: -- → P3
Comment 3•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Assignee | ||
Updated•5 years ago
|
Blocks: redesign-editor-scriptable-API
You need to log in
before you can comment on or make changes to this bug.
Description
•