Open Bug 1555841 Opened 6 years ago Updated 2 years ago

URLs in JavaScript scripts are not clickable

Categories

(Toolkit :: View Source, defect, P3)

67 Branch
defect

Tracking

()

People

(Reporter: atalanttore, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

  1. Go to a page with URLs in JavaScript scripts
  2. Open "View Source"
  3. Try to click on an URL within a JavaScript script

Actual results:

The URLs in JavaScript scripts are not clickable at all.

Expected results:

The URLs in JavaScript scripts are just as clickable as HTML links.

Component: Untriaged → View Source
Product: Firefox → Toolkit

Thanks for the report!
We can reproduce this on our machines.

Honza

Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true
Priority: -- → P3

Great!

Below is the code of another sample HTML file that shows the problem.

<!doctype html>

<html lang="en">
<head>
<meta charset="utf-8">

<title>Title</title>
</head>

<body>

<script type="text/javascript">
// <![CDATA[
loadSVG('https://www.iana.org/_img/2013.1/iana-logo-header.svg');
// ]]>
</script>

</body>
</html>


Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.