[Webkit-unassigned] [Bug 59108] Web Inspector: group content scripts in the scripts panel drop down.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 22 05:37:39 PDT 2011


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


Yury Semikhatsky <yurys at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #90547|review?                     |review+
               Flag|                            |




--- Comment #2 from Yury Semikhatsky <yurys at chromium.org>  2011-04-22 05:37:39 PST ---
(From update of attachment 90547)
View in context: https://bugs.webkit.org/attachment.cgi?id=90547&action=review

> Source/WebCore/inspector/front-end/ScriptsPanel.js:292
> +            if (a.isContentScript && !b.isContentScript)

you could use difference between two boolean values instead of these two statements:

var d = !!a.isContentScript - !!b.isContentScript;
if (!d) return d;

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