New issue
Advanced search Search tips

Issue 810403 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

DevTools: Sources tab is empty

Reported by asby...@googlemail.com, Feb 8 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36

Steps to reproduce the problem:
1. Load local HTML file
2. Open Developer Tools
3. Click Sources and select loaded HTML file

What is the expected behavior?
Source-Code is displayed in tab

What went wrong?
tab is blank

Did this work before? N/A 

Chrome version: 62.0.3202.62  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Flash Player disabled

When debugging Developer Tools with CTRL+Shift+I:
inspector.js:405 Uncaught (in promise) TypeError: Cannot read property 'indexOf' of null
    at Object.TextUtils.isMinified (inspector.js:405)
    at Sources.JavaScriptSourceFrame._detectMinified (sources_module.js:505)
    at Sources.JavaScriptSourceFrame.onTextEditorContentSet (sources_module.js:503)
    at Sources.JavaScriptSourceFrame.setContent (source_frame_module.js:194)
    at <anonymous>

fields of isMinifed: text is null, lastPosition is 0

going upward to the callee of the isMinifed-method:

this.uiSourceCode().
_content:null
_contentLoaded:true
_contentType:Common.ResourceType
_category:Common.ResourceCategory {title: "Documents", shortTitle: "Doc"}
_isTextType:true
_name:"document"
 
blank.PNG
20.7 KB View Download
stacktrace.PNG
83.5 KB View Download

Comment 2 by ajha@chromium.org, Feb 9 2018

Components: Platform>DevTools
Labels: Needs-Milestone
Awesome. thanks a bunch for debugging this. :)

Turns out it was fixed a bit ago, but with the same fix you'd expect. :)
https://chromium-review.googlesource.com/c/chromium/src/+/758746


Screen Shot 2018-02-13 at 5.45.59 PM.png
115 KB View Download
Status: WontFix (was: Unconfirmed)

Sign in to add a comment