Closed
Bug 131343
Opened 22 years ago
Closed 22 years ago
View-source on wyciwyg url fails if document has a meta charset
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
WORKSFORME
mozilla1.0.1
People
(Reporter: bzbarsky, Assigned: radha)
Details
Attachments
(1 file)
406 bytes,
text/html
|
Details |
BUILD: 2002-03-15-08. STEPS TO REPRODUCE: 1) Load attached testcase 2) Click the button 3) Open "view source" EXPECTED RESULTS: See source of the document.written page. Failing that see source of original page ACTUAL RESULTS: The document.written page itself is shown NOTES: The presense of the meta charset causes the charset observer to trigger a reload of the document via nsWebShell::ReloadDocument(). This leads to a call to nsDocShell::LoadHistoryEntry on mOSHE. Unfortunately, the URL in mOSHE is wrong -- is is wyciwyg://0/file:///home/bzbarsky/foo.html instead of view-source:wyciwyg://0/file:///home/bzbarsky/foo.html That is the root cause of the bug, but I'm not sure why mOSHE has the wrong url.
Reporter | ||
Comment 1•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2
Assignee | ||
Updated•22 years ago
|
Target Milestone: mozilla1.2alpha → mozilla1.0.1
Assignee | ||
Comment 2•22 years ago
|
||
When I click on the "View source Please" link, only the original testcase, http://bugzilla.mozilla.org/showattachment.cgi?attach_id=74467 comes around for loading. There is no meta charset detected or no reload done, Nor a view source url loaded.
Reporter | ||
Comment 3•22 years ago
|
||
You are supposed to just view-source at that point, not click on the link... My apologies for the slightly confusing testcase. That said, this now worksforme...
Assignee | ||
Comment 4•22 years ago
|
||
Per new instructions, this indeed works now.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
You need to log in
before you can comment on or make changes to this bug.
Description
•