| Summary: | Web Inspector: Console Errors during provisional document loads get lost with "Clear Log on Reload" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
| Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
Joseph Pecoraro
2015-03-11 17:44:46 PDT
Created attachment 248470 [details]
[PATCH] Proposed Fix
I tried an approach using a marker ConsoleSession in the JavaScriptLogViewController. It quickly got more complex then this, and being yet-another-Session had styling issues that I couldn't figure out. This approach is far simpler and gives expected behavior with very few drawbacks given the rare cases it would occur.
Comment on attachment 248470 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=248470&action=review > Source/WebInspectorUI/ChangeLog:11 > + Detect a provisional load has started to start save messages that come in at this time. Whoa. Nice fix. > Source/WebInspectorUI/UserInterface/Views/LogContentView.js:33 > + // FIXME: Try to use a marker, instead of a list of messages that get re-added. Yeah, that would be good. Maybe the console rework can fix this. Comment on attachment 248470 [details] [PATCH] Proposed Fix Clearing flags on attachment: 248470 Committed r181437: <http://trac.webkit.org/changeset/181437> All reviewed patches have been landed. Closing bug. |