Coder Social home page Coder Social logo

Comments (7)

yungcheng avatar yungcheng commented on June 16, 2024

I thought Dave wrote a Chrome dev tool formatter for proxy, or is that for XProxy (compat version) only?

from lwc.

davidturissini avatar davidturissini commented on June 16, 2024

@yungcheng the formatter uses devtoolsFormatters that Chrome exposes on the window. I'm not sure what browser support for this is. One thing to keep in mind about adding console.logProxys, is that hovering over the values in the inspector will still show the Proxy, not the formatted value. This is not an issue with devtoolsFormatters

Open browser devtoolsFormatters issues:
firefox: firefox-devtools/extension-examples#9
webkit: https://bugs.webkit.org/show_bug.cgi?id=142656

from lwc.

caridy avatar caridy commented on June 16, 2024

@davidturissini can you check if there is a ticket open for safari and edge, and if not, opening a new feature request so we can track those? I have already talk to apple and edge folks about the need for this.

from lwc.

davidturissini avatar davidturissini commented on June 16, 2024

@caridy I didn't find any open issues in Edge. I've updated the list to include the webkit issue.

from lwc.

caridy avatar caridy commented on June 16, 2024

let's open one then, and I can send an email to some folks.

from lwc.

jmsjtu avatar jmsjtu commented on June 16, 2024

We're not planning on working on this now.

from lwc.

nolanlawson avatar nolanlawson commented on June 16, 2024

To clarify: we support the Chrome-specific devtools formatters format – if another standard emerges that has cross-browser support, then we will use that. But in the meantime I can't see a cross-browser solution other than writing a full DevTools extension for all browsers.

from lwc.

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.