Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dart2js generates a sourcemap that contains URL's that point outside web directory #13195

Closed
DartBot opened this issue Sep 10, 2013 · 8 comments
Labels
closed-duplicate Closed in favor of an existing report P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js

Comments

@DartBot
Copy link

DartBot commented Sep 10, 2013

This issue was originally filed by bsles...@gmail.com


What steps will reproduce the problem?

  1. Use dart2js to compile Dart code to JavaScript and generate source maps
  2. deploy the web directory to a server (say, App Engine), including the dart source under web/ and the dart.js.map file.
  3. Open the Chrome debugger.

For example, see http://pixelcycle.appspot.com/

On the sources tab, there is a directory named "../../../software/dart/dart-sdk/lib, which doesn't exist on this web server.

It seems there should be a web/sdk symlink similar to the web/packages symlink, and sourcemap URL's to SDK source files should point to that. It's unlikely that people will want to deploy the SDK source to their production website, but this would allow it to work when using a Dev AppEngine instance.

@madsager
Copy link
Contributor

Added Area-Dart2JS, Triaged labels.

@kasperl
Copy link

kasperl commented Sep 18, 2013

Added this to the M7 milestone.

@kasperl
Copy link

kasperl commented Sep 30, 2013

Removed Priority-Unassigned label.
Added Priority-Medium label.

@kasperl
Copy link

kasperl commented Oct 2, 2013

Removed this from the M7 milestone.
Added this to the M8 milestone.

@kasperl
Copy link

kasperl commented Jun 4, 2014

Removed this from the M8 milestone.
Added this to the 1.6 milestone.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the 1.6 milestone.
Added Oldschool-Milestone-1.6 label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-1.6 label.

@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed triaged labels Feb 29, 2016
@sigmundch
Copy link
Member

duplicate of #20259

@sigmundch sigmundch added the closed-duplicate Closed in favor of an existing report label Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js
Projects
None yet
Development

No branches or pull requests

5 participants