@return the javascript context for the current thread
()
| 114 | * @return the javascript context for the current thread |
| 115 | */ |
| 116 | private Context getContext() { |
| 117 | Context context = cx.get(); |
| 118 | if (context == null) { |
| 119 | context = Context.enter(); |
| 120 | cx.set(context); |
| 121 | } |
| 122 | return context; |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * evaluate a javascript String |
no test coverage detected