Bug #2300

plugin.createSettings is not working on duktape?

Added by Leonid Protasov over 6 years ago. Updated over 6 years ago.

Status:FixedStart date:10/30/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:-
Target version:4.8
Found in version:Latest BE Platform:Linux

Description

ECMASCRIPT [ERROR]: TypeError (call target not an object) at file:///root/showtime-plugins/divan_tv/divan_tv.js:97
ECMASCRIPT [ERROR]: STACK DUMP: TypeError: call target not an object
                        duk_js_executor.c:2761
                        anon file:///root/showtime-plugins/divan_tv/divan_tv.js:97
                        global file:///root/showtime-plugins/divan_tv/divan_tv.js:643 preventsyield
                        call  native strict preventsyield
                        global dataroot://resources/ecmascript/legacy/api-v1.js:71 preventsyield

Line 97 is:

var settings = plugin.createSettings(plugin.getDescriptor().id, logo, plugin.getDescriptor().synopsis);

Associated revisions

Revision 1637e7c1
Added by Andreas Smas over 6 years ago

ecmascript: Add support for settings in legacy wrapper

Fixes #2300

Change included in version 4.7.409

History

#1 Updated by Andreas Smas over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF