[Webkit-unassigned] [Bug 105002] New: trailing whitespace sometimes goes missing when inserted via innerHTML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 14 01:41:21 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105002

           Summary: trailing whitespace sometimes goes missing when
                    inserted via innerHTML
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jochen at chromium.org
                CC: eric at webkit.org, rniwa at webkit.org


when running fast/workers/shared-worker-location.html in content_shell, it flakily fails because log messages that have a trailing whitespace actually don't have it. The code

document.getElementById("result").innerHTML += message + "<br>";  (from resources/worker-location.html)

sometimes skips the trailing whitespace of "message". This seems to happen esp. when the test was running very fast. E.g. instead of

location.host:_   (where _ is a whitespace), the test result is location.host:

This reproduces pretty well when running the test in content_shell on Linux, and the patch from https://codereview.chromium.org/11576003/ applied. The patch disables graphical output which speeds up content_shell a lot.

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



More information about the webkit-unassigned mailing list