期刊文献+

支持异步调用的WebKit浏览器的JavaScript事件扩展方法 被引量:4

A METHOD OF EXTENDING JAVASCRIPT EVENT SUPPORTING ASYNCHRONOUS INVOCATION MECHANISM IN WEBKIT BROWSER
下载PDF
导出
摘要 在嵌入式浏览器中,很多应用场景都需要进行JavaScript扩展,JavaScript代码和本地组件之间的异步调用是一个难点。针对这种情况,基于业界普遍采用的Web Kit内核浏览器,提出一种扩展JavaScript对象的方法。首先研究WebKit中WebCore和JavaScript引擎的绑定机制,然后提出扩展JavaScript对象和自定义JavaScript事件的方法,并给出相应实验结果。实验结果表明该扩展方法的有效性,特别适于解决JavaScript和本地组件的异步调用问题。 JavaScript extension is needed in many application scenarios in embedded browsers, and asynchronous invocation between JavaScript code and native module is a problem. In view of this, we proposed a method of extending JavaScript object based on the browser with WebKit core widely used in the industry. First, we studied the binding mechanism between WebCore and JavaScript engine in WebKit. Then we raised the methods of extending JavaScript object and customising JavaScript event, and presented the corresponding experimental result. Experimental result showed the validity of the JavaScript extension method, it was especially suitable for asynchronous invocation between JavaSeript and native module.
出处 《计算机应用与软件》 CSCD 2016年第1期226-229,共4页 Computer Applications and Software
基金 国家科技支撑计划课题(2012BAH73F01 2012BAH02B01)
关键词 WEBKIT JavaScript扩展 JavaScript事件扩展 异步调用 WebKit JavaScript extension JavaScript event extension Asynchronous invocation
  • 相关文献

参考文献6

二级参考文献21

  • 1郑炜,陈榕,苏翼鹏,殷人昆.CAR构件编程技术中的自描述特性[J].计算机工程与应用,2005,41(9):95-98. 被引量:4
  • 2李辉,陈榕.一种新型的编程模型——CAR事件编程模型[J].计算机工程与应用,2005,41(10):86-90. 被引量:3
  • 3YEE B, SEHR D, DARDYK G, et al. Native client: A sandbox for portable, Untrusted x86 native code[ EB/OL]. [ 2009 - 04 - 25]. http://nativeclient.googlecode. com/svn/data/docs _ tarball/nacl/ googleclient/native_client/documentation/nacl_paper. pdf.
  • 4JavaScriptCore framework reference[ EB/OL]. [2009 -04 -28]. http://developer. apple. com/documentation/Carbon/Reference/ WebKit_ JavaScriptCore _ Ref/index. html #//apple _ ref/doc/uid/ TP40004754.
  • 5Elastos资料大全[R].上海科泰世纪科技有限公司,2008.
  • 6The WebKit open source project[ EB/OL]. [2009 -04- 28]. http://webkit. org/.
  • 7JavaScriptCore Framework Reference[ EB/OL]. 2008-10. http ://developer. apple. com/documentation/Carbon/Reference/WebKit_ JavaScriptCore_ Ref/index. html#//apple_ref/ doc/uid/TP40004754. Apple Inc, October 2008.
  • 8Grosskurth A, Godfrey M W. Architecture and evolution of the modern web browser [ M ]//David R. Canada: Cheriton School of Computer Science, University of Waterloo.2006.
  • 9Kortide. CAR' s Manual [ EB/OL]. 2009-07. http ://www. kortide. com.cn.
  • 10Box D. Essential COM [ EB/OL]. 1997. http ://download. csdn. net/source/1598215.

共引文献13

同被引文献37

引证文献4

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部