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.
<rdar://problem/26642973>
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.
*** This bug has been marked as a duplicate of bug 158069 ***