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

Issue 616770 link

Starred by 3 users

Issue metadata

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



Sign in to add a comment

Source Maps doesn't work if use the JavaScript file in top window and iframe

Reported by uspensk...@gmail.com, Jun 2 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Steps to reproduce the problem:
1. Create HTML-page with minified JS script and iframe which includes the same script.
2. Debug the minified JavaScript in top window - show unminified JavaScript.
3. Debug the minified JavaScript in iframe - show minified JavaScript.

May be contrary: iframe - unminified, window - minified.
Similar behavior for the two iframes.

What is the expected behavior?
Always show unminified JavaScript.

What went wrong?
Show minified JavaScript even when Source Map found.

Did this work before? N/A 

Chrome version: 51.0.2704.63 (Официальная сборка) (64 бит)  Channel: n/a
OS Version: openSUSE 13.2 (Harlequin) (x86_64) 64-бит
Flash Version: Shockwave Flash 11.2 r202

Minificator - UglifyJS2
uglifyjs test.js -o test.min.js --source-map test.min.js.map
 
forChrome.zip
2.8 KB Download

Comment 1 by d...@dandoes.net, Jun 2 2016

This happens with CSS sourcemaps as well. See plunker demo:

http://plnkr.co/edit/htFjDVeT7h3XYqbR8u6n?p=preview

Since Plunker uses iframes, you'll need to click the blue "expand" icon in the upper right of the preview pane so it opens in a new window and provides a proper demonstration.
Labels: -OS-Linux OS-All
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)
Owner: lushnikov@chromium.org
Status: WontFix (was: Assigned)
Your scenario works for me on Chrome Canary 57.0.2945.3, as well as on Chrome 54.0.2840.98. Closing this for now, let me know if it doesn't work

Sign in to add a comment