Opened 7 years ago

Closed 6 years ago

#17118 closed defect (fixed)

[patch] [cla] Workaround for IE source map parsing issues

Reported by: Thomas Bachem Owned by: Rawld Gill
Priority: undecided Milestone: 1.9.3
Component: BuildSystem Version: 1.9.0
Keywords: Cc:
Blocked By: Blocking:

Description

Internet Explorer (all versions) has problems with parsing source map comments and throws "foo is undefined" errors, see http://bugs.jquery.com/ticket/13274 for a detailed discussion. I encounter these errors even when not using "@cc_on" statements anywhere.

The current workaround is to wrap the source map reference with flowerbox comments on new lines, e.g.:

/*
//@ sourceMappingURL=foo.js.map
*/

Attachments (1)

SourcemapIeCcFix.patch (1.4 KB) - added by Thomas Bachem 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Thomas Bachem

Attachment: SourcemapIeCcFix.patch added

comment:1 Changed 7 years ago by darth

Please see https://bugs.dojotoolkit.org/ticket/17260 which is a spec change to help IE issue

comment:2 Changed 6 years ago by Colin Snover

Milestone: tbd1.9.3
Resolution: fixed
Status: newclosed

This was resolved already.

Note: See TracTickets for help on using tickets.