Bug 124685 - Web Inspector: assertion when reloading page after selecting resource
Summary: Web Inspector: assertion when reloading page after selecting resource
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-11-20 15:53 PST by Brian Burg
Modified: 2016-12-13 15:33 PST (History)
2 users (show)

See Also:


Attachments
stack trace from 2nd level inspector (36.07 KB, image/png)
2013-11-20 15:54 PST, Brian Burg
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burg 2013-11-20 15:53:30 PST
Stack trace attached (can't copy it out of console.. :()

Steps to reproduce:

1. Open a single frame webpage
2. Open web inspector
3. Select any resource in the resources sidebar panel, or switch away from the DOM tree content view.
4. Reload the page


This doesn't happen if reloading when the main frame resource's DOM tree content view is displayed, or if selecting a resource and navigating to a different page. I think there is something causing the same content view to be entered into the backForwardList twice, or more than one content view thinks it is displayed at the same time.

A brute force fix is to simply hide all visible content views before disassociating from them (rather than only hiding the content view associated with the 'current' history entry), but this feels like ignoring the root cause.
Comment 1 Brian Burg 2013-11-20 15:54:01 PST
Created attachment 217489 [details]
stack trace from 2nd level inspector
Comment 2 Brian Burg 2013-11-20 16:23:24 PST
This seems related to the fact that there are nested content view containers and histories. However it's not clear why one list has two visible entries, as the nested histories don't touch each other.
Comment 3 Antoine Quint 2013-11-21 01:47:32 PST
(In reply to comment #0)
> Stack trace attached (can't copy it out of console.. :()

Hmm, this should work by either selecting the row and Cmd+C or drag to select the text.
Comment 4 Radar WebKit Bug Importer 2014-02-14 09:52:24 PST
<rdar://problem/16070881>