2010-02-17 2 views
2

나는 배운 내용을 이해하려고 노력하고 있습니다. NPRuntime. Here 언급에서 모질라 중앙의 NPRuntime 플러그인에서 NPRuntime 플러그인의 예는 다음 줄어떻게 NPRuntime에 xpt 파일이 필요합니까?

// ============================== 
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 desn't는 XPT에게 파일을 복사 할 필요 xpt 파일은 에 해당하며 XPCOMNPRuntime은 사용하지 않습니다. XPCOM 위에서 언급 한 내용은 무엇을 의미합니까?

답변

4

실제 코드에서 볼 수 있듯이이 주석은 xpt와 nsScriptablePeer에 관한 것입니다. 이 문제에 대한 Core : Plugins에 버그를 제기하고 코멘트에 언급하십시오 (패치의 보너스 포인트!)

+1

감사합니다. 버그가보고되었습니다 : https://bugzilla.mozilla.org/show_bug.cgi?id= 546629 ... 패치를 만들지 못했습니다 :) – Xinus

관련 문제