Coder Social home page Coder Social logo

Comments (10)

dreamofabear avatar dreamofabear commented on June 1, 2024

One example: ampproject/amphtml#16069 (comment)

from error-tracker.

erwinmombay avatar erwinmombay commented on June 1, 2024

i believe this is a bug in closure compilers sourcemap (think justin mentioned it a while ago)

ill take the issue as part of upgrading closure

from error-tracker.

jridgewell avatar jridgewell commented on June 1, 2024

Yup, the issue here is CC is producing bad sourcemaps that don't correctly map back to the original code.

from error-tracker.

dreamofabear avatar dreamofabear commented on June 1, 2024

Couldn't find anything obvious in their issues queue or in g/js-compiler-users. It'd be great if we can follow up with their team with a repro case.

from error-tracker.

dreamofabear avatar dreamofabear commented on June 1, 2024

Uno mas: ampproject/amphtml#16218 (comment)

from error-tracker.

dreamofabear avatar dreamofabear commented on June 1, 2024

Manually deobfuscating traces will be terrible when public property renaming is enabled with 1-pass.

Malte suggests that this is caused by our post-compile transforms e.g. prepending AMP_CONFIG, replacing the RTV string (AMP_CONFIG change might be fixable by adding \n afterwards). Kris suggested using https://github.com/Rich-Harris/magic-string.

from error-tracker.

jridgewell avatar jridgewell commented on June 1, 2024

Oh man, I hadn't even thought about the AMP_CONFIG being prepended.

from error-tracker.

cramforce avatar cramforce commented on June 1, 2024

I submitted one fix, but there are at least two more issues to address in ampproject/amphtml#17061

from error-tracker.

jridgewell avatar jridgewell commented on June 1, 2024

ampproject/amphtml#17061 is now fixed. Need to wait 3 weeks for the new cuts to include the corrected source maps.

We'll be able to deploy #55 once ampproject/amphtml#17062 hits production next week.

from error-tracker.

dreamofabear avatar dreamofabear commented on June 1, 2024

Looks like ampproject/amphtml#17061 was insufficient and this requires more investigation.

from error-tracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.