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

List:       konq-bugs
Subject:    [Bug 133071] New: Crash when getting characterSet on a created
From:       Fredrik Johansson <fredrik () mumme ! se>
Date:       2006-08-27 12:28:59
Message-ID: 20060827142858.133071.fredrik () mumme ! se
[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=133071         
           Summary: Crash when getting characterSet on a created document
           Product: konqueror
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: khtml ecma
        AssignedTo: konq-bugs kde org
        ReportedBy: fredrik mumme se


Version:           kde 3.5 branch r577316 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          g++4.0.3 Kubuntu dapper x86_64 
OS:                Linux

If you create a new document in javascript and later gets its characterSet, Khtml crashes.

<script>
      var doc = document.implementation.createDocument("", "", null);
      doc.loadXML("<root>hello world</root>");
      // the crash, happens because the new document does'nt have a view,
      // encoding is part of Khtml view
      doc.characterSet;
</script>

The same holds true for a xml document created by XMLHttpRequest and DOMParser.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://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