New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 652451 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit 29 days ago
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Mapping network HTML to file system HTML does not work

Reported by prashpa...@gmail.com, Oct 3 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2879.0 Safari/537.36

Steps to reproduce the problem:
1. With Workspace folder already dropped, load up an app. 
2. Open index on the sources panel. DevTools suggest to map network resource. 
3. Right click on index and try to map it to local index.

What is the expected behavior?
Mapping is setup for index, together with rest of the assets required by the index.

What went wrong?
Nothing happens. DevTools keep suggesting to map network resource.

Did this work before? Yes 

Chrome version: 55.0.2879.0  Channel: canary
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 23.0 r0
 
Cc: krajshree@chromium.org
Labels: Needs-Feedback
prashpal09@ - Could you please provide a sample file or folder to test this issue.
@krajshree

Here you go

1. Extract files
2. cd workspace_bug_sample
3. npm i
4. npm start
5. Go to http://localhost:3000
6. Drag workspace_bug_sample folder to sources panel
7. Try mapping (index) to local index.html

Works on stable build.
Fails on canary build.
workspace_bug_sample.zip
4.7 KB Download
Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)
Indeed.

On stable, mapping (index) to file system's index.html results in the incorrect mapping (as on screenshot). Chrome Stable accidentally had this working.

A workaround in Canary would be navigating page to localhost:3000/index.html. This will make main resource to have a proper name - index.html instead of (index), and mappings will work correctly.

We're working on a new mapping system which hopefully will address this and many other problems, stay tuned!
mapping-stable.png
24.6 KB View Download
@lushnikov The workaround will definitely do for now. Thanks!
Thanks for the heads-up, closing this for now
Status: WontFix (was: Assigned)

Sign in to add a comment