2024-03-28 10:22 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002539NetSurfJavascriptpublic2018-08-29 14:02
Reporterlionwes 
Assigned To 
SeveritymajorReproducibilityalways 
StatusclosedResolutionduplicate 
PlatformARM 9OSlinuxOS Versionlinux 3.10
Product Version3.6 
Target VersionFixed in Version3.8 
Summary0002539: dukky_document_write: error; no parser for htmlc
DescriptionFor cross-compiling NetSurf web browser for ARM926-EJs running under embedded linux

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>
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem page
Attached Files

-Relationships
+Relationships

-Notes
John-Mark Bell

~0001711

John-Mark Bell (administrator)

Duplicate of 0002538
Vincent Sanders

~0001834

Vincent Sanders (administrator)

Thank you for your report, this has been resolved in the 3.8 release
+Notes

-Issue History
Date Modified Username Field Change
2017-05-09 13:41 lionwes New Issue
2017-05-09 13:41 lionwes Issue generated from: 0002538
2017-06-09 19:41 Vincent Sanders Status new => acknowledged
2018-01-21 00:05 John-Mark Bell Status acknowledged => resolved
2018-01-21 00:05 John-Mark Bell Resolution open => duplicate
2018-01-21 00:05 John-Mark Bell Note Added: 0001711
2018-08-29 14:02 Vincent Sanders Status resolved => closed
2018-08-29 14:02 Vincent Sanders Fixed in Version => 3.8
2018-08-29 14:02 Vincent Sanders Note Added: 0001834
+Issue History