[Webkit-unassigned] [Bug 108004] New: [chromium] WebConsoleMessage is missing LevelDebug (chromium bug 172416)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 26 00:06:53 PST 2013


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

           Summary: [chromium] WebConsoleMessage is missing LevelDebug
                    (chromium bug 172416)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kevinday at gmail.com


http://code.google.com/p/chromium/issues/detail?id=172416

console.debug() causes a NOTREACHED() assert in content::RenderViewImpl::didAddMessageToConsole. 

WebCore::Console:debug calls Webcore::internalAddMessage with a MessageLevel of DebugMessageLevel. This makes it through to Webkit::ChromeClientImpl::addMessageToConsole, which casts it from WebCore::MessageLevel to WebConsoleMessage::Level.

WebCore::MessageLevel (third_party/WebKit/Source/WebCore/page/ConsoleTypes.h) is an enum of 5 levels:

enum MessageLevel {
    TipMessageLevel,
    LogMessageLevel,
    WarningMessageLevel,
    ErrorMessageLevel,
    DebugMessageLevel
};

WebConsoleMessage::Level (third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h) is an enum of only 4 levels:

    enum Level {
        LevelTip,
        LevelLog,
        LevelWarning,
        LevelError
    };

-- 
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