Bug 709400: Make all methods on nsIInlineSpellChecker scriptable so that it can be overriden from JS. r=ehsan
authorKyle Huey <khuey@kylehuey.com>
Thu, 05 Jan 2012 11:26:14 -0500
changeset 85088 65983b0e4a7646496287e199bd94909dae62fd77
parent 85087 a85767e77c0f66dfdefde27ee578db31f784f362
child 85089 b0e65467c4c834dcc2209fed1f9f44bfd157dedb
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs709400
milestone12.0a1
Bug 709400: Make all methods on nsIInlineSpellChecker scriptable so that it can be overriden from JS. r=ehsan
editor/txtsvc/public/nsIInlineSpellChecker.idl
--- a/editor/txtsvc/public/nsIInlineSpellChecker.idl
+++ b/editor/txtsvc/public/nsIInlineSpellChecker.idl
@@ -44,18 +44,18 @@ interface nsIEditor;
 interface nsIEditorSpellCheck;
 
 [scriptable, uuid(df635540-d073-47b8-8678-18776130691d)]
 
 interface nsIInlineSpellChecker : nsISupports
 {
   readonly attribute nsIEditorSpellCheck spellChecker;
 
-  [noscript] void init(in nsIEditor aEditor);
-  [noscript] void cleanup(in boolean aDestroyingFrames);
+  void init(in nsIEditor aEditor);
+  void cleanup(in boolean aDestroyingFrames);
 
   attribute boolean enableRealTimeSpell;
 
   void spellCheckAfterEditorChange(in long aAction,
                                    in nsISelection aSelection,
                                    in nsIDOMNode aPreviousSelectedNode,
                                    in long aPreviousSelectedOffset,
                                    in nsIDOMNode aStartNode,