Bug 306855 (okular-js)

Summary: Support Javascript
Product: [Applications] okular Reporter: Albert Astals Cid <aacid>
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: flying-sheep, m.weghorn, pancho.s, ssameer+bugs
Priority: NOR    
Version: 0.15.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 223022, 258941, 301607, 307304, 177473, 236302, 263631    

Description Albert Astals Cid 2012-09-15 17:48:05 UTC
We (and poppler) have a very limited javascript support. This is a metabug I'll use to link all the other javascript bugs here.
Comment 1 ssameer+bugs 2014-11-16 20:42:21 UTC
The pdf viewer mupdf (mupdf.com) has javascript support using the V8 and JavaScriptCore interpreters. They have also built their own MuJS interpreter (mujs.com). I hope we can use one of these interpreters for okular.
Comment 2 Philipp A. 2014-11-17 12:09:06 UTC
well we have Qt, which has webkit’s JavaScriptCore already embedded, so we don’t need more JS runtimes.

unless this has to be implemented in poppler because the JS API would need access to some non-public poppler API, i’d say that one should be used.