Bug 158402 - Web Inspector: main resource not shown in Debugger tab's text editor when page is reloaded
Summary: Web Inspector: main resource not shown in Debugger tab's text editor when pag...
Status: RESOLVED DUPLICATE of bug 158069
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-06-05 15:09 PDT by BJ Burg
Modified: 2016-06-07 10:28 PDT (History)
7 users (show)

See Also:


Attachments
Test case (458 bytes, text/html)
2016-06-05 15:09 PDT, BJ Burg
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description BJ Burg 2016-06-05 15:09:17 PDT
Created attachment 280562 [details]
Test case

STEPS TO REPRODUCE:

1. Open the attached page
2. Open the debugger or resources tab
3. Reload the page
4. The main resource tree element in Sources outline should be selected

EXPECTED:

The main resource's HTML should be displayed in the text editor

ACTUAL:

It's blank.

NOTES:

 - If you click away to another resource and switch back, the text editor gets populated.
 - If there are other resources in the debugger sidebar like injected scripts, it only reproduces about 20% of the time.
 - It reproduces 100% of the time in the Resources tab.
Comment 1 Radar WebKit Bug Importer 2016-06-05 15:09:32 PDT
<rdar://problem/26642973>
Comment 2 Joseph Pecoraro 2016-06-06 01:12:11 PDT
I'm pretty sure this is a dup of the bug you just filed: (bug 158069)
https://bugs.webkit.org/show_bug.cgi?id=158069

My suspect is SourceCodeTextEditor thinking its visible in two tabs.
Comment 3 Timothy Hatcher 2016-06-07 10:28:17 PDT

*** This bug has been marked as a duplicate of bug 158069 ***