[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 44288] Dynamically inserted scripts do not work
From:       David Faure <faure () kde ! org>
Date:       2002-10-31 16:40:50
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=44288     
faure@kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|kjs                         |khtml
      everconfirmed|0                           |1



------- Additional Comments From faure@kde.org  2002-10-31 17:40 -------
Complete testcase for the one who'll fix this bug (i.e. Dirk ;)       
  
<script>  
function doit() {  
  document.open();  
  var obj = document.createElement("SCRIPT");  
  obj.src = "hello.js";  
  document.write("<P>doit called<br/>");   
  document.body.appendChild(obj);   
  document.close();  
}  
</script>  
<body onload="doit()">  
</body>  
  
Contents of hello.js:  document.writeln("IT WORKS<br/>");  
  
Other browsers don't seem to need the document.open()/document.close(), but 
that would be another bug :) 
Currently KHTML shows "doit called" but not "IT WORKS".
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic