MantisBT - NetSurf | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0002538 | NetSurf | Javascript | public | 2017-05-09 07:09 | 2017-06-09 19:42 |
Reporter | lionwes | ||||
---|---|---|---|---|---|
Assigned To | |||||
Priority | normal | Severity | major | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Platform | ARM 9 | OS | linux | OS Version | linux 3.10 |
Product Version | 3.6 | ||||
Target Version | Fixed in Version | ||||
Fixed in CI build # | |||||
Reported in CI build # | |||||
URL of problem page | |||||
Summary | 0002538: dukky_document_write: error; no parser for htmlc | ||||
Description | javascript can not use "document.write" ? (93.436013) content/handlers/javascript/duktape/dukky.c:820 dukky_generic_event_handler: WOOP WOOP, An event: (93.436546) content/handlers/javascript/duktape/dukky.c:827 dukky_generic_event_handler: Event's name is click (93.436921) content/handlers/javascript/duktape/dukky.c:837 dukky_generic_event_handler: Event phase is: at-target (2) (93.440171) content/handlers/javascript/duktape/dukky.c:88 dukky_create_object: name=NETSURF_DUKTAPE_PROTOTYPE_EVENT nargs=1 (93.441180) content/handlers/javascript/duktape/dukky.c:80 dukky_populate_object: Call the init function (93.441646) content/handlers/javascript/duktape/dukky.c:109 dukky_create_object: created (93.443055) content/handlers/javascript/duktape/dukky.c:80 dukky_populate_object: Call the init function (93.444030) Document.bnd:47 dukky_document_write: error; no parser for htmlc: 0xd52d78 (93.445005) content/handlers/javascript/duktape/dukky.c:820 dukky_generic_event_handler: WOOP WOOP, An event: (93.445380) content/handlers/javascript/duktape/dukky.c:827 dukky_generic_event_handler: Event's name is click (93.445913) content/handlers/javascript/duktape/dukky.c:837 dukky_generic_event_handler: Event phase is: bubbling (3) (93.449655) Document.bnd:47 dukky_document_write: error; no parser for htmlc: 0xd52d78 | ||||
Additional Information | <html> <script type="text/javascript"> function RepeatWrite(){ var newContent = "<html><head><title>A New Doc</title></head>" newContent += "<body bgcolor='aqua'><h1>This document is brand new.</h1>" newContent += "Click the Back button to see original document." newContent += "</body></html>" document.write(newContent); document.close(); } </script> </head> <body> <form> <input type="button" value="Replace Content" onClick="RepeatWrite()"> </form> </body> </html> | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
There are no notes attached to this issue. |
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2017-05-09 07:09 | lionwes | New Issue | |||
2017-05-09 13:41 | lionwes | Issue cloned: 0002539 | |||
2017-06-09 19:42 | Vincent Sanders | Status | new => acknowledged | ||
2017-06-09 19:42 | Vincent Sanders | Additional Information Updated | bug_revision_view_page.php?rev_id=1960#r1960 |