Exception in console on attempt to filter javascript messages by source if console groups are used.
Created attachment 195127 [details] Patch
Comment on attachment 195127 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=195127&action=review > Source/WebCore/inspector/front-end/ConsoleMessage.js:779 > + if (!this._element) return; return should be on the next line > Source/WebCore/inspector/front-end/ConsoleView.js:559 > + } else if (sourceMessage.type === WebInspector.ConsoleMessage.MessageType.StartGroup || sourceMessage.type === WebInspector.ConsoleMessage.MessageType.StartGroupCollapsed) { This needs a test > Source/WebCore/inspector/front-end/ConsoleView.js:673 > + this._messages.push(message); Let migrate tests back to this._messages
Created attachment 195315 [details] Patch
Comment on attachment 195127 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=195127&action=review >> Source/WebCore/inspector/front-end/ConsoleMessage.js:779 >> + if (!this._element) return; > > return should be on the next line Done. >> Source/WebCore/inspector/front-end/ConsoleView.js:559 >> + } else if (sourceMessage.type === WebInspector.ConsoleMessage.MessageType.StartGroup || sourceMessage.type === WebInspector.ConsoleMessage.MessageType.StartGroupCollapsed) { > > This needs a test Added tests. >> Source/WebCore/inspector/front-end/ConsoleView.js:673 >> + this._messages.push(message); > > Let migrate tests back to this._messages Tests shouldn't use _messages field, but instead use DOM generated by console.
Comment on attachment 195315 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=195315&action=review > LayoutTests/inspector/console/console-filter-test.html:17 > + log1(i + "topGroup"); // from console-filter-test.html Please don't change the tests when doing refactorings - it is hard to spot the regression and merge if necessary.
Comment on attachment 195315 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=195315&action=review >> LayoutTests/inspector/console/console-filter-test.html:17 >> + log1(i + "topGroup"); // from console-filter-test.html > > Please don't change the tests when doing refactorings - it is hard to spot the regression and merge if necessary. That's the test which I wrote, and which originally worked fine(before and after refactoring). I just made this test to cover additional group-related cases.
Created attachment 195966 [details] Patch
The commit-queue encountered the following flaky tests while processing attachment 195966 [details]: fast/preloader/document-write-noscript.html bug 113464 (authors: rniwa@webkit.org and tonyg@chromium.org) The commit-queue is continuing to process your patch.
Comment on attachment 195966 [details] Patch Clearing flags on attachment: 195966 Committed r147327: <http://trac.webkit.org/changeset/147327>
All reviewed patches have been landed. Closing bug.