can't View | HTML Source on page with <iframe> tag




18 years ago
12 years ago


(Reporter: sujay, Unassigned)


(Depends on: 1 bug)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: [html], URL)



18 years ago
using 3/27 build of netscape

1) launch netscape
2) jump to the URL above (this page has the <iframe> tag)
3) File | Edit Page
4) View | HTML Source(in composer)

it doesn't work.

workaround is to click on HTML source tab on bottom toolbar.

Comment 1

18 years ago
*** Bug 73800 has been marked as a duplicate of this bug. ***

Comment 2

18 years ago
using the build from 2001032904 on win98, when the file is initially 
brought into the editor, focus is not set in the document, once the 
focus is set, selecting View|Source works fine

Simon, didn't you do some wirk with frame/iframe?
Assignee: beppe → sfraser
Priority: -- → P3
Whiteboard: [html]
Target Milestone: --- → mozilla1.0

Comment 3

18 years ago
Editor does not currently behave correctly on pages with <iframe> tags; we should 
block these the way we do with framesets.

This will work after embedding stuff lands.
Simon Fraser wrote:

> Editor does not currently behave correctly on pages with <iframe> tags;
> we should block these the way we do with framesets.

Surely iframe properties (such as height, width and src) should have their own
property editor, with the additional option to edit the referred document in its
own window.


18 years ago
Depends on: 14156

Comment 5

18 years ago
In regards to this issue I have found that if you use the file|edit page command 
I can view the source with no problem, but if I select all on a page with 
Iframes and copy it into a new composer page, I get the error message of:

"Composer cannot edit HTML framesets, or pages with inline frames. For 
framesets, try editing the page for each frame separately. For pages with 
Iframes, save a copy of the page and remove the <iframe> tag."

This was done on win98se with QArev:2001090303

URL used:

Step used:
1. open website
2. used the File|Edit page command
3. change from normal to source to tag to preview and back again
4. back to website in browser
5. select all and copy
6. open new composer window
7. paste in website
8. change from normal to source to preview to tag and back
9. should get error message
9. should get error message

Comment 6

18 years ago
Using M0.9.4 downloaded on September 14 2001. Bulid id: 20010913
This bug still exists, I did the following to reproduce it and it crashed Mozilla:

1. Visit
2. Click View Source
3. In Source window, type Ctrl+E
4. Page opens in Composer but complains about inability to edit pages with
<iframe> tag and then crashes Mozilla

Comment 7

18 years ago
yep, confirmed the crash on my NT 0917 branch :
Stack :
Stack Trace

[d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 4610] 
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 5998] 
[d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 5771] 
PL_HandleEvent [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 591] 
PL_ProcessPendingEvents [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, 
line 524] 
_md_EventReceiverProc [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 

Comment 8

17 years ago
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 
(you can query for this string to delete spam or retrieve the list of bugs I've 
Target Milestone: mozilla1.0 → mozilla1.0.1

Comment 9

17 years ago
removing myself from the cc list

Comment 10

17 years ago
Pre-sabbatical bug triage.
Target Milestone: mozilla1.0.1 → mozilla1.2alpha

Comment 11

17 years ago
Typing in the URL address showed a "The Page Cannot Be Displayed" Error.  Keep 
checking to see if this still exist.


16 years ago
Target Milestone: mozilla1.2alpha → mozilla1.5alpha

Comment 12

15 years ago
User Agent:
Mozilla 1.7
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616

Opened the URL and tried to edit the
*Can* edit the page. There is *no* crash.
Reported Bug:
  A crash occurs when editing a page with an <iframe> element
Observed result:
  No crash occurs.


14 years ago
Assignee: sfraser_bugs → mozeditor
QA Contact: sujay → bugzilla
QA Contact: bugzilla → editor
Assignee: mozeditor → nobody
You need to log in before you can comment on or make changes to this bug.