Closed
Bug 709400
Opened 13 years ago
Closed 13 years ago
Would like to to override nsIInlineSpellChecker with javascript but [noscript] methods are blocking it.
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: josh, Assigned: khuey)
Details
(Whiteboard: [good first bug][mentor=ehsan])
Attachments
(1 file)
1013 bytes,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1
Build ID: 20110928161145
Steps to reproduce:
I have a project that overrides nsIInlineSpellChecker in C++ code.
I would like to convert it to Javascript, but there are two [noscript] methods in nsIInlineSpellChecker that are blocking the creation of a Javascript object that can replace mozInlineSpellChecker successfully.
[noscript] void init(in nsIEditor aEditor);
[noscript] void cleanup(in boolean aDestroyingFrames);
Is [noscript] required on these methods? Is it possible to remove it?
Assignee | ||
Comment 1•13 years ago
|
||
Looks like it was this way in the initial checkin http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/editor/txtsvc/public/nsIInlineSpellChecker.idl&rev=1.1&root=/cvsroot
I don't see any reason why we can't drop [noscript] here. Ehsan?
Status: UNCONFIRMED → NEW
Component: General → Editor
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → editor
Assignee | ||
Comment 3•13 years ago
|
||
Updated•13 years ago
|
Attachment #586053 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in
before you can comment on or make changes to this bug.
Description
•