我试图理解我对 NPRuntime所学到的一切。这是来自NPRuntime插件的mozilla-central的NPRuntime插件示例,其中提到了以下几行
// ==============================
145 // ! Scriptability related code !
146 // ==============================
147 //
148 // here the plugin is asked by Mozilla to tell if it is scriptable
149 // we should return a valid interface id and a pointer to
150 // nsScriptablePeer interface which we should have implemented
151 // and which should be defined in the corressponding *.xpt file
152 // in the bin/components folder
现在 AFAIK NPRuntime不需要复制xpt文件,xpt文件特定于XPCOM并且NPRuntime不使用XPCOM。那么上面的语句是什么意思呢?