[Webkit-unassigned] [Bug 15367] New: Assertion failure inspectiong a document including soft hyphen code(0xad) with Web Inspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 4 04:13:28 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15367

           Summary: Assertion failure inspectiong a document including soft
                    hyphen code(0xad) with Web Inspector
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
               URL: http://gyuque.googlepages.com/crash1.html
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gyuque at gmail.com
                CC: gyuque at gmail.com


Safari version: 3.0.4 for Windows
WebKit revision: r26024 (Debug build)
OS: Windows XP SP2 (Japanese)

Steps to reproduce:
1a. Open http://gyuque.googlepages.com/crash0.html with Safari
                 or
1b. Open http://gyuque.googlepages.com/crash1.html with Safari

2. Select an (any) element and select "Inspect Element" from its context menu.
3. Assert!

Assertion fails on "RenderText::calcPrefWidths()" due to incorrect soft hyphen
code.
(
http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/rendering/RenderText.cpp?rev=25754#L586
)

Although the author didn't tuck soft hyphens into the document, this bug also
occurs in utf-8 encoded Japanese documents. (Step 1a)
Strings created by "addSourceToFrame()" include (wchar_t)0x00ad because the
function forcibly uses Windows-1252 to decode utf-8 strings.
(
http://trac.webkit.org/projects/webkit/browser/trunk/WebCore/page/InspectorController.cpp?rev=25769#L230
)


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list