Coder Social home page Coder Social logo

Comments (7)

gregtatum avatar gregtatum commented on May 22, 2024

This reminds me that some people on the tracking protection and privacy side were interested in the performance overhead of scripts by domain. This is sort of in that direction.

from profiler.

gregtatum avatar gregtatum commented on May 22, 2024

All of my profile's ResourceTables have empty icon columns. Does this need to be added in the Gecko Profiler or on the add-on? Or do we need to fetch those manually and shove them into the profile?

from profiler.

mstange avatar mstange commented on May 22, 2024

For JS from add-ons, we need help from the Gecko Profiler add-on to capture add-on icons. We also need it to capture the relevant add-on information to know what URLs belong to to what add-on.
For "webhosts", it's trickier. The old cleopatra would just do blindly assume <host>/favicon.ico had a relevant favicon, if I recall correctly.

from profiler.

julienw avatar julienw commented on May 22, 2024

The old cleopatra would just do blindly assume /favicon.ico had a relevant favicon, if I recall correctly.

I've looked at some websites today, some of them have nothing at <hostname>/favicon.ico but instead specifies the icon through a<link rel="shortcut icon"> element. Others have different icons.

So here are some examples FTR:

Examples without favicon:

Examples where there is a favicon:

Examples were there is a different worst favicon than the shortcut icon:

  • twitter
  • deezer

from profiler.

gregtatum avatar gregtatum commented on May 22, 2024

Seems like the easiest approach would be to do the naive thing by attempting to fetch the file, if it's found use it, and see if people complain when certain favicons don't show up.

from profiler.

julienw avatar julienw commented on May 22, 2024

Yeah that's my approach too.

from profiler.

julienw avatar julienw commented on May 22, 2024

So there are 6 PR with 6 different approaches. They come from combining these characteristics:

  • icons in a separate fixed columns or next to the function name
  • use <img> or div with background-image. The former seems to hit a bug in Firefox that is difficult to reproduce with simpler testcases, where the image is always refreshed.
  • use redux or not

from profiler.

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.