Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

FireRainbow breaks Firebugs 'Add Watch'

Abierto
#6 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
devtools

Línea de trabajo

Comienza con la reproducción HTML proporcionada y el punto de entrada Add Watch del Firebug Script Panel. Reproduce el cambio de la selección a "spa" en el Watch Panel y, a continuación, sigue cómo el resaltado de FireRainbow afecta al texto seleccionado. Se considera terminado cuando la expresión resaltada se añade sistemáticamente al Watch Panel sin un error de sintaxis.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hi Antonin

I have had a problem in Firebug for a while now that if I highlight text
in the Script Panel, right-click and 'Add Watch' the wrong text is added
... I have just discovered that this issue is caused by
FireRainbow. Here is a small test case so that you can see what is happening: ================= <html> <head> <script> function doit() { var s = 'Just some dummy Text'; debugger; } </script> </head> <body onload="doit();"> 1. Activate Firebug and refresh the page to trigger debugging 2. When debugging starts, highlight the 's' in s += 'Just some dummy
Text'; 3. Right-click the highlighted 's' and choose 'Add Watch' 4. If the correct text was added to the Watch Tab then right-click
the text and add watch again I just get a '<' symbol added to the watch panel and a syntax
error ... strangely, it sometimes works but very rarely. </body> </html> ================= What steps will reproduce the problem? 1. Install FireRainbow and restart Firefox 2. Load the test file 3. Activate Firebug and refresh the page to trigger debugging 4. When debugging starts, highlight the 's' in s += 'Just some dummy
Text'; 5. Right-click the highlighted 's' and choose 'Add Watch' 6. If the correct text was added to the Watch Tab then right-click the
text and add watch again What is the expected output? I expect to see the highlighted text added to the Watch Panel What do you see instead? I just get "spa" added to the watch panel and syntax error. Additional info: This only happens when Firebug is installed ================= Thanks for your hard work. Mike Ratcliffe
Lenguaje dominante
JavaScript
Estrellas
58
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de binaryage/firerainbow

Todos los issues de binaryage/firerainbow

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.