摘要: NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS is used for classes that have JS references or a mix of JS and C++ references to report. This participant... 阅读全文
posted @ 2015-07-17 18:21 coding4范儿 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Mozilla FireFox Gecko内核源代码解析(1.nsParser) 阅读全文
posted @ 2015-07-17 18:17 coding4范儿 阅读(114) 评论(0) 推荐(0) 编辑
摘要: MOZ_FINAL:http://whereswalden.com/2011/11/26/introducing-moz_final-prevent-inheriting-from-a-class-or-prevent-overriding-a-virtual-function/MOZ_OVERRI... 阅读全文
posted @ 2015-07-17 18:13 coding4范儿 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 当我们实现了一个module,并且通过navigator.mozCustomModule访问根据module的实现方式的不同,有几种不同的做法。1. XPCOM component(Javascript实现): 在chrome.manifest中配置(加粗部分):component {Compon... 阅读全文
posted @ 2015-07-17 16:05 coding4范儿 阅读(293) 评论(0) 推荐(0) 编辑