2017-05-25 02:04 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002538NetSurfJavascriptpublic2017-05-09 14:41
Reporterlionwes 
Assigned To 
SeveritymajorReproducibilityalways 
StatusnewResolutionopen 
PlatformARM 9OSlinuxOS Versionlinux 3.10
Product Version3.6 
Target VersionFixed in Version 
Summary0002538: dukky_document_write: error; no parser for htmlc
Descriptionjavascript 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
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2017-05-09 08:09 lionwes New Issue
2017-05-09 14:41 lionwes Issue cloned: 0002539
+Issue History