Bug 130921

Summary: Web Inspector: console.warn is showing as error instead of warning
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ggaren, graouts, joepeck, mark.lam, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Joseph Pecoraro
Reported 2014-03-28 17:16:23 PDT
I regressed this when I moved console to JavaScriptCore. We are accidentally reporting console.warn as MessageLevel::Error instead of MessageLevel::Warning. Take this opportunity to add a test, and update the fronted to use our enums instead of raw strings.
Attachments
[PATCH] Proposed Fix (6.30 KB, patch)
2014-03-28 17:19 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2014-03-28 17:18:43 PDT
Joseph Pecoraro
Comment 2 2014-03-28 17:19:05 PDT
Created attachment 228098 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 3 2014-03-28 17:31:05 PDT
Comment on attachment 228098 [details] [PATCH] Proposed Fix Clearing flags on attachment: 228098 Committed r166439: <http://trac.webkit.org/changeset/166439>
WebKit Commit Bot
Comment 4 2014-03-28 17:31:07 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.