[Webkit-unassigned] [Bug 150157] Web Inspector: console.assert inside WebInspector.FormatterContentBuilder.prototype.dedent fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 20 17:01:36 PDT 2015


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

--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org> ---
TEST:

(function() {
    function foo() {
        if (true)
            if (true) {
                if (true)
                    return 1;
                if (true)
                    return 2;
                if (true)
                    return 3;
                if (true)
                    return 4;
                if (true)
                    return 5;
            } else 
                return 6;
        else if (true)
            return 7;
        return b
    }
})();


PRETTY PRINTS TO:

(function() {
    function foo() {
        if (true)
            if (true) {
                if (true)
                    return 1;
                    if (true)
                        return 2;
                        if (true)
                            return 3;
                            if (true)
                                return 4;
                                if (true)
                                    return 5;
            } else 
                return 6;
                else if (true)
    return 7;
return b
}
})();

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151021/36645e31/attachment.html>


More information about the webkit-unassigned mailing list