Open
Bug 1440338
Opened 3 years ago
Updated 2 years ago
bsmedberg's Firefox Regression Range Link Maker is not functional
Categories
(Web Compatibility :: Desktop, defect, P3)
Web Compatibility
Desktop
Tracking
(firefox-esr52 unaffected, firefox58 unaffected, firefox59 affected, firefox60 affected)
NEW
| Tracking | Status | |
|---|---|---|
| firefox-esr52 | --- | unaffected |
| firefox58 | --- | unaffected |
| firefox59 | --- | affected |
| firefox60 | --- | affected |
People
(Reporter: ccomorasu, Unassigned)
References
()
Details
(Keywords: regression, webcompat:site-wait, Whiteboard: [sitewait])
[Affected versions]: Windows 10 x64 Ubuntu 14.04 LTS x64 mac OS X 10.12.6 [Affected platforms]: Fx 59.0b11 Fx 60.0a1 [Steps to reproduce]: 1. Launch Firefox. 2. Go to: http://bsmedberg.github.io/firefox-regression-range-finder/# . 3. Enter a last good build ID and first bad build ID, then click on "Generate Link". [Expected result]: The website generates a pushlog. [Actual result]: The "Generate Link" button is not functional. [Regression range]: Pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=38614ffd21d195add38b50056b89d5f99b53baee&tochange=ce14f861f1a8139c7e94b7aa171ec6b0d3808cbf
| Reporter | ||
Updated•3 years ago
|
Has Regression Range: --- → yes
Has STR: --- → yes
Comment 1•3 years ago
|
||
Thanks for the report! Though, just a heads-up: "Layout: Form Controls" is typically about *layout* issues with form controls (i.e. the controls not *rendering* properly). In this case, the reported issue seems to be that the page doesn't do anything when you click the button -- and that typically indicates a JS/DOM issue, with whatever script the button is supposed to kick off. So, this is in the wrong component right now. Anyway -- in this case, when I click the button, I see this in my error console: > ReferenceError: generateLink is not defined bsmedberg.github.io:1:1 It looks like that function lives in a JS file, which this page imports like so: > <script src="regression-range.js" type="application/x-javascript;version=1.8"></script> Given that and given your reported regression range, I'd bet this is a regression from bug 1428745 ("Remove support for version parameter from script loader"). Baku, could you take a look?
Blocks: 1428745
Flags: needinfo?(amarchesini)
Comment 2•3 years ago
|
||
Yeah, looks like that bug mentions having added the following note to MDN: > Note: in Firefox you could specify the version of JavaScript contained in a <script> element by including a non-standard version parameter inside the type attribute — for example type="application/javascript;version=1.8". This has been removed in Firefox 59 (see bug 1428745). https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script So this was definitely broken as a result of that bug (intentionally, due to low usage of this feature, it seems). So this is probably a case where the site needs a fix (and it looks like it's forkable). Maybe baku knows what the correct site-fix is? (I'm not sure if the site is depending on that 'type' attribute to enable certain features/etc...) It looks like the site does have a "View/fork me on github" link, so we can presumably suggest changes that way, and I imagine bsmedberg will gladly merge them. :)
Component: Layout: Form Controls → DOM
Summary: Firefox Regression Range Link Maker is not functional → bsmedberg's Firefox Regression Range Link Maker is not functional
Comment 3•3 years ago
|
||
[er, I guess this should really be Tech Evang at this point -- reclassifying again]
Component: DOM → Desktop
Product: Core → Tech Evangelism
Comment 4•3 years ago
|
||
> So this is probably a case where the site needs a fix (and it looks like > it's forkable). Maybe baku knows what the correct site-fix is? The fix is to remove the version param in the type attribute. This: <script src="regression-range.js" type="application/x-javascript;version=1.8"></script> must be: <script src="regression-range.js" type="application/x-javascript"></script> Otherwise the script "regression-range.js" is not executed at all. In bug 1428745 we decided to follow what the spec says and to consider the type attribute value as a mime-type. "application/x-javascript;version=1.8" is not a valid mime-type for JS scripts, so, the whole <script> tag is ignored.
Flags: needinfo?(amarchesini)
Comment 5•3 years ago
|
||
Cool, I'll make that change as a pull request on GitHub, and hopefully that'll fix things. Thanks!
Updated•3 years ago
|
Priority: -- → P3
Whiteboard: [sitewait]
Updated•3 years ago
|
Comment 7•3 years ago
|
||
I just pinged the PR to see if we can nudge a merge here. :) https://github.com/bsmedberg/firefox-regression-range-finder/pull/1/comment#issuecomment-411774646
Updated•3 years ago
|
Keywords: regression
| Assignee | ||
Updated•2 years ago
|
Product: Tech Evangelism → Web Compatibility
Comment 8•2 years ago
|
||
See bug 1547409. Moving webcompat whiteboard tags to keywords.
Keywords: webcompat:site-wait
You need to log in
before you can comment on or make changes to this bug.
Description
•