View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0002751 | NetSurf | Javascript | public | 2020-04-19 21:25 | 2020-05-21 20:27 | ||||||||
Reporter | Krsna | ||||||||||||
Assigned To | |||||||||||||
Severity | feature | Reproducibility | always | ||||||||||
Status | acknowledged | Resolution | open | ||||||||||
Platform | x86_64 | OS | Void Linux | OS Version | Kernel 5.6.3_1 | ||||||||
Product Version | 3.9 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0002751: Javascript errors out | ||||||||||||
Description | All JS that invokes document (basically everything) errors out: (6.569686) content/handlers/html/html.c:94 fire_dom_event: Dispatching 'click' against 0x559f88549a50 (6.570662) content/handlers/javascript/duktape/dukky.c:1084 dukky_generic_event_handler: was at: ?inline script? line 34 (6.570703) content/handlers/javascript/duktape/dukky.c:1087 dukky_generic_event_handler: Stack trace: TypeError: cannot read property 'document' of undefined at [anon] (content/handlers/javascript/duktape/duktape.c:56524) internal at submitTryit (?inline script?:34) at [anon] (internal raw uncompiled handler:1) preventsyield Tried to build with latest version of duktape as well and same issue. | ||||||||||||
Steps To Reproduce | 1. Enable JS in netsurf. 2. navigate to a simple test https://www.w3schools.com/js/tryit.asp?filename=tryjs_alert 3. click the Run button | ||||||||||||
Additional Information | The "search from url bar" option also seems to have no effect. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Fixed in CI build # | |||||||||||||
Reported in CI build # | |||||||||||||
URL of problem page | https://www.w3schools.com/js/tryit.asp?filename=tryjs_alert | ||||||||||||
Attached Files |
|
Notes | |
Krsna (reporter) 2020-04-25 07:09 |
(11.889771) content/fs_backing_store.c:753 write_entries: Wrote out 11 entries (14.430525) content/handlers/html/html.c:118 fire_generic_dom_event: Dispatching 'click' against 0x5555b084fac0 (14.431023) content/handlers/javascript/duktape/dukky.c:1211 dukky_generic_event_handler: was at: ?inline script? line 34 (14.431042) content/handlers/javascript/duktape/dukky.c:1214 dukky_generic_event_handler: Stack trace: TypeError: cannot read property 'document' of undefined at [anon] (content/handlers/javascript/duktape/duktape.c:57262) internal at submitTryit (?inline script?:34) at [anon] (internal raw uncompiled handler:1) preventsyield saminsh error built from bf4cbc95b0a4d57dd90908dca5524801af4ca91e |
Vincent Sanders (administrator) 2020-05-21 20:27 |
this is a deficiency in the current javascript implementation which will be addressed in future improvements |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-04-19 21:25 | Krsna | New Issue | |
2020-04-25 07:09 | Krsna | Note Added: 0002185 | |
2020-05-21 20:27 | Vincent Sanders | Severity | block => feature |
2020-05-21 20:27 | Vincent Sanders | Status | new => acknowledged |
2020-05-21 20:27 | Vincent Sanders | Note Added: 0002190 |