HACKER Q&A
📣 heigh

I found an obscure bug with Firefox. Is it worth reporting?


It’s really quite strange but when you use a “number” input field in Firefox, then validate it with RegEx, it totally flips out.

I can provide examples but I guess my question is, is it worth reporting these? Or will it just never get fixed?

Edit: spellcheck


  👤 toast0 Accepted Answer ✓
IMHO, it's worth reporting, but temper your expectations of it being fixed. I've seen clearly written, easily reproduced, possibly easily fixed bugs linger in Bugzilla for decades. At Mozilla and other organizations using bugzilla and other trackers.

Spend a day turning this into a bug report that's up to the standards of Mozilla; maybe another day trying to track down the behavior and suggest a patch. File the bug, and maybe the patch, and then implement a work around and go on with your life. Sure, watch for replies and try to respond in a timely fashion, but don't expect anything.

That said, I've put in a bugzilla bug and it got fixed in a reasonable time and then pushed in the next eligible release; https://bugzilla.mozilla.org/show_bug.cgi?id=1740856 but it was widely applicable, and the observed behavior was clearly broken, but details were hard to observe for many (which is why effects from the bug were observed but not diagnosed in related bugs)


👤 runjake
I am not super good at this and only using half my brain, but I did my best attempt to convert this to vanilla JavaScript and get seemingly odd results.

    
    
    
    
    
Someone educate me, especially if I am off base or the code is inherently incorrect.

👤 42lux
If you are going to report it like you wrote this post, you don't need to report it.

👤 rossng
Yes, you should report it. I've reported several Firefox bugs and the tickets often spring to life suddenly after several years of sitting there unaddressed. It makes life much easier for the developers if you include a clean, easy-to-reproduce test case.

👤 KomoD
Honestly, you could have spent the time you used to write this post and comments on making the report instead.

You basically wrote the entire bug report here, instead of doing it on Bugzilla.