View Selection Source on "Problem loading page"




12 years ago
10 years ago


(Reporter: kilowatt, Unassigned)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: CLOSEME 2007-07-10, URL)



12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060801 BonEcho/2.0b1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060801 BonEcho/2.0b1

When you try to open page that does not exist, browser shows "Problem loading page", if you try to view page source, it opens window with the same error message, but if you select all the "Problem loading page" content by pressing Ctrl+A, and select View Selection Source, you get the source of the "Problem loading page".

Reproducible: Always

Steps to Reproduce:
1. Go to
2. On the "Problem loading page" press Ctrl+A
3. Select "View Selection Source" from the context menu

Actual Results:  
Shows source of the "Problem loading page"

Expected Results:  
Show "Problem loading page" as it happens when you select View Page Source

Comment 1

12 years ago
I don't think this is a bug. View selection source is not the same as view page source.

What you're seeing at the url is automatically generated from 'nothing'. So view source shows that: nothing. There is nothing at that url. Please read what a url is, and you'll understand why it is logical that if there is nothing at a url, mozilla should display nothing.

If you select parts of what's shown on the screen, mozilla will show the source (it calls it "dom source") that forms the stuff you've selected as mozilla displays it.

There are many places in mozilla where the view page source doesn't show the code for what's shown on the page: for example, the feed preview page in the future firefox 2, where the feed undergoes processing before appearing on the page. And this is quite correct. Another example would be that a page's source doesn't often include style information, which may then taken from a separate css file: yet style often strongly affects how the information appears.

Comment 2

12 years ago
Well, you are right, but anyway DOM source is not what I expected to see under "View Selection Source". It is more likely that the user assumes to see page selection source, not the DOM source. Maybe it should be stated in the context menu, that you are about to see DOM selection source?

Comment 3

12 years ago
WFM with
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a6pre) Gecko/20070618 Minefield/3.0a6pre
Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070618 BonEcho/
Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070618 Firefox/
- Server not found message
- Ctrl-U - Server not found message
- Ctrl-A Ctrl-U - Server not found message

Maxim, can you still see the bug with current builds (<>, <>)?
If not, please resolve this bug as WORKSFORME.
Whiteboard: CLOSEME 2007-07-10
Reporter or anyone else, if you still see this problem with the latest Firefox 2 and/or Firefox 3/Trunk Version please reopen this bug.
Closing as WORKSFORME.
Last Resolved: 11 years ago
Resolution: --- → WORKSFORME


10 years ago
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.