From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cmo-0000.xspmail.jp ([202.238.198.57]) by ewsd; Wed Mar 11 02:36:45 EDT 2020 Received: from cmr-0002.xspmail.jp ([202.238.198.119]) by cmo with ESMTP id BurDjMzN8eKiSBuyvjV3jz; Wed, 11 Mar 2020 15:36:41 +0900 Received: from pi3L.jitaku.localdomain ([112.71.204.71]) by cmr with ESMTPA id BuyvjhHpjWSOFBuyvjKXnk; Wed, 11 Mar 2020 15:36:41 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hera.eonet.ne.jp; s=x01; t=1583908601; i=kokamoto@hera.eonet.ne.jp; bh=YpkZZYCVVlnuy5Udz3RoxeCZDo9UTMkCN4WyZJaJj0k=; h=To:Subject:Date:From; b=0merm7HDnTBsx4I8WUePzaao2/KMPyFX3QY1f+pmytFc5s0THIRzEehNykzV7oDmi 0DNWyEkbvxDEHpFAnVVookJ5D1ny0V9R/TH9FuO85itH0/HyXrFS1vY1IMBnyskpEc fPDTfu8G2vubGURJ3CtRcI9UNU9fbnLspqRycQmUVSgC9IFUyvNrbDQdvArSi7qjQe XNzm54fW2+bSy+yUM39Uhh/SlEGJO3xOrDeCPpM2WNq5pjCZquJ7WlS64jaTBQO1Ti 1zdSkHJUY7kTajR2AOVBeaOvPtIDzQpfJKCuXMzjzesmL/6P0hSzrXVYWdNdedJMlx wkHByFeoQkC2w== Message-ID: <8241A7164C792D348AD9BD941C063BB5@hera.eonet.ne.jp> To: 9front@9front.org Subject: adding javascript enable to netsurf Date: Wed, 11 Mar 2020 15:36:38 +0900 From: kokamoto@hera.eonet.ne.jp MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: mobile property framework I'm still struggling this. Error message says: javascript_init: redifinition: javascript_init (4481) TEXT javascript_init t0(SB). R0, $16 javascript_init is declared only once in ./netsurf/content/handlers/javascript/content.h: nserror javascript_init(void); However, I cannot find the body of that function anywhere... The javascript_init is called from ./netsurf/content/handlers/javascript/duktape/dukky.c like: /* exported interface documented in js.h */ void js_initialise(void) { /** TODO: Forces JS on for our testing, needs changing before a release * lest we incur the wrath of others. */ /* Disabled force-on for forthcoming release */ /* nsoption_set_bool(enable_javascript, true); */ javascript_init(); <==== } Please let me know the meaning of that comment, I'm not native English user, then, it is difficult to understand why then javascript_init() is used here... Kenji