NEW 150157
Web Inspector: console.assert inside WebInspector.FormatterContentBuilder.prototype.dedent fails
https://bugs.webkit.org/show_bug.cgi?id=150157
Summary Web Inspector: console.assert inside WebInspector.FormatterContentBuilder.pro...
Nikita Vasilyev
Reported 2015-10-14 22:15:10 PDT
Created attachment 263139 [details] [Image] Screenshot Steps: 1. Open http://n12v.com/focus-transition/ 2. Open Resources tab 3. Expand youtube section, click on www-embed-player-new.js Console log: WebKitBuild/Debug/WebInspectorUI.framework/Resources/Controllers/FormatterContentBuilder.js:171:23: CONSOLE ERROR WebKitBuild/Debug/WebInspectorUI.framework/Resources/Controllers/FormatterContentBuilder.js:171:23: CONSOLE ERROR
Attachments
[Image] Screenshot (155.71 KB, image/png)
2015-10-14 22:15 PDT, Nikita Vasilyev
no flags
Radar WebKit Bug Importer
Comment 1 2015-10-14 22:15:22 PDT
Joseph Pecoraro
Comment 2 2015-10-20 17:01:36 PDT
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 } })();
Note You need to log in before you can comment on or make changes to this bug.