Open Bug 1875625 Opened 1 year ago Updated 11 months ago

Can't view the page source of a link opened in a new tab

Categories

(Fenix :: Browser Engine, defect)

All
Android
defect

Tracking

(Not tracked)

REOPENED

People

(Reporter: csheany, Unassigned)

References

Details

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

Steps to reproduce:

Open this bug
Open https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly in a new tab
Add view-source: to the url

Actual results:

Cannot complete request

Expected results:

The page source is displayed

Works for me just fine in Fenix 123.0 (nightly)

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME

Thank you for your response.

Did you you open a new tab and then open the link?

Or

Did you long press the link and open in it a new tab from the context menu?

Flags: needinfo?(dveditz)

This is a valid bug.

Step to reproduce:

  1. Open a tab , load url "https://mozilla.org"
  2. Click "Open Link in new tab" on any clickable item in the page , for example "Get Firefox"
  3. Switch to the new opened tab , the url is "https://www.mozilla.org/en-US/firefox/new/"
  4. Append "view-source:" to the url ,and load
  5. The error page "Cannot complete the request" shows.

The error message from about:debugging

Security Error: Content at https://www.mozilla.org/en-US/ may not load or link to view-source:https://www.mozilla.org/en-US/firefox/new/. 

From the error message , it looks similar with bug 1863662

Status: RESOLVED → REOPENED
Ever confirmed: true
Flags: needinfo?(dveditz)
Resolution: WORKSFORME → ---
See Also: → 1863662

The severity field is not set for this bug.
:tthibaud, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(tthibaud)
Component: General → Browser Engine
Severity: -- → S3
Flags: needinfo?(tthibaud)
You need to log in before you can comment on or make changes to this bug.