[Webkit-unassigned] [Bug 104835] Web Inspector: Don't throw exceptions in WebInspector.Color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 17 20:43:46 PST 2012


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





--- Comment #5 from Yury Semikhatsky <yurys at chromium.org>  2012-12-17 20:46:02 PST ---
(From update of attachment 179780)
View in context: https://bugs.webkit.org/attachment.cgi?id=179780&action=review

> Source/WebCore/inspector/front-end/StylesSidebarPane.js:1744
> +                if (text !== 'none') {

No need to check explicitly for 'none' as Color.parse would return null for it.

> Source/WebCore/inspector/front-end/StylesSidebarPane.js:1747
> +                if (!color) {

style: no braces around one-line blocks

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