Closed Bug 1650107 Opened 4 years ago Closed 4 years ago

Pressing F1 on CSS property leads to 404 page

Categories

(DevTools :: Inspector, defect, P1)

79 Branch
defect

Tracking

(firefox80 fixed)

RESOLVED FIXED
Firefox 80
Tracking Status
firefox80 --- fixed

People

(Reporter: mbudde, Assigned: rcaliman)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0

Steps to reproduce:

Press F1 on the 'will-change' property in the 'Computed' tab in the Inspector.

Actual results:

DevTools opens the URL 'https://developer.mozilla.org/CSS/will-change' which currently gives a 404 error page.

For most CSS properties there are redirects set up on MDN, e.g. https://developer.mozilla.org/CSS/background redirects to https://developer.mozilla.org/en-US/docs/Web/CSS/background.

Newer properties do not seem to have such redirects set up. Examples: 'will-change', 'line-break', 'justify-self', 'justify-items'.

Expected results:

I would expect DevTools to open the URL 'https://developer.mozilla.org/docs/Web/CSS/will-change'.

The URL is specified here in the code: https://github.com/mozilla/gecko-dev/blob/c350ad5bd6718e368dccba0e559493cb7d8e8230/devtools/client/inspector/computed/computed.js#L936

The URL I would expect is used other places in the code, for instance here: https://github.com/mozilla/gecko-dev/blob/5c78a8e3de57fac8b966eabee4bbbbecceb89e90/devtools/client/shared/widgets/tooltip/inactive-css-tooltip-helper.js#L86

Thank you for filing the issue and for pointing to the fix!
Indeed, the URL needs to be updated.

Assignee: nobody → rcaliman
Severity: -- → S3
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P1
Pushed by rcaliman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6d0c5d0f97e2
Update MDN base link in Computed panel. r=gl
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
QA Whiteboard: [qa-80b-p2]
Component: Inspector: Computed → Inspector
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: