Closed Bug 273739 Opened 20 years ago Closed 20 years ago

View Selection Source doesn't show hex and HTML characters but the parsed characters

Categories

(Toolkit :: View Source, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 236465

People

(Reporter: adam, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

When selecting View -> Page Source from the main menu (or from the right-click
menu WITHOUT selecting any text), the View Source screen will show the coded hex
and HTML characters, ie. t e
Whereas if you were to select the text on the page and right-click to bring up
the menu and then select View Selection Source it would bring up the parsed
characters, ie. t e

http://www.dogtired.org/bug.html

Reproducible: Always
Steps to Reproduce:
1.Right click on page and view source.  Note what it looks like.
2.Close view source window
3.Select the text on the page and right-click and View Selection Source.  Note
it is different than previous view source.
Actual Results:  
<html><head>
	<title>Bug</title></head>


<body>
Right click on page and view source.<br>
Select the following text and right-click and View Selection Source:
test@mozilla.org
</body></html>

Expected Results:  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>Bug</title>
</head>

<body>
Right click on page and view source.<br>
Select the following text and right-click and View Selection Source:
&#x74;&#101;&#115;&#116;&#x40;mo&#x7A;&#105;l&#x6C;&#97;.&#x6F;rg

</body>
</html>

theme is the default theme
see bug 164906
Perhaps something akin to bug 190947 should be done for firefox as well, change
the view partial source window title to give a hint that this is not original
source. Apparently that's covered by bug 236465.

*** This bug has been marked as a duplicate of 236465 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.