Closed Bug 1691755 Opened 3 years ago Closed 3 years ago

View Source page missing context menu items("Go to Line..." "Wrap Long Lines", "Syntax Highlighting")

Categories

(Toolkit :: View Source, defect)

Firefox 85
Desktop
Windows 10
defect

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox85 --- wontfix
firefox86 + wontfix
firefox87 --- fixed

People

(Reporter: alice0775, Assigned: saschanaz)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(1 file)

[Tracking Requested - why for this release]: broken view page source feature,

Reproducible always:

Steps to Reproduce:

  1. Open any web page
  2. Right click on the page, Choose "View Page Source" so that the Page Source will open in a tab
  3. Right click on the source page

OR

Steps to Reproduce:

  1. Open any web page which has some errors/warnings of js
  2. Open "Browser Console"
  3. Click on file name in the console so that the file will open in a tab
  4. Right click on the source page

Actual Results:
missing context menu items("Go to Line..." "Wrap Long Lines", "Syntax Highlighting")

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=840349cabe2f7e724539ab1b7c50a992f77af0d5&tochange=4ff8babaa7740957fa11b95551c556652c4d0735

Component: View Source → DOM: Core & HTML
Product: Toolkit → Core

Workaround:
Setting dom.menuitem.enabled to true

Has Regression Range: --- → yes
Has STR: --- → yes
Component: DOM: Core & HTML → View Source
Product: Core → Toolkit

Kagami, are you planning to fix this before it hits release? It's tracking 86 release and we're running out of betas.

Flags: needinfo?(krosylight)

I'm not, but I can try.

Flags: needinfo?(krosylight)
Assignee: nobody → krosylight
Blocks: 1692452
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d8095eaef5dc
Move view-source context menu items to nsContextMenu r=Gijs

Oh, so it turns out there actually is a test. I'll fix it next week.

Flags: needinfo?(krosylight)
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b472dea7eb0c
Move view-source context menu items to nsContextMenu r=Gijs

BrowserTestUtils.synthesizeMouseAtCenter is failing 🤔 (Intermittently, because it was successful in https://treeherder.mozilla.org/jobs?repo=try&revision=24120059e9f0b26e63749446e128d3e730f19f73)

Flags: needinfo?(krosylight)
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/008bb6521b86
Move view-source context menu items to nsContextMenu r=Gijs

Are we okay with the wontfix for 86? My understanding is that it's not?

Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Kagami :saschanaz from comment #13)

Are we okay with the wontfix for 86? My understanding is that it's not?

Well, it's not great, but we built 86.0 release candidates already, so I imagine it got marked wontfix because we're not planning on additional rc builds before we release next week. You can see the detailed release calendar from the link on https://wiki.mozilla.org/Release_Management/Calendar . Ryan, do you know what the state is there?

I only realized this was broken last week (and, apparently, so did Alice), or this would have been flagged sooner, but it may not be avoidable to ship the regression at this point, unless we think this on its own qualifies for an rc respin, or unless something else comes up that trips an rc build with which we can take this as a ride-along (and we're confident about the stability of the patch).

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(ryanvm)

This was discussed during regression triage today and the decision to wontfix was based on where we were in the release cycle (as you noted, we've already built the 86 RC and don't have any current plans to respin), the fact that this wasn't a new regression in 86, and that the patch had already landed and been backed out multiple times. If you feel strongly that the decision should be reconsidered, you can discuss with Pascal.

Flags: needinfo?(ryanvm)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Regressions: 1764683
No longer regressions: 1764683
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: